diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d5e74d0..f7655d48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,10 +41,29 @@ jobs: - uses: coursier/setup-action@main with: - jvm: temurin@17 + jvm: temurin@24 apps: scala-cli - - name: Setup NodeJS v18 LTS + - name: Cache Mill + uses: actions/cache@v4 + with: + path: | + ~/.cache/mill + out/ + key: ${{ runner.os }}-mill-${{ matrix.project }}-${{ hashFiles('build.mill', '**/*.mill') }} + restore-keys: | + ${{ runner.os }}-mill-${{ matrix.project }}- + ${{ runner.os }}-mill- + + - name: Cache Coursier + uses: actions/cache@v4 + with: + path: ~/.cache/coursier + key: ${{ runner.os }}-coursier-${{ hashFiles('build.mill', '**/*.mill') }} + restore-keys: | + ${{ runner.os }}-coursier- + + - name: Setup NodeJS v20 LTS if: matrix.project == 'js' uses: actions/setup-node@v3 with: @@ -57,8 +76,19 @@ jobs: - if: matrix.project == 'js' run: npm install - - if: matrix.project == 'native' - run: sudo apt-get install -y libatlas-base-dev + - name: Cache native dependencies + if: matrix.project == 'native' || matrix.project == 'jvm' + uses: actions/cache@v4 + with: + path: | + /var/cache/apt + /var/lib/apt + key: ${{ runner.os }}-apt-blas-blis-${{ hashFiles('.github/workflows/ci.yml') }} + restore-keys: | + ${{ runner.os }}-apt-blas-blis- + + - if: matrix.project == 'native' || matrix.project == 'jvm' + run: sudo apt-get update && sudo apt-get install -y libatlas-base-dev libblis-dev - name: scalaJSLink if: matrix.project == 'js' @@ -70,7 +100,16 @@ jobs: - name: Test run: ./millw vecxt.${{ matrix.project }}.test + + - name: Test + run: ./millw vecxtensions.${{ matrix.project }}.test + + - name: Test + if: matrix.project == 'jvm' + run: ./millw experiments.test + - name: Doc Gen + if: matrix.project == 'jvm' run: ./millw site.siteGen publish: diff --git a/.gitignore b/.gitignore index f2596f11..6396361f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ metals.sbt .vscode/settings.json sbt-launch.jar .scala-build +.DS_Store # npm node_modules/ diff --git a/experiments/package.mill b/experiments/package.mill index c54185d7..47a2b06e 100644 --- a/experiments/package.mill +++ b/experiments/package.mill @@ -1,26 +1,65 @@ package build.experiments - import mill.*, scalalib.*, publish.* import contrib.jmh.JmhModule // mill benchmark.runJmh vecxt.benchmark.AndBooleanBenchmark -jvmArgs --add-modules=jdk.incubator.vector -rf json -object `package` extends ScalaModule: - // def enableBsp = false - def scalaVersion = build.vecxt.jvm.scalaVersion - override def compileResources = Task { - super.compileResources() ++ resources() - } - def scalacOptions = Seq("-Xmax-inlines:10000") - override def forkArgs = super.forkArgs() ++ build.vecIncubatorFlag - // override def mainClass = Some("mnist") - - - - override def moduleDeps = Seq(build.vecxt.jvm) - override def mvnDeps = super.mvnDeps() ++ Seq( - mvn"com.lihaoyi::os-lib::0.10.4", - mvn"io.github.quafadas::scautable::0.0.28", - mvn"io.github.quafadas::dedav4s::0.10.0-RC2" - ) -end `package` +object `package` extends ScalaModule { + // "-Djava.library.path=/opt/homebrew/Cellar/blis/2.0/lib" + + /** + * Path to the BLIS library. This assumes that you used + * On mac: brew install blis + * On ubuntu: apt install libblis3 libblis-dev [Not sure how general these settibngs are] + * Windows support is not implemented, not sure if BLIS is available on Windows. + */ + + def pathToBlis = Task { + import scala.util.Properties + + val osName = Properties.osName.toLowerCase + if (osName.contains("linux")) { + """/usr/lib/x86_64-linux-gnu/""" + } else if (osName.contains("mac")) { + """/opt/homebrew/Cellar/blis/2.0/lib""" + } else if (osName.contains("windows")) { + ??? + } else { + throw new Exception(s"Unsupported OS: $osName") + } + } + + def scalaVersion = build.vecxt.jvm.scalaVersion + override def compileResources = Task { + super.compileResources() ++ resources() + } + def scalacOptions: T[Seq[String]] = Seq("-Xmax-inlines:10000") + override def forkArgs: T[Seq[String]] = super.forkArgs() ++ build.vecIncubatorFlag ++ Seq( + s"-Djava.library.path=${pathToBlis()}", + "-Djava.library.path=/Users/simon/Code/mlx-c/build", + "--enable-native-access=ALL-UNNAMED" + ) + override def mainClass = Some("vecxt.experiments.mlxDemo") + override def moduleDeps: Seq[JavaModule] = Seq(build.vecxt.jvm, build.vecxtensions.jvm, build.generated) + override def mvnDeps = super.mvnDeps() ++ Seq( + mvn"com.lihaoyi::os-lib::0.10.4", + mvn"io.github.quafadas::scautable::0.0.28", + mvn"io.github.quafadas::dedav4s::0.10.0-RC2" + + ) + + object test extends ScalaTests with TestModule.Munit { + def scalaVersion = build.vecxt.jvm.scalaVersion + override def mvnDeps= super.mvnDeps() ++ Seq( + mvn"org.scalameta::munit::${build.V.munitVersion}" + ) + + override def moduleDeps: Seq[JavaModule] = Seq(build.experiments) + + override def forkArgs: T[Seq[String]] = super.forkArgs() ++ build.vecIncubatorFlag ++ Seq( + s"-Djava.library.path=${pathToBlis()}" + ) + + } + +} \ No newline at end of file diff --git a/experiments/src/BlisArena.scala b/experiments/src/BlisArena.scala new file mode 100644 index 00000000..97ec4ea6 --- /dev/null +++ b/experiments/src/BlisArena.scala @@ -0,0 +1,36 @@ +package vecxt.experiments + +import java.lang.foreign.MemorySegment +import java.lang.foreign.MemoryLayout +import java.lang.foreign.Arena +import java.lang.foreign.ValueLayout +import blis_typed.blis_h +import scala.collection.mutable + +/** This _should_ be unecessary for blis objects initialised with `blis_obj_create_with_attached_buffer`. From the docs + * of BLIS blis_obj_create_with_attached_buffer: + * + * > Objects initialized via this function should generally not be passed to bli_obj_free(), unless the user wishes to + * pass p into free(). + * + * @param underlying + */ +class BlisArena(private val underlying: Arena) extends Arena: + private val blisObjects = mutable.ListBuffer[MemorySegment]() + + inline def allocate(byteSize: Long, byteAlignment: Long): MemorySegment = underlying.allocate(byteSize, byteAlignment) + + inline def scope = underlying.scope + + def registerBlisObject(obj: MemorySegment): Unit = + blisObjects += obj + + override def close(): Unit = + // Free all BLIS objects first + blisObjects.foreach(blis_h.bli_obj_free) + blisObjects.clear() + + // Then close the underlying arena + underlying.close() + end close +end BlisArena diff --git a/experiments/src/DoubleVector.scala b/experiments/src/DoubleVector.scala new file mode 100644 index 00000000..0cca6c20 --- /dev/null +++ b/experiments/src/DoubleVector.scala @@ -0,0 +1,79 @@ +package vecxt.experiments + +import java.lang.foreign.MemorySegment +import java.lang.foreign.Arena +import java.lang.foreign.ValueLayout +import blis_typed.blis_h + +opaque type DoubleVector = MemorySegment + +object DoubleVector: + + extension (v: DoubleVector) + + inline def raw: MemorySegment = v + + inline def apply(index: Long): Double = + v.getAtIndex(ValueLayout.JAVA_DOUBLE, index) + + inline def update(index: Long, value: Double): Unit = + v.setAtIndex(ValueLayout.JAVA_DOUBLE, index, value) + + inline def length: Long = + v.byteSize() / ValueLayout.JAVA_DOUBLE.byteSize() + + inline def copy(using arena: Arena): DoubleVector = + val newM = arena.allocate(ValueLayout.JAVA_DOUBLE, v.length) + MemorySegment.copy(v, 0L, newM, 0L, v.byteSize()) + newM + end copy + + inline def toSeq: Seq[Double] = + (0L until v.length).map(i => v.getAtIndex(ValueLayout.JAVA_DOUBLE, i)) + + /** This will allocate an object that will be freed after the arena is closed. It does _not_ cleanup this memory + * segment itself on free. + * + * https://github.com/flame/blis/blob/master/docs/BLISObjectAPI.md#object-management > Objects initialized via this + * function should generally not be passed to bli_obj_free(), unless the user wishes to pass p into free(). + * @param arena + * @return + */ + inline def blis_obj_t(using arena: Arena) = + val objSegment = arena.allocate(512L) + + blis_h.bli_obj_create_with_attached_buffer( + blis_h.BLIS_DOUBLE(), // dt: BLIS_DOUBLE for double precision + 1L, // m: 1 row (row vector) + v.length, // n: length columns + v.raw, // p: pointer to the actual data + v.length, // rs: row stride = length (distance between rows) + 1L, // cs: column stride = 1 (contiguous elements) + objSegment // obj: output object + ) + objSegment + end blis_obj_t + + def +=(vec2: DoubleVector)(using arena: Arena): Unit = + blis_h.bli_addv(vec2.blis_obj_t, v.blis_obj_t) + + def +(vec2: DoubleVector)(using arena: Arena): DoubleVector = + val result = v.copy + result += vec2 + result + end + + end extension + + // Static methods for creating DoubleVector instances + inline def ofSize(size: Long)(using arena: Arena): DoubleVector = + arena.allocate(ValueLayout.JAVA_DOUBLE, size) + + inline def apply(size: Long)(using arena: Arena): DoubleVector = + arena.allocate(ValueLayout.JAVA_DOUBLE, size) + + inline def apply(data: Seq[Double])(using arena: Arena): DoubleVector = + arena.allocateFrom( + ValueLayout.JAVA_DOUBLE, + data* + ) +end DoubleVector diff --git a/experiments/src/FloatVector.scala b/experiments/src/FloatVector.scala new file mode 100644 index 00000000..b76f87e0 --- /dev/null +++ b/experiments/src/FloatVector.scala @@ -0,0 +1,81 @@ +package vecxt.experiments + +import java.lang.foreign.MemorySegment +import java.lang.foreign.Arena +import java.lang.foreign.ValueLayout + +import blis_typed.blis_h + +opaque type FloatVector = MemorySegment + +object FloatVector: + + extension (v: FloatVector) + + inline def raw: MemorySegment = v + + inline def apply(index: Long): Float = + v.getAtIndex(ValueLayout.JAVA_FLOAT, index) + + inline def update(index: Long, value: Float): Unit = + v.setAtIndex(ValueLayout.JAVA_FLOAT, index, value) + + inline def length: Long = + v.byteSize() / ValueLayout.JAVA_FLOAT.byteSize() + + inline def copy(using arena: Arena): FloatVector = + val newM = arena.allocate(ValueLayout.JAVA_FLOAT, v.length) + MemorySegment.copy(v, 0L, newM, 0L, v.byteSize()) + newM + end copy + + inline def toSeq: Seq[Float] = + (0L until v.length).map(i => v.getAtIndex(ValueLayout.JAVA_FLOAT, i)) + + /** This will allocate an object that will be freed after the arena is closed. It does _not_ cleanup this memory + * segment itself on free. + * + * https://github.com/flame/blis/blob/master/docs/BLISObjectAPI.md#object-management > Objects initialized via this + * function should generally not be passed to bli_obj_free(), unless the user wishes to pass p Floato free(). + * @param arena + * @return + */ + inline def blis_obj_t(using arena: Arena) = + val objSegment = arena.allocate(512L) + + blis_h.bli_obj_create_with_attached_buffer( + blis_h.BLIS_FLOAT(), // dt: BLIS_DOUBLE for double precision + 1L, // m: 1 row (row vector) + v.length, // n: length columns + v.raw, // p: poFloater to the actual data + v.length, // rs: row stride = length (distance between rows) + 1L, // cs: column stride = 1 (contiguous elements) + objSegment // obj: output object + ) + objSegment + end blis_obj_t + + def +=(vec2: FloatVector)(using Arena): Unit = + blis_h.bli_addv(vec2.blis_obj_t, v.blis_obj_t) + + def +(vec2: FloatVector)(using arena: Arena): FloatVector = + val result = v.copy + result += vec2 + result + end + + end extension + + // Static methods for FloatVector creation + + inline def ofSize(size: Long)(using arena: Arena): FloatVector = + arena.allocate(ValueLayout.JAVA_FLOAT, size) + + inline def apply(size: Long)(using arena: Arena): FloatVector = + arena.allocate(ValueLayout.JAVA_FLOAT, size) + + inline def apply(data: Seq[Float])(using arena: Arena): FloatVector = + arena.allocateFrom( + ValueLayout.JAVA_FLOAT, + data* + ) +end FloatVector diff --git a/experiments/src/IntVector.scala b/experiments/src/IntVector.scala new file mode 100644 index 00000000..87b19522 --- /dev/null +++ b/experiments/src/IntVector.scala @@ -0,0 +1,81 @@ +package vecxt.experiments + +import java.lang.foreign.MemorySegment +import java.lang.foreign.Arena +import java.lang.foreign.ValueLayout + +import blis_typed.blis_h + +opaque type IntVector = MemorySegment + +object IntVector: + + extension (v: IntVector) + + inline def raw: MemorySegment = v + + inline def apply(index: Long): Int = + v.getAtIndex(ValueLayout.JAVA_INT, index) + + inline def update(index: Long, value: Int): Unit = + v.setAtIndex(ValueLayout.JAVA_INT, index, value) + + inline def length: Long = + v.byteSize() / ValueLayout.JAVA_INT.byteSize() + + inline def copy(using arena: Arena): IntVector = + val newM = arena.allocate(ValueLayout.JAVA_INT, v.length) + MemorySegment.copy(v, 0L, newM, 0L, v.byteSize()) + newM + end copy + + inline def toSeq: Seq[Int] = + (0L until v.length).map(i => v.getAtIndex(ValueLayout.JAVA_INT, i)) + + /** This will allocate an object that will be freed after the arena is closed. It does _not_ cleanup this memory + * segment itself on free. + * + * https://github.com/flame/blis/blob/master/docs/BLISObjectAPI.md#object-management > Objects initialized via this + * function should generally not be passed to bli_obj_free(), unless the user wishes to pass p into free(). + * @param arena + * @return + */ + inline def blis_obj_t(using arena: Arena) = + val objSegment = arena.allocate(512L) + + blis_h.bli_obj_create_with_attached_buffer( + blis_h.BLIS_INT(), // dt: BLIS_DOUBLE for double precision + 1L, // m: 1 row (row vector) + v.length, // n: length columns + v.raw, // p: pointer to the actual data + v.length, // rs: row stride = length (distance between rows) + 1L, // cs: column stride = 1 (contiguous elements) + objSegment // obj: output object + ) + objSegment + end blis_obj_t + + def +=(vec2: IntVector)(using Arena): Unit = + blis_h.bli_addv(vec2.blis_obj_t, v.blis_obj_t) + + def +(vec2: IntVector)(using arena: Arena): IntVector = + val result = v.copy + result += vec2 + result + end + + end extension + + // Static methods for IntVector creation + + inline def ofSize(size: Long)(using arena: Arena): IntVector = + arena.allocate(ValueLayout.JAVA_INT, size) + + inline def apply(size: Long)(using arena: Arena): IntVector = + arena.allocate(ValueLayout.JAVA_INT, size) + + inline def apply(data: Seq[Int])(using arena: Arena): IntVector = + arena.allocateFrom( + ValueLayout.JAVA_INT, + data* + ) +end IntVector diff --git a/experiments/src/MetalDeviceInfo.scala b/experiments/src/MetalDeviceInfo.scala new file mode 100644 index 00000000..7721acfb --- /dev/null +++ b/experiments/src/MetalDeviceInfo.scala @@ -0,0 +1,29 @@ +package vecxt.experiments + +import java.lang.foreign.{Arena, MemorySegment, SegmentAllocator} +import mlx.{mlx_h, mlx_metal_device_info_t_} + +object MetalDeviceInfo { + + private lazy val deviceInfoInvoker = mlx_h.mlx_metal_device_info.makeInvoker() + + private def getDeviceInfoRaw(arena: Arena): MemorySegment = { + deviceInfoInvoker.apply(arena) + } + + def getDeviceInfo(using arena: Arena): ( + architecture: String, + maxBufferLength: Long, + maxRecommendedWorkingSetSize: Long, + memorySize: Long + ) = { + val segment = deviceInfoInvoker.apply(arena) + ( + architecture = mlx_metal_device_info_t_.architecture(segment).getString(0), + maxBufferLength = mlx_metal_device_info_t_.max_buffer_length(segment), + maxRecommendedWorkingSetSize = mlx_metal_device_info_t_.max_recommended_working_set_size(segment), + memorySize = mlx_metal_device_info_t_.memory_size(segment) + ) + } + +} diff --git a/experiments/src/MlxArray.scala b/experiments/src/MlxArray.scala new file mode 100644 index 00000000..1b336250 --- /dev/null +++ b/experiments/src/MlxArray.scala @@ -0,0 +1,58 @@ +package vecxt.experiments + +import java.lang.foreign.{Arena, MemorySegment, ValueLayout} +import mlx.{mlx_h, mlx_array_, mlx_string_} +import MlxString.{show, asString} +import MlxStream.MlxStream + +object MlxArray: + + private lazy val asFloat32 = mlx.mlx_h_1.MLX_FLOAT32() + + opaque type MlxArray = MemorySegment + + extension (arr: MlxArray) + inline def show(using arena: Arena): String = + val mlxString = arena.allocate(mlx_string_.layout()) + val status = mlx.mlx_h_1.mlx_array_tostring(mlxString, arr) + if status == 0 then + // Use the proper MLX string data extraction method + val dataPtr = mlx.mlx_h_1.mlx_string_data(mlxString) + if dataPtr.address() == 0 then + "" + else + dataPtr.getString(0) + else + s"" + + + + inline def add(a: MlxArray, b: MlxArray, stream: MlxStream)(using arena: Arena): MlxArray = + val result = arena.allocate(mlx_array_.layout()) + val status = mlx_h.mlx_add(result, a, b, stream.raw) + if status != 0 then + throw new RuntimeException(s"mlx_add failed with status $status") + result + + inline def floatArray(data: Array[Float], shapeSegment: Option[Array[Int]] = None)(using arena: Arena): MlxArray = + val dataSegment = arena.allocateFrom(ValueLayout.JAVA_FLOAT, data*) + val shapeSegment_ = arena.allocateFrom(ValueLayout.JAVA_INT, shapeSegment.getOrElse(Array(1))*) + newArray(dataSegment, shapeSegment_, shapeSegment.fold(1)(_.length), asFloat32) + + inline def newArrayRaw( + data: MemorySegment, + shape: MemorySegment, + dim: Int, + dtype: Int + )(using arena: Arena): MlxArray = + mlx.mlx_h_1.mlx_array_new_data(arena, data, shape, dim, dtype) + + inline def newArray( + data: MemorySegment, + shape: MemorySegment, + dim: Int, + dtype: Int + )(using arena: Arena): MlxArray = + mlx.mlx_h_1.mlx_array_new_data(arena, data, shape, dim, dtype) + +end MlxArray diff --git a/experiments/src/MlxStream.scala b/experiments/src/MlxStream.scala new file mode 100644 index 00000000..8200795a --- /dev/null +++ b/experiments/src/MlxStream.scala @@ -0,0 +1,37 @@ +package vecxt.experiments + +import java.lang.foreign.{Arena, MemorySegment} +import mlx.{mlx_h_1, mlx_string_} + +object MlxStream { + + private lazy val defaultGpuStreamInvoker = mlx_h_1.mlx_default_gpu_stream_new.makeInvoker() + private lazy val defaultCpuStreamInvoker = mlx_h_1.mlx_default_cpu_stream_new.makeInvoker() + private lazy val stringInvoker = mlx_h_1.mlx_string_new.makeInvoker() + + opaque type MlxStream = MemorySegment + + extension (stream: MlxStream) + inline def raw: MemorySegment = stream + inline def show(using arena: Arena): String = { + val mlxString = arena.allocate(mlx_string_.layout()) + val status = mlx_h_1.mlx_stream_tostring(mlxString, stream) + if status == 0 then + // Use the proper MLX string data extraction method + val dataPtr = mlx_h_1.mlx_string_data(mlxString) + if dataPtr.address() == 0 then + "" + else + dataPtr.getString(0) + else + s"" + } + + inline def gpu(using arena: Arena): MlxStream = + defaultGpuStreamInvoker.apply(arena) + + inline def cpu(using arena: Arena): MlxStream = + defaultCpuStreamInvoker.apply(arena) + + +} diff --git a/experiments/src/MlxString.scala b/experiments/src/MlxString.scala new file mode 100644 index 00000000..3ece7dec --- /dev/null +++ b/experiments/src/MlxString.scala @@ -0,0 +1,30 @@ +package vecxt.experiments + +import java.lang.foreign.{Arena, MemorySegment} +import mlx.{mlx_h, mlx_string, mlx_string_} + +object MlxString: + + opaque type MlxString = MemorySegment + + extension (mlxString: MlxString) + def show: String = asString(mlxString) + + // Create an mlx_string structure by allocating memory for it and populate with string data + def createString(s: String)(using arena: Arena): MlxString = + val mlxString = arena.allocate(mlx_string_.layout()) + // Allocate memory for the string data and copy it + val stringData = arena.allocateFrom(s) + // Set the ctx pointer to point to our string data + mlx_string_.ctx(mlxString, stringData) + mlxString + + // Extract string data from an mlx_string after it's been populated + def asString(mlxString: MlxString): String = + val ctx = mlx_string_.ctx(mlxString) + if ctx.address() == 0 then + "" // null pointer + else + ctx.getString(0) // Read null-terminated string from the context pointer + +end MlxString diff --git a/experiments/src/Tensor.scala b/experiments/src/Tensor.scala new file mode 100644 index 00000000..e7cfccd8 --- /dev/null +++ b/experiments/src/Tensor.scala @@ -0,0 +1,101 @@ +package vecxt.experiments + +type Tensor[A] = A match + case Double => TensorDouble + case Int => TensorInt + case Float => TensorFloat + +object TensorOps: + private[experiments] def calculateFlatIndex(indices: IArray[Long], strides: IArray[Long], offset: Long): Long = + var flatIndex = offset + var i = 0 + while i < indices.length do + flatIndex += indices(i) * strides(i) + i += 1 + end while + flatIndex + end calculateFlatIndex +end TensorOps + +class TensorDouble(val data: DoubleVector, val shape: IArray[Long], val strides: IArray[Long], val offset: Long = 0L) + extends TensorOps[Double]: + + def apply(tensor: Tensor[Double], indices: IArray[Long]): Double = + val td = tensor.asInstanceOf[TensorDouble] + val flatIndex = TensorOps.calculateFlatIndex(indices, td.strides, td.offset) + td.data(flatIndex) + end apply + + def update(tensor: Tensor[Double], indices: IArray[Long], value: Double): Unit = + val td = tensor.asInstanceOf[TensorDouble] + val flatIndex = TensorOps.calculateFlatIndex(indices, td.strides, td.offset) + td.data(flatIndex) = value + end update + + def shape(tensor: Tensor[Double]): IArray[Long] = + tensor.asInstanceOf[TensorDouble].shape + + def strides(tensor: Tensor[Double]): IArray[Long] = + tensor.asInstanceOf[TensorDouble].strides + + def offset(tensor: Tensor[Double]): Long = + tensor.asInstanceOf[TensorDouble].offset +end TensorDouble + +class TensorInt(val data: IntVector, val shape: IArray[Long], val strides: IArray[Long], val offset: Long = 0L) + extends TensorOps[Int]: + + def apply(tensor: Tensor[Int], indices: IArray[Long]): Int = + val ti = tensor.asInstanceOf[TensorInt] + val flatIndex = TensorOps.calculateFlatIndex(indices, ti.strides, ti.offset) + ti.data(flatIndex) + end apply + + def update(tensor: Tensor[Int], indices: IArray[Long], value: Int): Unit = + val ti = tensor.asInstanceOf[TensorInt] + val flatIndex = TensorOps.calculateFlatIndex(indices, ti.strides, ti.offset) + ti.data(flatIndex) = value + end update + + def shape(tensor: Tensor[Int]): IArray[Long] = + tensor.asInstanceOf[TensorInt].shape + + def strides(tensor: Tensor[Int]): IArray[Long] = + tensor.asInstanceOf[TensorInt].strides + + def offset(tensor: Tensor[Int]): Long = + tensor.asInstanceOf[TensorInt].offset +end TensorInt + +class TensorFloat(val data: FloatVector, val shape: IArray[Long], val strides: IArray[Long], val offset: Long = 0L) + extends TensorOps[Float]: + + def apply(tensor: Tensor[Float], indices: IArray[Long]): Float = + val tf = tensor.asInstanceOf[TensorFloat] + val flatIndex = TensorOps.calculateFlatIndex(indices, tf.strides, tf.offset) + tf.data(flatIndex) + end apply + + def update(tensor: Tensor[Float], indices: IArray[Long], value: Float): Unit = + val tf = tensor.asInstanceOf[TensorFloat] + val flatIndex = TensorOps.calculateFlatIndex(indices, tf.strides, tf.offset) + tf.data(flatIndex) = value + end update + + def shape(tensor: Tensor[Float]): IArray[Long] = + tensor.asInstanceOf[TensorFloat].shape + + def strides(tensor: Tensor[Float]): IArray[Long] = + tensor.asInstanceOf[TensorFloat].strides + + def offset(tensor: Tensor[Float]): Long = + tensor.asInstanceOf[TensorFloat].offset +end TensorFloat + +trait TensorOps[A]: + def apply(tensor: Tensor[A], indices: IArray[Long]): A + def update(tensor: Tensor[A], indices: IArray[Long], value: A): Unit + def shape(tensor: Tensor[A]): IArray[Long] + def strides(tensor: Tensor[A]): IArray[Long] + def offset(tensor: Tensor[A]): Long +end TensorOps diff --git a/experiments/src/blas.scala b/experiments/src/blas.scala new file mode 100644 index 00000000..fedf9200 --- /dev/null +++ b/experiments/src/blas.scala @@ -0,0 +1,81 @@ +import java.lang.foreign.{Arena, MemorySegment, ValueLayout} +import blas.* + +@main def testBlas() = + // Print library information + println("=== Verifying Accelerate Framework Usage ===") + println(s"Operating System: ${System.getProperty("os.name")}") + println(s"Architecture: ${System.getProperty("os.arch")}") + + val Layout = cblas_h.CblasColMajor() + val transa = cblas_h.CblasNoTrans() + + val m = 4 // Number of rows + val n = 4 // Number of columns + val lda = 4 // Leading dimension + val incx = 1 + val incy = 1 + val alpha = 1.0 + val beta = 0.0 + + println("\n=== Running CBLAS DGEMV (Matrix-Vector Multiplication) ===") + val arena = Arena.ofConfined() + try + val a = arena.allocateFrom( + ValueLayout.JAVA_DOUBLE, + 1.0, + 2.0, + 3.0, + 4.0, + 1.0, + 1.0, + 1.0, + 1.0, + 3.0, + 4.0, + 5.0, + 6.0, + 5.0, + 6.0, + 7.0, + 8.0 + ) + val x = arena.allocateFrom( + ValueLayout.JAVA_DOUBLE, + 1.0, + 2.0, + 1.0, + 1.0 + ) + val y = arena.allocate(ValueLayout.JAVA_DOUBLE, n) + + println("Matrix A (4x4, column-major):") + println("1 1 3 5") + println("2 1 4 6") + println("3 1 5 7") + println("4 1 6 8") + println("\nVector x: [1, 2, 1, 1]") + println("\nCalling cblas_dgemv from Accelerate framework...") + + cblas_h.cblas_dgemv( + Layout, + transa, + m, + n, + alpha, + a, + lda, + x, + incx, + beta, + y, + incy + ) + + println("\n=== Results (y = A * x) ===") + for i <- 0 until n do println(s"y[$i] = ${y.getAtIndex(ValueLayout.JAVA_DOUBLE, i)}") + end for + () + finally arena.close() + end try +end testBlas diff --git a/experiments/src/blis.scala b/experiments/src/blis.scala new file mode 100644 index 00000000..c314793b --- /dev/null +++ b/experiments/src/blis.scala @@ -0,0 +1,75 @@ +import java.lang.foreign.{Arena, MemorySegment, ValueLayout} +import blis.* +import vecxt.all.* +import narr.* +import vecxt.BoundsCheck.DoBoundsCheck.yes + +@main def testBlis() = + println( + "blis test" + + "" + ) + val Layout = blis.cblas_h.CblasColMajor + val transa = blis.cblas_h.CblasNoTrans + + val m = 4 // Number of rows + val n = 4 // Number of columns + val lda = 4 // Leading dimension + val incx = 1 + val incy = 1 + val alpha = 1.0 + val beta = 0.0 + + val mat1 = Matrix.fromRows[Double]( + NArray[Double](1.0, 2.0, 3.0, 4.0), + NArray[Double](1.0, 1.0, 1.0, 1.0), + NArray[Double](3.0, 4.0, 5.0, 6.0), + NArray[Double](5.0, 6.0, 7.0, 8.0) + ) + val vec1 = NArray[Double](1.0, 2.0, 1.0, 1.0) + val vec2 = NArray[Double](0.0, 0.0, 0.0, 0.0) + + val arena = Arena.ofConfined() + try + val a = arena.allocateFrom( + ValueLayout.JAVA_DOUBLE, + mat1.raw* + ) + val x = arena.allocateFrom( + ValueLayout.JAVA_DOUBLE, + vec1* + ) + val y = arena.allocateFrom( + ValueLayout.JAVA_DOUBLE, + vec2* + ) + cblas_h.cblas_dgemv( + Layout, + transa, + m, + n, + alpha, + a, + lda, + x, + incx, + beta, + y, + incy + ) + // Copy result from native y to vec2 + var i = 0 + while i < vec2.length do + vec2(i) = y.getAtIndex(ValueLayout.JAVA_DOUBLE, i) + i += 1 + end while + finally arena.close() + end try + + // y0 = 12.0 + // y1 = 5.0 + // y2 = 22.0 + // y3 = 32.0 + + println(vec2.printArr) +end testBlis diff --git a/experiments/src/blis2.scala b/experiments/src/blis2.scala new file mode 100644 index 00000000..291bb064 --- /dev/null +++ b/experiments/src/blis2.scala @@ -0,0 +1,27 @@ +import java.lang.foreign.{Arena, MemorySegment, ValueLayout} +import blis.* +import vecxt.all.* +import narr.* +import vecxt.BoundsCheck.DoBoundsCheck.yes + +@main def testBlisNative = + + println("Panama native memory test") + + val arena = Arena.ofAuto() + // Allocate native memory for 4 doubles + val nativeArr = arena.allocate(ValueLayout.JAVA_DOUBLE.byteSize() * 4) + // Write values to native memory + var i = 0 + while i < 4 do + nativeArr.setAtIndex(ValueLayout.JAVA_DOUBLE, i, (i + 1).toDouble) + i += 1 + end while + // Read back and print + i = 0 + while i < 4 do + val v = nativeArr.getAtIndex(ValueLayout.JAVA_DOUBLE, i) + println(s"nativeArr($i) = $v") + i += 1 + end while +end testBlisNative diff --git a/experiments/src/mlx.scala b/experiments/src/mlx.scala new file mode 100644 index 00000000..0e643bf6 --- /dev/null +++ b/experiments/src/mlx.scala @@ -0,0 +1,116 @@ +package vecxt.experiments + +import java.lang.foreign.{Arena, MemorySegment, ValueLayout, SegmentAllocator} +import mlx.{mlx_h, mlx_string, mlx_metal_device_info_t_} +import MlxString.* +import MlxArray.* +import MlxStream.* + +/** + * /* Copyright © 2023-2024 Apple Inc. */ + +#include +#include "mlx/c/mlx.h" + +void print_array(const char* msg, mlx_array arr) { + mlx_string str = mlx_string_new(); + mlx_array_tostring(&str, arr); + printf("%s\n%s\n", msg, mlx_string_data(str)); + mlx_string_free(str); +} + +void gpu_info() { + printf("==================================================\n"); + printf("GPU info:\n"); + mlx_metal_device_info_t info = mlx_metal_device_info(); + printf("architecture: %s\n", info.architecture); + printf("max_buffer_length: %ld\n", info.max_buffer_length); + printf( + "max_recommended_working_set_size: %ld\n", + info.max_recommended_working_set_size); + printf("memory_size: %ld\n", info.memory_size); + + printf("==================================================\n"); +} +int main() { + mlx_string version = mlx_string_new(); + mlx_version(&version); + printf("MLX version: %s\n", mlx_string_data(version)); + + gpu_info(); + + mlx_stream stream = mlx_default_gpu_stream_new(); + float data[] = {1, 2, 3, 4, 5, 6}; + int shape[] = {2, 3}; + mlx_array arr = mlx_array_new_data(data, shape, 2, MLX_FLOAT32); + print_array("hello world!", arr); + + mlx_array two = mlx_array_new_int(2); + mlx_divide(&arr, arr, two, stream); + print_array("divive by 2!", arr); + + mlx_arange(&arr, 0, 3, 0.5, MLX_FLOAT32, stream); + print_array("arange", arr); + + mlx_array_free(arr); + mlx_array_free(two); + mlx_stream_free(stream); + mlx_string_free(version); + return 0; +} + + * + */ + + + +@main def mlxDemo(): Unit = { + println("MLX Demo - Scala version of the C code") + val arena = Arena.ofConfined() + + try { + given thisArena: Arena = arena + + val deviceInfo = MetalDeviceInfo.getDeviceInfo(using arena) + println("\n=== Testing MetalDeviceInfo wrapper ===") + println(s"Info: ${deviceInfo}") + + // Test creating a string with data + println("\n=== String creation with data test ===") + val myString: MlxString = MlxString.createString("Hello, MLX!")(using arena) + println(s"Created string data: ${myString.show}") + + // Test creating and printing an MLX array + println("\n=== Array creation test ===") + + val shape = Array(2, 3) // 2x3 matrix + + val floatData: MlxArray = MlxArray.floatArray( + Array(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f), Some(shape) + ) + val floatData2: MlxArray = MlxArray.floatArray( + Array(5.0f, 2.0f, 7.0f, 45.0f, 5.5f, 6.0f), Some(shape) + ) + + val gpu: MlxStream = MlxStream.gpu + val cpu: MlxStream = MlxStream.cpu + println(s"Created MLX stream: ${cpu.show}") + println(s"Created MLX stream: ${gpu.show}") + + // adding arrays + val addedG: MlxArray = MlxArray.add(floatData, floatData2, gpu) // Just to test addition + val addedC: MlxArray = MlxArray.add(floatData, floatData2, cpu) // Just to test addition + + println(s"Created MLX arrays:") + println(floatData.show) + println(floatData2.show) + println(s"Added on CPU:") + println(addedC.show) + println(s"Added on GPU:") + println(addedG.show) + } + + finally { + arena.close() + } +} diff --git a/experiments/src/mnist.scala b/experiments/src/mnist.scala index 586c6001..e901ecec 100644 --- a/experiments/src/mnist.scala +++ b/experiments/src/mnist.scala @@ -23,7 +23,7 @@ import narr.* }) val samplePlot = false - val trainSize = 60000 + val trainSize = 5000 val l1Size = 128 val l2Size = 64 diff --git a/experiments/test/src/DoubleVector.test.scala b/experiments/test/src/DoubleVector.test.scala new file mode 100644 index 00000000..6f137749 --- /dev/null +++ b/experiments/test/src/DoubleVector.test.scala @@ -0,0 +1,62 @@ +package vecxt.experiments + +import narr.* +import java.lang.foreign.Arena +import java.lang.foreign.MemorySegment +import java.lang.foreign.ValueLayout + +import vecxt.experiments.* +import vecxt.experiments.DoubleVector.* +import blis_typed.blis_h as blis + +class DoubleVectorSuite extends munit.FunSuite: + + given arena: BlisArena = BlisArena(Arena.global()) + + test("DoubleVector apply and update"): + + val vec = DoubleVector(5) + vec(0) = 1.0 + vec(1) = 2.0 + vec(2) = 3.0 + vec(3) = 4.0 + vec(4) = 5.0 + + assertEquals(vec(0), 1.0) + assertEquals(vec(1), 2.0) + assertEquals(vec(2), 3.0) + assertEquals(vec(3), 4.0) + assertEquals(vec(4), 5.0) + + println(vec) + + test("DoubleVector length"): + + val vec = DoubleVector(10) + assertEquals(vec.length, 10L) + + test("DoubleVector from Array"): + val arr = Vector(1.0, 2.0, 3.0) + val vec = DoubleVector(arr) + assertEquals(vec(0), 1.0) + assertEquals(vec(1), 2.0) + assertEquals(vec(2), 3.0) + + test("blissable - BLIS integration working!"): + val arr = Vector(1.0, 2.0, 3.0) + val vec = DoubleVector(arr) + val vec2 = DoubleVector(arr) + + vec += vec2 + + assertEqualsDouble(vec2(0), 1.0, 0.0001) + assertEqualsDouble(vec(0), 2.0, 0.0001) + assertEqualsDouble(vec(1), 4.0, 0.0001) + assertEqualsDouble(vec(2), 6.0, 0.0001) + + val v3 = vec + vec + + assertEqualsDouble(v3(0), 4.0, 0.0001) + assertEqualsDouble(v3(1), 8.0, 0.0001) + assertEqualsDouble(v3(2), 12.0, 0.0001) +end DoubleVectorSuite diff --git a/experiments/test/src/FloatVector.test.scala b/experiments/test/src/FloatVector.test.scala new file mode 100644 index 00000000..a2c8cb57 --- /dev/null +++ b/experiments/test/src/FloatVector.test.scala @@ -0,0 +1,61 @@ +package vecxt.experiments + +import narr.* +import java.lang.foreign.Arena +import java.lang.foreign.MemorySegment +import java.lang.foreign.ValueLayout + +import vecxt.experiments.* +import vecxt.experiments.FloatVector.* +import blis_typed.blis_h as blis + +class FloatVectorSuite extends munit.FunSuite: + + given arena: BlisArena = BlisArena(Arena.global()) + + test("FloatVector apply and update"): + + val vec = FloatVector(5) + vec(0) = 1f + vec(1) = 2f + vec(2) = 3f + vec(3) = 4f + vec(4) = 5f + + assertEquals(vec(0), 1f) + assertEquals(vec(1), 2f) + assertEquals(vec(2), 3f) + assertEquals(vec(3), 4f) + assertEquals(vec(4), 5f) + + test("FloatVector length"): + + val vec = FloatVector(10) + assertEquals(vec.length, 10L) + + test("FloatVector from Array"): + val arr = Vector(1f, 2f, 3f) + val vec = FloatVector(arr) + assertEquals(vec(0), 1f) + assertEquals(vec(1), 2f) + assertEquals(vec(2), 3f) + + test("blissable - BLIS Floategration working!"): + val arr = Vector(1f, 2f, 3f) + val vec = FloatVector(arr) + val vec2 = FloatVector(arr) + + vec += vec2 + + assertEqualsFloat(vec2(0), 1f, 0.0001f) + assertEqualsFloat(vec(0), 2f, 0.0001f) + assertEqualsFloat(vec(1), 4f, 0.0001f) + assertEqualsFloat(vec(2), 6f, 0.0001f) + + val v3 = vec + vec + + assertEqualsFloat(v3(0), 4f, 0.0001f) + assertEqualsFloat(v3(1), 8f, 0.0001f) + assertEqualsFloat(v3(2), 12f, 0.0001f) + +end FloatVectorSuite diff --git a/experiments/test/src/IntVector.test.scala b/experiments/test/src/IntVector.test.scala new file mode 100644 index 00000000..5f6f65d4 --- /dev/null +++ b/experiments/test/src/IntVector.test.scala @@ -0,0 +1,61 @@ +package vecxt.experiments + +import narr.* +import java.lang.foreign.Arena +import java.lang.foreign.MemorySegment +import java.lang.foreign.ValueLayout + +import vecxt.experiments.* +import vecxt.experiments.IntVector.* +import blis_typed.blis_h as blis + +class IntVectorSuite extends munit.FunSuite: + + given arena: BlisArena = BlisArena(Arena.global()) + + test("IntVector apply and update"): + + val vec = IntVector(5) + vec(0) = 1 + vec(1) = 2 + vec(2) = 3 + vec(3) = 4 + vec(4) = 5 + + assertEquals(vec(0), 1) + assertEquals(vec(1), 2) + assertEquals(vec(2), 3) + assertEquals(vec(3), 4) + assertEquals(vec(4), 5) + + test("IntVector length"): + + val vec = IntVector(10) + assertEquals(vec.length, 10L) + + test("IntVector from Array"): + val arr = Vector(1, 2, 3) + val vec = IntVector(arr) + assertEquals(vec(0), 1) + assertEquals(vec(1), 2) + assertEquals(vec(2), 3) + + // test("blissable - BLIS integration working!"): + // val arr = Vector(1, 2, 3) + // val vec = IntVector(arr) + // val vec2 = IntVector(arr) + + // vec += vec2 + + // assertEquals(vec2(0), 1, 0.0001) + // assertEquals(vec(0), 2, 0.0001) + // assertEquals(vec(1), 4, 0.0001) + // assertEquals(vec(2), 6, 0.0001) + + // val v3 = vec + vec + + // assertEquals(v3(0), 4, 0.0001) + // assertEquals(v3(1), 8, 0.0001) + // assertEquals(v3(2), 12, 0.0001) + +end IntVectorSuite diff --git a/experiments/test/src/Mixed.test.scala b/experiments/test/src/Mixed.test.scala new file mode 100644 index 00000000..f18d9fb8 --- /dev/null +++ b/experiments/test/src/Mixed.test.scala @@ -0,0 +1,33 @@ +package vecxt.experiments + +import narr.* +import java.lang.foreign.Arena +import java.lang.foreign.MemorySegment +import java.lang.foreign.ValueLayout + +import vecxt.experiments.* +import vecxt.experiments.IntVector.* +import blis_typed.blis_h as blis + +class MixedSuite extends munit.FunSuite: + + given arena: BlisArena = BlisArena(Arena.global()) + + test("blissable - BLIS integration working!"): + val arr = Array(1, 2, 3) + val vecI = IntVector(arr) + val arrD = Array(1.0, 2.0, 3.0) + val vecD = DoubleVector(arrD) + + // mixed array matmul here... + // vecI += vecD + + // // assertEquals(vec2(0), 1, 0.0001) + // // assertEquals(vec(0), 2, 0.0001) + // // assertEquals(vec(1), 4, 0.0001) + // // assertEquals(vec(2), 6, 0.0001) + + // println(vecI) + // println(vecD) + +end MixedSuite diff --git a/experiments/test/src/Tensor.test.scala b/experiments/test/src/Tensor.test.scala new file mode 100644 index 00000000..8990e067 --- /dev/null +++ b/experiments/test/src/Tensor.test.scala @@ -0,0 +1,105 @@ +package vecxt.experiments + +import java.lang.foreign.Arena +import java.lang.foreign.ValueLayout + +class TensorSuite extends munit.FunSuite: + + given arena: BlisArena = BlisArena(Arena.global()) + + test("TensorDouble basic operations"): + val data = DoubleVector(6) + // Fill with test data: [1.0, 2.0, 3.0, 4.0, 5.0, 6.0] + data(0) = 1.0 + data(1) = 2.0 + data(2) = 3.0 + data(3) = 4.0 + data(4) = 5.0 + data(5) = 6.0 + + // Create a 2x3 tensor with column-major layout + val shape = IArray(2L, 3L) + val strides = IArray(1L, 2L) // column-major: stride 1 for rows, stride 2 for columns + val tensor = TensorDouble(data, shape, strides) + + // Test shape, strides, offset + assertEquals(tensor.shape(tensor), shape) + assertEquals(tensor.strides(tensor), strides) + assertEquals(tensor.offset(tensor), 0L) + + // Test indexing: tensor(0, 0) should be data(0) = 1.0 + assertEquals(tensor(tensor, IArray(0L, 0L)), 1.0) + // Test indexing: tensor(1, 0) should be data(1) = 2.0 + assertEquals(tensor(tensor, IArray(1L, 0L)), 2.0) + // Test indexing: tensor(0, 1) should be data(2) = 3.0 + assertEquals(tensor(tensor, IArray(0L, 1L)), 3.0) + // Test indexing: tensor(1, 2) should be data(5) = 6.0 + assertEquals(tensor(tensor, IArray(1L, 2L)), 6.0) + + // Test update + tensor.update(tensor, IArray(0L, 0L), 10.0) + assertEquals(tensor(tensor, IArray(0L, 0L)), 10.0) + assertEquals(data(0), 10.0) // Verify the underlying data was modified + + test("TensorInt basic operations"): + val data = IntVector(4) + data(0) = 10 + data(1) = 20 + data(2) = 30 + data(3) = 40 + + // Create a 2x2 tensor + val shape = IArray(2L, 2L) + val strides = IArray(1L, 2L) + val tensor = TensorInt(data, shape, strides) + + assertEquals(tensor.shape(tensor), shape) + assertEquals(tensor.strides(tensor), strides) + assertEquals(tensor.offset(tensor), 0L) + + assertEquals(tensor(tensor, IArray(0L, 0L)), 10) + assertEquals(tensor(tensor, IArray(1L, 1L)), 40) + + tensor.update(tensor, IArray(1L, 0L), 99) + assertEquals(tensor(tensor, IArray(1L, 0L)), 99) + + test("TensorFloat basic operations"): + val data = FloatVector(4) + data(0) = 1.5f + data(1) = 2.5f + data(2) = 3.5f + data(3) = 4.5f + + // Create a 2x2 tensor + val shape = IArray(2L, 2L) + val strides = IArray(1L, 2L) + val tensor = TensorFloat(data, shape, strides) + + assertEquals(tensor.shape(tensor), shape) + assertEquals(tensor.strides(tensor), strides) + assertEquals(tensor.offset(tensor), 0L) + + assertEquals(tensor(tensor, IArray(0L, 0L)), 1.5f) + assertEquals(tensor(tensor, IArray(1L, 1L)), 4.5f) + + tensor.update(tensor, IArray(0L, 1L), 9.9f) + assertEquals(tensor(tensor, IArray(0L, 1L)), 9.9f) + + test("TensorDouble with offset"): + val data = DoubleVector(10) + (0 until 10).foreach(i => data(i) = i.toDouble) + + // Create a tensor starting from offset 3 + val shape = IArray(2L, 2L) + val strides = IArray(1L, 2L) + val offset = 3L + val tensor = TensorDouble(data, shape, strides, offset) + + assertEquals(tensor.offset(tensor), offset) + + // tensor(0, 0) should access data(3) = 3.0 + assertEquals(tensor(tensor, IArray(0L, 0L)), 3.0) + // tensor(1, 1) should access data(3 + 1*1 + 1*2) = data(6) = 6.0 + assertEquals(tensor(tensor, IArray(1L, 1L)), 6.0) + +end TensorSuite diff --git a/generated/includes_blas.txt b/generated/includes_blas.txt new file mode 100644 index 00000000..994157fc --- /dev/null +++ b/generated/includes_blas.txt @@ -0,0 +1,1234 @@ +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h + +--include-constant __API_TO_BE_DEPRECATED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_DRIVERKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_IOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_KERNELKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACCATALYST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_TVOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_VISIONOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_WATCHOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h + +--include-constant __MAC_OS_X_VERSION_MAX_ALLOWED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h +--include-constant __MAC_OS_X_VERSION_MIN_REQUIRED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternalLegacy.h + +--include-constant __ENABLE_LEGACY_MAC_AVAILABILITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternalLegacy.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h + +--include-constant MAC_OS_VERSION_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_11_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_11_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_12_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_12_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_12_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_12_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_12_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_13_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_13_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_13_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_13_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_13_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_13_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_14_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_14_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_14_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_14_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_14_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_15_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_15_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_15_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_VERSION_15_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_11 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_12 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_13_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_14 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_14_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_15 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant MAC_OS_X_VERSION_10_9 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __AVAILABILITY_FILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __AVAILABILITY_VERSIONS_VERSION_HASH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __AVAILABILITY_VERSIONS_VERSION_STRING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_3_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_3_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_3_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_4_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_4_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_5_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_5_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_5_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_19_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_20_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_21_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_2_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_2_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_3_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_3_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_3_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_5_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_5_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_6_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_6_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_7_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_7_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_15 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_9 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_0_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_1_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_2_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_2_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_1_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_6_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_6_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_6_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h + +--include-constant L_ctermid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h +--include-function ctermid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_printf.h + +--include-function printf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_printf.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h + +--include-struct __sFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-struct __sFILEX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-struct __sbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant BUFSIZ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant EOF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant FILENAME_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant FOPEN_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant L_tmpnam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant P_tmpdir # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant TMP_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant _IOFBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant _IOLBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant _IONBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SALC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SAPP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SEOF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SIGN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SLBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SMBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SMOD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SNBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SNPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SOFF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SOPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SRD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SRW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SSTR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SWR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-var __stderrp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-var __stdinp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-var __stdoutp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-var sys_errlist # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-var sys_nerr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-typedef FILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-typedef fpos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function __srget # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function __svfscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function __swbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function asprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function clearerr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ctermid_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function dprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fclose # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fdopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function feof # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ferror # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fflush # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fgetc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fgetln # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fgetpos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fgets # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fileno # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function flockfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fmemopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fmtcheck # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fpurge # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fputc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fputs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fread # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function freopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fseek # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fseeko # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fsetpos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ftell # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ftello # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ftrylockfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function funlockfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function funopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fwrite # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getc_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getchar # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getchar_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getdelim # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getline # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function gets # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getw # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function open_memstream # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function pclose # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function perror # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function popen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putc_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putchar # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putchar_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function puts # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putw # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function remove # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function rename # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function rewind # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function scanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function setbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function setbuffer # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function setlinebuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function setvbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function snprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function sprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function sscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function tempnam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function tmpfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function tmpnam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ungetc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vasprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vdprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vfprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vfscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vsnprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vsprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vsscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h + +--include-constant _FORTIFY_SOURCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-constant __DARWIN_WCHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-constant __DARWIN_WCHAR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-constant __DARWIN_WEOF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-typedef __darwin_nl_item # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-typedef __darwin_wctrans_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-typedef __darwin_wctype_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_intmax_t.h + +--include-typedef intmax_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_intmax_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint16_t.h + +--include-typedef uint16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint16_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint32_t.h + +--include-typedef uint32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint32_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint64_t.h + +--include-typedef uint64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint64_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint8_t.h + +--include-typedef uint8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint8_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uintmax_t.h + +--include-typedef uintmax_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uintmax_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h + +--include-constant USE_CLANG_TYPES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-union __mbstate_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_clock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_ct_rune_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_intptr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_mbstate_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_natural_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_ptrdiff_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_rune_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_socklen_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_ssize_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_time_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_va_list # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_wchar_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_wint_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h + +--include-constant USER_ADDR_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h +--include-typedef register_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h +--include-typedef syscall_arg_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h +--include-typedef user_addr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h +--include-typedef user_long_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h +--include-typedef user_off_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h +--include-typedef user_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h +--include-typedef user_ssize_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h +--include-typedef user_time_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h +--include-typedef user_ulong_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h + +--include-constant I # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-constant _Complex_I # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cabs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cabsf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cabsl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cacos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cacosf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cacosh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cacoshf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cacoshl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cacosl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function carg # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cargf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cargl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function casin # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function casinf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function casinh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function casinhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function casinhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function casinl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function catan # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function catanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function catanh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function catanhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function catanhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function catanl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ccos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ccosf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ccosh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ccoshf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ccoshl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ccosl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cexp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cexpf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cexpl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cimag # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cimagf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cimagl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function clog # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function clogf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function clogl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function conj # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function conjf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function conjl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cpow # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cpowf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cpowl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cproj # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cprojf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function cprojl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function creal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function crealf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function creall # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function csin # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function csinf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function csinh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function csinhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function csinhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function csinl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function csqrt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function csqrtf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function csqrtl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ctan # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ctanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ctanh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ctanhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ctanhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h +--include-function ctanl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/complex.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h + +--include-constant _USE_FORTIFY_LEVEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h + +--include-function __snprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h +--include-function __sprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h +--include-function __vsnprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h +--include-function __vsprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h + +--include-constant INT16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT16_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT32_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT64_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT8_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTMAX_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTMAX_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTPTR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTPTR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST16_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST32_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST64_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST8_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST16_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST32_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST64_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST8_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant PTRDIFF_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant PTRDIFF_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant RSIZE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant SIG_ATOMIC_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant SIG_ATOMIC_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant SIZE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINTMAX_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINTPTR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WCHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WCHAR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WINT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WINT_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant __WORDSIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_fast16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_fast32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_fast64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_fast8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h + +--include-struct __darwin_pthread_handler_rec # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_cond_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_condattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_mutex_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_mutexattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_once_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_rwlock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_rwlockattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_ATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_CONDATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_COND_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_MUTEXATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_MUTEX_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_ONCE_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_RWLOCKATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_RWLOCK_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_cond_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_condattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_key_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_mutex_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_mutexattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_once_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_rwlock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_rwlockattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h + +--include-constant USE_CLANG_TYPES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-constant __DARWIN_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_blkcnt_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_blksize_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_dev_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_fsblkcnt_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_fsfilcnt_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_gid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_ino64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_ino_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_mach_port_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_mach_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_mode_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_off_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_pid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_sigset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_suseconds_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_uid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_useconds_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_uuid_string_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_uuid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int16_t.h + +--include-typedef int16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int16_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int32_t.h + +--include-typedef int32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int32_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int64_t.h + +--include-typedef int64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int64_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int8_t.h + +--include-typedef int8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int8_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_intptr_t.h + +--include-typedef intptr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_intptr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_null.h + +--include-constant USE_CLANG_STDDEF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_null.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_off_t.h + +--include-typedef off_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_off_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h + +--include-constant SEEK_CUR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h +--include-constant SEEK_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h +--include-constant SEEK_END # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h +--include-constant SEEK_HOLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h +--include-constant SEEK_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h + +--include-constant USE_CLANG_STDDEF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ssize_t.h + +--include-typedef ssize_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ssize_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int16_t.h + +--include-typedef u_int16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int16_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int32_t.h + +--include-typedef u_int32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int32_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int64_t.h + +--include-typedef u_int64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int64_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int8_t.h + +--include-typedef u_int8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int8_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uintptr_t.h + +--include-typedef uintptr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uintptr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h + +--include-constant USE_CLANG_STDARG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h +--include-typedef va_list # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h + +--include-constant _DARWIN_FEATURE_64_BIT_INODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_ONLY_64_BIT_INODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_ONLY_VERS_1050 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_UNIX_CONFORMANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_64_BIT_INO_T # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_C_ANSI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_C_FULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_C_LEVEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_NON_CANCELABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_NO_LONG_LONG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_ONLY_64_BIT_INO_T # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_ONLY_UNIX_CONFORMANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_ONLY_VERS_1050 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_SUF_EXTSN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_UNIX03 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_VERS_1050 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __STDC_WANT_LIB_EXT1__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __has_ptrcheck # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __has_safe_buffers # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h + +--include-constant RENAME_EXCL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h +--include-constant RENAME_NOFOLLOW_ANY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h +--include-constant RENAME_RESERVED1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h +--include-constant RENAME_SECLUDE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h +--include-constant RENAME_SWAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h +--include-function renameat # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h +--include-function renameatx_np # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h +--include-function renamex_np # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_max_align_t.h + +--include-typedef max_align_t # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_max_align_t.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_null.h + +--include-constant NULL # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_null.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_ptrdiff_t.h + +--include-typedef ptrdiff_t # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_ptrdiff_t.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_size_t.h + +--include-typedef size_t # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_size_t.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_wchar_t.h + +--include-typedef wchar_t # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_wchar_t.h + +#### Extracted from: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h + +--include-constant CblasColMajor # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasConjNoTrans # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasConjTrans # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasLeft # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasLower # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasNoTrans # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasNonUnit # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasRight # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasRowMajor # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasTrans # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasUnit # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasUpper # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant OPENBLAS_OPENMP # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant OPENBLAS_SEQUENTIAL # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant OPENBLAS_THREAD # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-typedef CBLAS_LAYOUT # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-typedef openblas_dojob_callback # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-typedef openblas_threads_callback # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_caxpby # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_caxpy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_caxpyc # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ccopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cdotc # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cdotc_sub # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cdotu # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cdotu_sub # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cgbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cgeadd # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cgemm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cgemm3m # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cgemm_batch # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cgemmt # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cgemv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cgerc # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cgeru # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_chbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_chemm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_chemv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cher # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cher2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cher2k # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cherk # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_chpmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_chpr # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_chpr2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cimatcopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_comatcopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_crotg # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cscal # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_csrot # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_csscal # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_cswap # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_csymm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_csyr2k # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_csyrk # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ctbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ctbsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ctpmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ctpsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ctrmm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ctrmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ctrsm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ctrsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_damax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_damin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dasum # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_daxpby # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_daxpy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dbf16tod # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dcopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ddot # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dgbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dgeadd # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dgemm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dgemm_batch # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dgemmt # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dgemv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dger # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dimatcopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dnrm2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_domatcopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_drot # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_drotg # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_drotm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_drotmg # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dsbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dscal # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dsdot # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dspmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dspr # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dspr2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dsum # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dswap # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dsymm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dsymv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dsyr # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dsyr2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dsyr2k # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dsyrk # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dtbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dtbsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dtpmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dtpsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dtrmm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dtrmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dtrsm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dtrsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dzamax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dzamin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dzasum # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dznrm2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dzsum # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_icamax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_icamin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_icmax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_icmin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_idamax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_idamin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_idmax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_idmin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_isamax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_isamin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ismax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ismin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_izamax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_izamin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_izmax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_izmin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_samax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_samin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sasum # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_saxpby # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_saxpy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sbdot # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sbdtobf16 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sbf16tos # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sbgemm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sbgemm_batch # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sbgemv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sbstobf16 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_scamax # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_scamin # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_scasum # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_scnrm2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_scopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_scsum # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sdot # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sdsdot # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sgbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sgeadd # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sgemm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sgemm_batch # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sgemmt # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sgemv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sger # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_simatcopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_snrm2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_somatcopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_srot # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_srotg # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_srotm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_srotmg # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ssbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sscal # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sspmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sspr # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sspr2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ssum # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_sswap # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ssymm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ssymv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ssyr # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ssyr2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ssyr2k # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ssyrk # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_stbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_stbsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_stpmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_stpsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_strmm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_strmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_strsm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_strsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_xerbla # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zaxpby # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zaxpy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zaxpyc # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zcopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zdotc # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zdotc_sub # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zdotu # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zdotu_sub # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zdrot # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zdscal # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zgbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zgeadd # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zgemm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zgemm3m # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zgemm_batch # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zgemmt # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zgemv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zgerc # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zgeru # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zhbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zhemm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zhemv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zher # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zher2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zher2k # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zherk # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zhpmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zhpr # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zhpr2 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zimatcopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zomatcopy # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zrotg # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zscal # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zswap # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zsymm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zsyr2k # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_zsyrk # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ztbmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ztbsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ztpmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ztpsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ztrmm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ztrmv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ztrsm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_ztrsv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function goto_set_num_threads # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function openblas_get_config # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function openblas_get_corename # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function openblas_get_num_procs # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function openblas_get_num_threads # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function openblas_get_parallel # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function openblas_set_num_threads # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function openblas_set_num_threads_local # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function openblas_set_threads_callback_function # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h + +#### Extracted from: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h + +--include-constant OPENBLAS_ARCH_ARM64 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_CHAR_CORENAME # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_C_GCC # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_DTB_DEFAULT_ENTRIES # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_DTB_SIZE # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_GEMM_MULTITHREAD_THRESHOLD # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_HAVE_C11 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_L1_DATA_LINESIZE # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_L1_DATA_SIZE # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_L2_ASSOCIATIVE # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_L2_LINESIZE # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_L2_SIZE # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_NEEDBUNDERSCORE # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_OS_DARWIN # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS_VERSION # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-constant OPENBLAS___64BIT__ # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-typedef BLASLONG # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-typedef BLASULONG # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-typedef bfloat16 # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-typedef blasint # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-typedef openblas_complex_double # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-typedef openblas_complex_float # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h +--include-typedef openblas_complex_xdouble # header: /opt/homebrew/Cellar/openblas/0.3.30/include/openblas_config.h diff --git a/generated/includes_blis_cblas.txt b/generated/includes_blis_cblas.txt new file mode 100644 index 00000000..a30598c3 --- /dev/null +++ b/generated/includes_blis_cblas.txt @@ -0,0 +1,4701 @@ +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h + +--include-constant __API_TO_BE_DEPRECATED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_DRIVERKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_IOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_KERNELKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACCATALYST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_TVOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_VISIONOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_WATCHOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h + +--include-constant __MAC_OS_X_VERSION_MAX_ALLOWED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h +--include-constant __MAC_OS_X_VERSION_MIN_REQUIRED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternalLegacy.h + +--include-constant __ENABLE_LEGACY_MAC_AVAILABILITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternalLegacy.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h + +--include-constant __AVAILABILITY_FILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __AVAILABILITY_VERSIONS_VERSION_HASH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __AVAILABILITY_VERSIONS_VERSION_STRING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_3_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_3_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_3_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_4_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_4_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_5_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_5_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_5_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_19_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_20_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_21_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_2_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_2_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_3_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_3_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_3_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_5_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_5_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_6_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_6_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_7_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_7_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_15 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_9 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_0_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_1_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_2_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_2_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_1_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_6_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_6_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_6_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_abort.h + +--include-function abort # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_abort.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h + +--include-function ctermid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h +--include-constant L_ctermid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h + +--include-function ___runetype # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-function ___tolower # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-function ___toupper # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-function __maskrune # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-function __tolower # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-function __toupper # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_A # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_B # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_C # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_D # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_G # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_I # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_L # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_P # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_Q # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_R # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_S # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SW0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SW1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SW2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SW3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SWM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SWS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_T # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_U # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_X # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_printf.h + +--include-function printf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_printf.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h + +--include-function __srget # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function __svfscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function __swbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function clearerr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function dprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fclose # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fdopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function feof # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ferror # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fflush # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fgetc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fgetpos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fgets # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fileno # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function flockfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fmemopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fputc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fputs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fread # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function freopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fseek # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fseeko # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fsetpos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ftell # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ftello # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ftrylockfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function funlockfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fwrite # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getc_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getchar # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getchar_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getdelim # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getline # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function gets # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function open_memstream # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function pclose # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function perror # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function popen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putc_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putchar # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putchar_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function puts # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function remove # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function rename # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function rewind # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function scanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function setbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function setvbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function snprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function sprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function sscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function tempnam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function tmpfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function tmpnam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ungetc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vdprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vfprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vfscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vsnprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vsprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vsscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-struct __sFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-struct __sFILEX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-struct __sbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-typedef FILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-typedef fpos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-var __stderrp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-var __stdinp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-var __stdoutp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant BUFSIZ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant EOF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant FILENAME_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant FOPEN_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant L_tmpnam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant P_tmpdir # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant TMP_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant _IOFBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant _IOLBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant _IONBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SALC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SAPP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SEOF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SIGN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SLBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SMBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SMOD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SNBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SNPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SOFF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SOPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SRD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SRW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SSTR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SWR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h + +--include-function _Exit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function a64l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function abs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function at_quick_exit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function atexit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function atof # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function atoi # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function atol # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function atoll # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function bsearch # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function div # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function drand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function ecvt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function erand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function exit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function fcvt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function gcvt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function getenv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function getsubopt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function grantpt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function initstate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function jrand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function l64a # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function labs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function lcong48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function ldiv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function llabs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function lldiv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function lrand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mblen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mbstowcs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mbtowc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mkstemp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mktemp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mrand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function nrand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function posix_openpt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function ptsname # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function putenv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function qsort # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function quick_exit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function rand # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function rand_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function random # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function realpath # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function seed48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function setenv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function setkey # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function setstate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function srand # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function srand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function srandom # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtod # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtof # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtol # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtold # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtoll # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtoul # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtoull # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function system # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function unlockpt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function unsetenv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function wcstombs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function wctomb # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-struct div_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-struct ldiv_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-struct lldiv_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-var __mb_cur_max # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-constant EXIT_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-constant EXIT_SUCCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-constant RAND_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h + +--include-function memccpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function memchr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function memcmp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function memcpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function memmove # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function memset # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function stpcpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function stpncpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strcat # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strchr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strcmp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strcoll # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strcpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strcspn # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strdup # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strerror # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strerror_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strlen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strncat # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strncmp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strncpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strndup # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strnlen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strpbrk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strrchr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strsignal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strspn # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strstr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strtok # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strtok_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strxfrm # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h + +--include-function asctime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function asctime_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function clock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function clock_getres # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function clock_gettime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function clock_settime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function ctime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function ctime_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function difftime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function getdate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function gmtime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function gmtime_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function localtime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function localtime_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function mktime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function nanosleep # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function strftime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function strptime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function time # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function timespec_get # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function tzset # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-struct tm # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-var daylight # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-var getdate_err # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-var timezone # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-var tzname # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant CLOCKS_PER_SEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant CLOCK_MONOTONIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant CLOCK_PROCESS_CPUTIME_ID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant CLOCK_REALTIME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant CLOCK_THREAD_CPUTIME_ID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant TIME_UTC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant _CLOCK_MONOTONIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant _CLOCK_PROCESS_CPUTIME_ID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant _CLOCK_REALTIME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant _CLOCK_THREAD_CPUTIME_ID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h + +--include-typedef __darwin_nl_item # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-typedef __darwin_wctrans_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-typedef __darwin_wctype_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-constant _FORTIFY_SOURCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-constant __DARWIN_WCHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-constant __DARWIN_WCHAR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-constant __DARWIN_WEOF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_intmax_t.h + +--include-typedef intmax_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_intmax_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint16_t.h + +--include-typedef uint16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint16_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint32_t.h + +--include-typedef uint32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint32_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint64_t.h + +--include-typedef uint64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint64_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint8_t.h + +--include-typedef uint8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint8_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uintmax_t.h + +--include-typedef uintmax_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uintmax_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_limits.h + +--include-constant __DARWIN_CLK_TCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_limits.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_mcontext.h + +--include-struct __darwin_mcontext32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_mcontext.h +--include-struct __darwin_mcontext64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_mcontext.h +--include-typedef mcontext_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_mcontext.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h + +--include-union __mbstate_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_clock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_ct_rune_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_intptr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_mbstate_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_natural_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_ptrdiff_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_rune_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_socklen_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_ssize_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_time_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_va_list # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_wchar_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_wint_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-constant USE_CLANG_TYPES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h + +--include-constant CHAR_BIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant CHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant CHAR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant INT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant INT_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant LLONG_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant LLONG_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant LONG_BIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant LONG_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant LONG_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant MB_LEN_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant SCHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant SCHAR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant SHRT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant SHRT_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant SSIZE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant UCHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant UINT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant ULLONG_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant ULONG_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant USE_CLANG_LIMITS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant USHRT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant WORD_BIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/signal.h + +--include-typedef sig_atomic_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/signal.h +--include-constant _ARM_SIGNAL_ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/signal.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h + +--include-typedef register_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h +--include-typedef syscall_arg_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/float.h + +--include-constant DBL_HAS_SUBNORM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/float.h +--include-constant FLT_HAS_SUBNORM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/float.h +--include-constant LDBL_HAS_SUBNORM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/float.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h + +--include-struct __arm_legacy_debug_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __arm_pagein_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_cpmu_state64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_debug_state32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_debug_state64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_exception_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_exception_state64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_exception_state64_v2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_neon_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_neon_state64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_sme2_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_sme_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_sme_za_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_sve_p_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_sve_z_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_thread_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_thread_state64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_vfp_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-constant __DARWIN_OPAQUE_ARM_THREAD_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/boolean.h + +--include-typedef boolean_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/boolean.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h + +--include-constant EXCEPTION_CODE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_BREAKPOINT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_DA_ALIGN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_DA_DEBUG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_DZ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_ID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_IO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_IX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_OF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_UF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_UNDEFINED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_PAC_FAIL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_SME_DISALLOWED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_SP_ALIGN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_SWP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_UNDEFINED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_MASK_MACHINE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_TYPES_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/kern_return.h + +--include-typedef kern_return_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/kern_return.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h + +--include-struct processor_cpu_stat # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-struct processor_cpu_stat64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-typedef processor_cpu_stat64_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-typedef processor_cpu_stat64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-typedef processor_cpu_stat_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-typedef processor_cpu_stat_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-constant PROCESSOR_CPU_STAT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-constant PROCESSOR_CPU_STAT64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-constant PROCESSOR_CPU_STAT64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-constant PROCESSOR_CPU_STAT_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_state.h + +--include-constant ARM_THREAD_STATE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_state.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h + +--include-struct arm_state_hdr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-struct arm_unified_thread_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_debug_state32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_debug_state64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_debug_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_exception_state32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_exception_state64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_exception_state64_v2_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_exception_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_neon_state32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_neon_state64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_neon_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_pagein_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_sme2_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_sme_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_sme_za_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_state_hdr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_sve_p_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_sve_z_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_thread_state32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_thread_state64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_thread_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_unified_thread_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_vfp_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_CPMU_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE32_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE64_V2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE64_V2_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_NEON_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_NEON_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_NEON_STATE64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_NEON_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_PAGEIN_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_PAGEIN_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME2_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME2_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE11 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE12 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE14 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE15 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE9 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SVE_P_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SVE_P_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SVE_Z_STATE1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SVE_Z_STATE2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SVE_Z_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE32_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_UNIFIED_THREAD_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_UNIFIED_THREAD_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_VFP_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_VFP_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant MACHINE_THREAD_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant MACHINE_THREAD_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant THREAD_MACHINE_STATE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant THREAD_STATE_FLAVORS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant THREAD_STATE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h + +--include-constant BYTE_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MAX_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MAX_ADDRESS_RAW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MAX_GPU_CARVEOUT_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_RAW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MIN_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MIN_ADDRESS_RAW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MIN_GPU_CARVEOUT_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_RAW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MAX_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MAX_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MAX_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MIN_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MIN_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MIN_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant SWI_SYSCALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant VM_MAP_MAX_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant VM_MAP_MIN_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant VM_MAX_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant VM_MAX_PAGE_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant VM_MIN_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h + +--include-typedef integer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef mach_port_context_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef mach_vm_address_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef mach_vm_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef mach_vm_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef natural_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm32_address_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm32_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm32_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm_map_address_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm_map_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm_map_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/boolean.h + +--include-constant FALSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/boolean.h +--include-constant TRUE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/boolean.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h + +--include-struct mach_timespec # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef alarm_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef clock_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef clock_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef clock_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef clock_res_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef mach_timespec_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef sleep_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant ALRMTYPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant CALENDAR_CLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant CLOCK_ALARM_CURRES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant CLOCK_ALARM_MAXRES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant CLOCK_ALARM_MINRES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant CLOCK_GET_TIME_RES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant NSEC_PER_MSEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant NSEC_PER_SEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant NSEC_PER_USEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant REALTIME_CLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant SYSTEM_CLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant TIME_ABSOLUTE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant TIME_RELATIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant USEC_PER_SEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h + +--include-struct dyld_kernel_image_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h +--include-struct dyld_kernel_process_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h +--include-typedef dyld_kernel_image_info_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h +--include-typedef dyld_kernel_image_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h +--include-typedef dyld_kernel_process_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h + +--include-typedef exception_behavior_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_behavior_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_data_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_flavor_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_mask_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_mask_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_port_info_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef mach_exception_code_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef mach_exception_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef mach_exception_data_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef mach_exception_subcode_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXCEPTION_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXCEPTION_IDENTITY_PROTECTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXCEPTION_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXCEPTION_STATE_IDENTITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXCEPTION_STATE_IDENTITY_PROTECTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_ARITHMETIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_BAD_ACCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_BAD_INSTRUCTION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_BREAKPOINT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_CORPSE_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_CRASH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_EMULATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MACF_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MACF_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MACH_SYSCALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_ARITHMETIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_BAD_ACCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_BAD_INSTRUCTION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_BREAKPOINT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_CORPSE_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_CRASH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_EMULATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_MACH_SYSCALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_RESOURCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_RPC_ALERT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_SOFTWARE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_SYSCALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_RESOURCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_RPC_ALERT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_SOFTWARE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_SOFT_SIGNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_SYSCALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant FIRST_EXCEPTION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant MACH_EXCEPTION_BACKTRACE_PREFERRED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant MACH_EXCEPTION_CODES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant MACH_EXCEPTION_ERRORS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant MACH_EXCEPTION_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h + +--include-struct host_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_can_has_debugger_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_cpu_load_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_load_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_preferred_user_arch # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_priority_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_sched_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct kernel_resource_sizes # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_can_has_debugger_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_can_has_debugger_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_cpu_load_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_cpu_load_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_info64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_load_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_load_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_preferred_user_arch_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_preferred_user_arch_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_priority_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_priority_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_purgable_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_purgable_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_sched_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_sched_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef kernel_boot_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef kernel_resource_sizes_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef kernel_resource_sizes_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef kernel_version_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_CAN_HAS_DEBUGGER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_CAN_HAS_DEBUGGER_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_CPU_LOAD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_CPU_LOAD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_DEBUG_INFO_INTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_EXPIRED_TASK_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_EXTMOD_INFO64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_EXTMOD_INFO64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_EXTMOD_INFO64_LATEST_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_LOAD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_LOAD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_MACH_MSG_TRAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_PREFERRED_USER_ARCH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_PREFERRED_USER_ARCH_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_PRIORITY_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_PRIORITY_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_RESOURCE_SIZES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_RESOURCE_SIZES_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_SCHED_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_SCHED_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_SEMAPHORE_TRAPS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO64_LATEST_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO64_REV0_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO64_REV1_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO_LATEST_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO_REV0_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO_REV1_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO_REV2_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_PURGABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_PURGABLE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant KERNEL_BOOT_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant KERNEL_VERSION_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h + +--include-constant HOST_CALENDAR_CHANGED_REPLYID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h +--include-constant HOST_CALENDAR_SET_REPLYID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h +--include-constant HOST_NOTIFY_CALENDAR_CHANGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h +--include-constant HOST_NOTIFY_CALENDAR_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h +--include-constant HOST_NOTIFY_TYPE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h + +--include-constant HOST_AMFID_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_ATM_NOTIFICATION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_AUDIT_CONTROL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_AUTOMOUNTD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_CHUD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_CLOSURED_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_COALITION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_CONTAINERD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_DOUBLEAGENTD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_DYNAMIC_PAGER_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_FAIRPLAYD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_FILECOORDINATIOND_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_GSSD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_IOCOMPRESSIONSTATS_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_IO_MAIN_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_KEXTD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_KTRACE_BACKGROUND_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_LAST_SPECIAL_KERNEL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_LAUNCHCTL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_LOCAL_NODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_LOCKD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_MANAGEDAPPDISTD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_MAX_SPECIAL_KERNEL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_MAX_SPECIAL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_MEMORY_ERROR_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_MIN_SPECIAL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_NODE_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_PRIV_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_RESOURCE_NOTIFY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_SEATBELT_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_SECURITY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_SYSDIAGNOSE_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_SYSPOLICYD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_TELEMETRY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_UNFREED_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_USER_NOTIFICATION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_XPC_EXCEPTION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h + +--include-constant KERN_ABORTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_ALREADY_IN_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_ALREADY_WAITING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_CODESIGN_ERROR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_DEFAULT_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_DENIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_EXCEPTION_PROTECTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INSUFFICIENT_BUFFER_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_ARGUMENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_CAPABILITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_HOST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_KC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_LEDGER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_MEMORY_CONTROL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_OBJECT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_PROCESSOR_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_RIGHT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_SECURITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_TASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_VALUE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_LOCK_OWNED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_LOCK_OWNED_SELF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_LOCK_SET_DESTROYED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_LOCK_UNSTABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MEMORY_DATA_MOVED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MEMORY_ERROR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MEMORY_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MEMORY_PRESENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MEMORY_RESTART_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MISSING_KC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NAME_EXISTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NODE_DOWN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_DEPRESSED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_FOUND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_IN_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_RECEIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_SUPPORTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_WAITING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NO_ACCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NO_SPACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_OPERATION_TIMED_OUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_POLICY_LIMIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_POLICY_STATIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_PROTECTION_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RESOURCE_SHORTAGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RETURN_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RIGHT_EXISTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RPC_CONTINUE_ORPHAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RPC_SERVER_TERMINATED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RPC_TERMINATE_ORPHAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_SEMAPHORE_DESTROYED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_SUCCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_TERMINATED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_UREFS_OVERFLOW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h + +--include-struct kmod_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-struct kmod_info_32_v1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-struct kmod_info_64_v1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-struct kmod_reference # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_args_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_control_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_info_32_v1_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_info_64_v1_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_info_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_reference_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_start_func_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_stop_func_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-constant KMOD_INFO_VERSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-constant KMOD_MAX_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-constant KMOD_RETURN_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-constant KMOD_RETURN_SUCCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h + +--include-function mach_absolute_time # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-function mach_approximate_time # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-function mach_continuous_approximate_time # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-function mach_continuous_time # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-function mach_timebase_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-function mach_wait_until # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-typedef mach_timebase_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-typedef mach_timebase_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h + +--include-typedef UNDServerRef # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef alarm_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef alarm_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef arcade_register_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef bootstrap_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef clock_ctrl_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef clock_ctrl_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef clock_reply_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef clock_serv_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef clock_serv_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef coalition_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef emulation_vector_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef eventlink_port_pair_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef exception_handler_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef exception_handler_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef exception_handler_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef exception_port_arrary_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef exception_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef host_name_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef host_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef host_priv_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef host_security_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef host_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef io_main_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ipc_eventlink_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ipc_space_inspect_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ipc_space_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ipc_space_read_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ipc_space_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef kcdata_object_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef labelstr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_amount_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_item_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef lock_set_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef lock_set_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef mach_eventlink_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef mach_task_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef mach_thread_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef mem_entry_name_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef nspace_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef nspace_path_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_control_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_control_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_name_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_name_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_name_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef semaphore_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef semaphore_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_id_token_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_inspect_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_policy_get_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_policy_set_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_read_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_suspension_token_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_act_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_act_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_act_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_act_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_inspect_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_read_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef user_subsystem_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef vfs_path_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef vm_task_entry_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant ALARM_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant ARCADE_REG_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant CLOCK_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant COALITION_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant HOST_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant HOST_PRIV_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant HOST_SECURITY_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant IPC_EVENTLINK_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant IPC_SPACE_INSPECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant IPC_SPACE_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant IPC_SPACE_READ_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant KCDATA_OBJECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant LEDGER_ITEM_INFINITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant LEDGER_LIMIT_INFINITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant LEDGER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant LOCK_SET_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant MACH_EVENTLINK_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant PROCESSOR_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant PROCESSOR_SET_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant SEMAPHORE_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_FLAVOR_CONTROL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_FLAVOR_INSPECT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_FLAVOR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_FLAVOR_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_FLAVOR_READ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_ID_TOKEN_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_INSPECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_NAME_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_READ_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_FLAVOR_CONTROL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_FLAVOR_INSPECT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_FLAVOR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_FLAVOR_READ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_INSPECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_READ_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THR_ACT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TID_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant UND_SERVER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h + +--include-struct mach_voucher_attr_recipe_data # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef ipc_voucher_attr_control_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef ipc_voucher_attr_manager_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef ipc_voucher_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_command_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_content_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_content_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_control_flags_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_control_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_importance_refs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_key_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_key_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_manager_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_raw_recipe_array_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_raw_recipe_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_raw_recipe_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_raw_recipe_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_recipe_command_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_recipe_command_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_recipe_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_recipe_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_recipe_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_value_flags_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_value_handle_array_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_value_handle_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_value_handle_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_value_reference_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_name_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_selector_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant IPC_VOUCHER_ATTR_CONTROL_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant IPC_VOUCHER_ATTR_MANAGER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant IPC_VOUCHER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_ACTIVITY_ID_COUNT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_AUTO_REDEEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_BITS_STORE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_CONTROL_FLAGS_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_CONTROL_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_IMPORTANCE_SELF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_ATM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_BANK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_BITS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_IMPORTANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_NUM_WELL_KNOWN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_PTHPRIORITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_TEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_USER_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_MANAGER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_MAX_RAW_RECIPE_ARRAY_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_NOOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_REDEEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_REMOVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_SEND_PREPROCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_SET_VALUE_HANDLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_TEST_STORE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_USER_DATA_STORE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_VALUE_FLAGS_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_VALUE_FLAGS_PERSIST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_VALUE_MAX_NESTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_IMPORTANCE_ATTR_ADD_EXTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_IMPORTANCE_ATTR_DROP_EXTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_NAME_ARRAY_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_NAME_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_SELECTOR_CURRENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_SELECTOR_EFFECTIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_TRAP_STACK_LIMIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h + +--include-typedef cpu_subtype_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-typedef cpu_threadtype_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-typedef cpu_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_11 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_12 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_14 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_15 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_9 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_BLIZZARD_AVALANCHE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_BRAVA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_COLL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_CYCLONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_DONAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_EVEREST_SAWTOOTH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_FIRESTORM_ICESTORM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_HURRICANE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_IBIZA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_LIGHTNING_THUNDER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_LOBOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_MONSOON_MISTRAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_PALMA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_SWIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_TAHITI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_TUPAI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_TWISTER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_TYPHOON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_VORTEX_TEMPEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_XSCALE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_6_13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_6_23 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_6_26 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_BROADWELL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_COMETLAKE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_HASWELL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_ICELAKE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_IVYBRIDGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_KABYLAKE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_NEHALEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_PENRYN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_SANDYBRIDGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_SKYLAKE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_WESTMERE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_POWERPC_G3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_POWERPC_G4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_POWERPC_G5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_UNKNOWN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_HA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_HC_HD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_HG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_HP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_HS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_UNKNOWN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_ARCH_ABI64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_ARCH_ABI64_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_ARCH_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_STATE_IDLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_STATE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_STATE_NICE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_STATE_SYSTEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_STATE_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_386 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_486 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_486SX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_586 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ANY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64E # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64_32_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64_32_V8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64_PTR_AUTH_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64_V8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V4T # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V5TEJ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V6M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7EM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7F # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7K # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7S # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V8M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_XSCALE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_BIG_ENDIAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_CELERON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_CELERON_MOBILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_HPPA_7100 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_HPPA_7100LC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_HPPA_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_I386_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_I860_860 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_I860_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_INTEL_FAMILY_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_INTEL_MODEL_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ITANIUM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ITANIUM_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_LIB64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_LITTLE_ENDIAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC68030 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC68030_ONLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC68040 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC680x0_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC88000_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC88100 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC88110 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC98000_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC98601 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R2000 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R2000a # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R2300 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R2600 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R2800 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R3000 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R3000a # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MULTIPLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTII_M3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTII_M5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_3_M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_3_XEON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_4_M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTPRO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_601 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_602 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_603 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_603e # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_603ev # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_604 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_604e # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_620 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_7400 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_7450 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_750 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_970 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PTRAUTH_ABI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_SPARC_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_UVAXI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_UVAXII # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_UVAXIII # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX730 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX750 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX780 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX785 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX8200 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX8500 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX8600 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX8650 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX8800 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_X86_64_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_X86_64_H # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_X86_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_X86_ARCH1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_XEON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_XEON_MP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_THREADTYPE_INTEL_HTT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_THREADTYPE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_ANY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_ARM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_ARM64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_ARM64_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_HPPA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_I386 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_I860 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_MC680x0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_MC88000 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_MC98000 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_POWERPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_POWERPC64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_SPARC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_VAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_X86 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_X86_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine/thread_state.h + +--include-constant THREAD_STATE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine/thread_state.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h + +--include-struct memory_object_attr_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-struct memory_object_behave_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-struct memory_object_perf_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_attr_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_attr_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_behave_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_behave_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_cluster_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_control_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_copy_strategy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_default_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_fault_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_perf_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_perf_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_return_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef vm_object_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_4K_DATA_ADDR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_COPYBACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_FLAGS_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_FLAGS_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_FLAGS_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_GRAB_SECLUDED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_INNERWBACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_IO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_LEDGER_TAGGED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_NAMED_CREATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_NAMED_REUSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_NOOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_ONLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_POSTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_POSTED_COMBINED_REORDERED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_POSTED_REORDERED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_PROT_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_PURGABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_PURGABLE_KERNEL_ONLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_RT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_USE_DATA_ADDR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_VM_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_VM_SHARE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_WCOMB # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_WTHRU # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_ATTRIBUTE_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_ATTR_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_BEHAVE_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_BEHAVIOR_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_CONTROL_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_CALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_DELAY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_DELAY_FORK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_INVALID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_SYMMETRIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_SYNC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_TEMPORARY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DATA_FLUSH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DATA_FLUSH_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DATA_NO_CHANGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DATA_PURGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DATA_SYNC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DEFAULT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_IO_SYNC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_NAME_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_PERFORMANCE_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_PERF_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RELEASE_NO_OP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RESPECT_CACHE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RETURN_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RETURN_ANYTHING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RETURN_DIRTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RETURN_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_TERMINATE_IDLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h + +--include-function mach_msg # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-function mach_msg_overwrite # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-function mach_voucher_deallocate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct audit_token_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_audit_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_base_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_body_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_context_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_empty_rcv_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_empty_send_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_guarded_port_descriptor32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_guarded_port_descriptor64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_guarded_port_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_header_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_mac_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_descriptor32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_descriptor64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_ports_descriptor32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_ports_descriptor64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_ports_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_port_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_security_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_seqno_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_type_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct msg_labels_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct security_token_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-union mach_msg_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-union mach_msg_empty_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_bits_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_copy_options_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_descriptor_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_filter_id # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_format_0_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_guard_flags_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_max_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_option_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_options_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_priority_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_return_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_timeout_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_trailer_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_trailer_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_trailer_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_type_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_type_number_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_type_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-var KERNEL_AUDIT_TOKEN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-var KERNEL_SECURITY_TOKEN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_CIRCULAR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_COMPLEX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_DENAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_DENAPHOLDASRT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_IMPHOLDASRT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_LOCAL_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_PORTS_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_RAISEIMP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_REMOTE_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_USED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_VOUCHER_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_ZERO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_KIND_NORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_KIND_NOTIFICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_ALLOCATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_BODY_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_DESCRIPTOR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_DESCRIPTOR_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_FILTER_POLICY_ALLOW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_GUARDED_PORT_DESCRIPTOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_GUARD_FLAGS_IMMOVABLE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_GUARD_FLAGS_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_GUARD_FLAGS_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_GUARD_FLAGS_UNGUARDED_ON_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_IPC_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_IPC_SPACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_OOL_DESCRIPTOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_OOL_PORTS_DESCRIPTOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_OOL_VOLATILE_DESCRIPTOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_OPTION_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_OVERWRITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_PHYSICAL_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_PORT_DESCRIPTOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_PRIORITY_UNSPECIFIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_SIZE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_SIZE_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_SIZE_RELIABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_STRICT_REPLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_SUCCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TIMEOUT_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TRAILER_FORMAT_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TRAILER_FORMAT_0_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TRAILER_MINIMUM_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_COPY_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_COPY_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_DISPOSE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_DISPOSE_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_DISPOSE_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_LAST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_MAKE_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_MAKE_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_MOVE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_MOVE_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_MOVE_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_POLYMORPHIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_PORT_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_PORT_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_PORT_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_PORT_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_PORT_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_VIRTUAL_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_VM_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_VM_SPACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_BODY_ERROR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_GUARDED_DESC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_HEADER_ERROR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INTERRUPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INTERRUPTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_ARGUMENTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_REPLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_TRAILER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_TYPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_IN_PROGRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_IN_PROGRESS_TIMED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_IN_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_LARGE_IDENTITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_MSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_OVERWRITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_PORT_CHANGED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_PORT_DIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_SCATTER_SMALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_SYNC_PEEK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_SYNC_WAIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TIMED_OUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TIMEOUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TOO_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_AUDIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_AV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_CTX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_LABELS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_SENDER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_SEQNO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_VOUCHER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_ALWAYS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_AUX_TOO_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_AUX_TOO_SMALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_FILTER_NONFATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_IMPORTANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INTERRUPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INTERRUPTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_CONTEXT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_DEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_HEADER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_MEMORY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_OPTIONS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_REPLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_RIGHT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_RT_OOL_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_TRAILER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_TYPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_VOUCHER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_IN_PROGRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_MSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_MSG_FILTERED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_MSG_TOO_SMALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_NODENAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_NOIMPORTANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_NO_BUFFER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_NO_GRANT_DEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_OVERRIDE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_PROPAGATE_QOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_SYNC_BOOTSTRAP_CHECKIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_SYNC_OVERRIDE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_SYNC_USE_THRPRI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_TIMED_OUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_TIMEOUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_TOO_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_TRAILER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MAX_TRAILER_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h + +--include-struct policy_bases # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_fifo_base # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_fifo_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_fifo_limit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_infos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_limits # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_rr_base # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_rr_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_rr_limit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_timeshare_base # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_timeshare_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_timeshare_limit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_base_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_base_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_base_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_base_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_limit_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_limit_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_limit_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_limit_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_base_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_base_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_limit_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_limit_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_base_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_base_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_limit_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_limit_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICYCLASS_FIXEDPRI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_FIFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_FIFO_BASE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_FIFO_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_FIFO_LIMIT_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_RR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_RR_BASE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_RR_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_RR_LIMIT_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_TIMESHARE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_TIMESHARE_BASE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_TIMESHARE_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_TIMESHARE_LIMIT_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h + +--include-struct mach_port_guard_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_port_info_ext # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_port_limits # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_port_options # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_port_qos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_port_status # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_service_port_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-union union (anonymous at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h:378:2) # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_delta_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_guard_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_info_ext_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_limits_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_mscount_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_msgcount_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_name_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_options_ptr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_options_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_qos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_right_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_rights_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_seqno_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_srights_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_status_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_type_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_urefs_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_service_port_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_service_port_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant GUARD_TYPE_MACH_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_DEAD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_DENAP_RECEIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_DNREQUESTS_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_DNREQUESTS_SIZE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_GUARD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_GUARD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_IMPORTANCE_RECEIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_INFO_EXT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_INFO_EXT_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_LIMITS_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_LIMITS_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_BASIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_SMALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_ZERO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RECEIVE_STATUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RECEIVE_STATUS_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_DEAD_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_LABELH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_NUMBER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_PORT_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_SERVICE_THROTTLED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_SERVICE_THROTTLED_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_SRIGHTS_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_SRIGHTS_PRESENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_GUARDED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_GUARD_IMMOVABLE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_IMP_DONATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_NO_GRANT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_REVIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_STRICT_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_TASKPTR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_TEMPOWNER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TEMPOWNER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_ALL_RIGHTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_DEAD_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_DNREQUEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_LABELH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_PORT_OR_DEAD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_PORT_RIGHTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_PORT_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SEND_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SEND_RIGHTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SPREQUEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SPREQUEST_DELAYED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_SERVICE_PORT_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_SERVICE_PORT_INFO_STRING_NAME_MAX_BUF_LEN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MAX_FATAL_kGUARD_EXC_CODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MAX_OPTIONAL_kGUARD_EXC_CODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_IMMOVABLE_PINNED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_MOD_REFS_PINNED_COPYIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_MOD_REFS_PINNED_DEALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_MOD_REFS_PINNED_DESTROY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_INVALID_REPLY_DISP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_INVALID_REPLY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_INVALID_VOUCHER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_MISMATCHED_PERSONA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_NO_BANK_ATTR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_IMMOVABLE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_STRICT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_CONNECTION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_CONTEXT_AS_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_DENAP_RECEIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_ENFORCE_REPLY_PORT_SEMANTICS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_EXCEPTION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_FILTER_MSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_IMMOVABLE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_IMPORTANCE_RECEIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_INSERT_SEND_RIGHT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_PROVISIONAL_REPLY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_QLIMIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_REPLY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_SERVICE_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_STRICT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_TEMPOWNER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_TG_BLOCK_TRACKING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_DESTROY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_EXCEPTION_BEHAVIOR_ENFORCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_IMMOVABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_IMMOVABLE_NON_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INCORRECT_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INVALID_ARGUMENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INVALID_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INVALID_OPTIONS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INVALID_RIGHT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INVALID_VALUE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_KERN_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_KERN_NO_SPACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_KERN_RESOURCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_MOD_REFS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_MOD_REFS_NON_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_MSG_FILTERED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_PROVISIONAL_REPLY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_RCV_GUARDED_DESC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_RCV_INVALID_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_REQUIRE_REPLY_PORT_SEMANTICS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_RIGHT_EXISTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SEND_INVALID_REPLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SEND_INVALID_RIGHT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SEND_INVALID_VOUCHER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SERVICE_PORT_VIOLATION_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SET_CONTEXT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_STRICT_REPLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_THREAD_SET_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_UNGUARDED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h + +--include-struct processor_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-struct processor_cpu_load_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-struct processor_set_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-struct processor_set_load_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-union union (anonymous at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h:103:2) # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_cpu_load_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_cpu_load_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_info_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_load_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_load_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant LOAD_SCALE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_CPU_LOAD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_CPU_LOAD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_PM_REGS_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_SET_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_SET_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_SET_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_SET_LOAD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_SET_LOAD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_TEMPERATURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h + +--include-struct gpu_energy_data # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct mach_task_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_absolutetime_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_affinity_tag_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_basic_info_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_basic_info_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_basic_info_64_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_dyld_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_events_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_extmod_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_flags_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_kernelmemory_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_power_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_power_info_v2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_security_config_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_thread_times_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_trace_memory_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_vm_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_wait_state_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef gpu_energy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef mach_task_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef mach_task_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_absolutetime_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_absolutetime_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_affinity_tag_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_affinity_tag_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_32_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_64_2_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_64_2_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_64_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_corpse_forking_behavior_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_dyld_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_dyld_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_events_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_events_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_exc_guard_behavior_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_extmod_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_extmod_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_flags_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_flags_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_kernelmemory_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_kernelmemory_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_power_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_power_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_power_info_v2_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_power_info_v2_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_purgable_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_security_config_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_thread_times_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_thread_times_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_trace_memory_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_trace_memory_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_vm_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_vm_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_wait_state_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_wait_state_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant MACH_TASK_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant MACH_TASK_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_ABSOLUTETIME_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_ABSOLUTETIME_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_AFFINITY_TAG_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_AFFINITY_TAG_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_AUDIT_TOKEN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_AUDIT_TOKEN_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC2_INFO_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_32_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_64_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_64_2_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_CORPSE_FORKING_DISABLED_MEM_DIAG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_DEBUG_INFO_INTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_DYLD_ALL_IMAGE_INFO_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_DYLD_ALL_IMAGE_INFO_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_DYLD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_DYLD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EVENTS_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EVENTS_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_MP_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_MP_CORPSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_MP_DELIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_MP_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_MP_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_VM_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_VM_CORPSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_VM_DELIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_VM_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_VM_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXTMOD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXTMOD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_FLAGS_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_FLAGS_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_KERNELMEMORY_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_KERNELMEMORY_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_POWER_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_POWER_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_POWER_INFO_V2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_POWER_INFO_V2_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_POWER_INFO_V2_COUNT_OLD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SCHED_FIFO_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SCHED_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SCHED_RR_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SCHED_TIMESHARE_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SECURITY_CONFIG_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SECURITY_CONFIG_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SECURITY_TOKEN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SECURITY_TOKEN_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_THREAD_TIMES_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_THREAD_TIMES_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_TRACE_MEMORY_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_TRACE_MEMORY_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_PURGEABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_PURGEABLE_ACCOUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV0_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV1_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV2_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV3_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV4_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV5_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV6_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV7_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_WAIT_STATE_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_WAIT_STATE_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TF_64B_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TF_LP64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h + +--include-struct task_inspect_basic_counts # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-typedef task_inspect_basic_counts_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-typedef task_inspect_basic_counts_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-typedef task_inspect_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-typedef task_inspect_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-constant TASK_INSPECT_BASIC_COUNTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-constant TASK_INSPECT_BASIC_COUNTS_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h + +--include-struct task_category_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-struct task_qos_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_category_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_category_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_latency_qos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_policy_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_qos_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_role_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_throughput_qos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_LAUNCH_DEFAULT_TIER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_UNSPECIFIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_ADAPTIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_ADAPTIVE_IMPORTANT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_DARWINBG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_EXT_DARWINBG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_IMPORTANCE_DONOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_IOS_APPLEDAEMON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_IOS_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_IOS_IMPPROMOTION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_SUPPRESSED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_BACKGROUND_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_BASE_LATENCY_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_BASE_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_BASE_THROUGHPUT_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_CATEGORY_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_CATEGORY_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_CONTROL_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_DARWINBG_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_DEFAULT_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_FOREGROUND_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_GRAPHICS_SERVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_NONUI_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_OVERRIDE_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_POLICY_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_QOS_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_RENICED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_SUPPRESSION_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_THROTTLE_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_UNSPECIFIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_LAUNCH_DEFAULT_TIER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_UNSPECIFIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h + +--include-typedef task_special_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_ACCESS_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_BOOTSTRAP_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_DEBUG_CONTROL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_HOST_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_INSPECT_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_KERNEL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_MAX_SPECIAL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_NAME_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_READ_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_RESOURCE_NOTIFY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h + +--include-struct io_stat_entry # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-struct io_stat_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-struct thread_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-struct thread_extended_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-struct thread_identifier_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef io_stat_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_extended_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_extended_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_identifier_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_identifier_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant IO_NUM_PRIORITIES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant MAXTHREADNAMESIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_DEBUG_INFO_INTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_EXTENDED_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_EXTENDED_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_IDENTIFIER_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_IDENTIFIER_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_SCHED_FIFO_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_SCHED_RR_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_SCHED_TIMESHARE_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_FLAGS_GLOBAL_FORCED_IDLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_FLAGS_IDLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_FLAGS_SWAPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_STATE_HALTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_STATE_RUNNING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_STATE_STOPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_STATE_UNINTERRUPTIBLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_STATE_WAITING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_USAGE_SCALE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h + +--include-struct thread_affinity_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_background_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_extended_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_latency_qos_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_precedence_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_standard_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_throughput_qos_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_time_constraint_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_affinity_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_affinity_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_background_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_background_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_extended_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_extended_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_latency_qos_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_latency_qos_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_latency_qos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_policy_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_precedence_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_precedence_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_standard_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_standard_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_throughput_qos_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_throughput_qos_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_throughput_qos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_time_constraint_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_time_constraint_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_AFFINITY_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_AFFINITY_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_AFFINITY_TAG_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_BACKGROUND_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_BACKGROUND_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_BACKGROUND_POLICY_DARWIN_BG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_EXTENDED_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_EXTENDED_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_LATENCY_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_LATENCY_QOS_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_PRECEDENCE_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_PRECEDENCE_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_STANDARD_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_STANDARD_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_THROUGHPUT_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_THROUGHPUT_QOS_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_TIME_CONSTRAINT_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_TIME_CONSTRAINT_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_special_ports.h + +--include-constant THREAD_INSPECT_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_special_ports.h +--include-constant THREAD_KERNEL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_special_ports.h +--include-constant THREAD_MAX_SPECIAL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_special_ports.h +--include-constant THREAD_READ_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_special_ports.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h + +--include-typedef thread_state_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-typedef thread_state_flavor_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-typedef thread_state_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-typedef thread_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_CONVERT_THREAD_STATE_FROM_SELF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_CONVERT_THREAD_STATE_TO_SELF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_STATE_FLAVOR_LIST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_STATE_FLAVOR_LIST_10_13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_STATE_FLAVOR_LIST_10_15 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_STATE_FLAVOR_LIST_10_9 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_STATE_FLAVOR_LIST_NEW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/time_value.h + +--include-struct time_value # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/time_value.h +--include-typedef time_value_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/time_value.h +--include-constant TIME_MICROS_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/time_value.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h + +--include-typedef vm_machine_attribute_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-typedef vm_machine_attribute_val_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_CACHE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_MIGRATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_REPLICATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_CACHE_FLUSH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_CACHE_SYNC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_DCACHE_FLUSH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_GET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_GET_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_ICACHE_FLUSH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_OFF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_ON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h + +--include-typedef vm_behavior_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_CAN_REUSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_DONTNEED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_FREE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_LAST_VALID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_PAGEOUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_RANDOM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_REUSABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_REUSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_RSEQNTL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_SEQUENTIAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_WILLNEED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_ZERO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_ZERO_WIRED_PAGES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h + +--include-typedef vm_inherit_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_DONATE_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_LAST_VALID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_SHARE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h + +--include-var vm_kernel_page_mask # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h +--include-var vm_kernel_page_shift # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h +--include-var vm_kernel_page_size # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h +--include-var vm_page_mask # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h +--include-var vm_page_shift # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h +--include-var vm_page_size # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h + +--include-typedef vm_prot_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_ALLEXEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_EXECUTE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_EXECUTE_ONLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_IS_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_NO_CHANGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_NO_CHANGE_LEGACY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_READ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_RORW_TP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_STRIP_READ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_TPRO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_WANTS_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_WRITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h + +--include-typedef vm_purgable_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_ALL_MASKS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_BEHAVIOR_FIFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_BEHAVIOR_LIFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_BEHAVIOR_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_BEHAVIOR_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_DEBUG_EMPTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_DEBUG_FAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_DEBUG_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_DEBUG_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_DENY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_EMPTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_GET_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_NONVOLATILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_NO_AGING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_NO_AGING_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_NO_AGING_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_ORDERING_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_ORDERING_NORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_ORDERING_OBSOLETE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_ORDERING_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_PURGE_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_SET_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_SET_STATE_FROM_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_STATE_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_STATE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_STATE_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_VOLATILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_MAKE_FIRST_IN_GROUP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_MAKE_LAST_IN_GROUP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_ORDER_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_ORDER_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h + +--include-struct mach_vm_read_entry # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_page_info_basic # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_read_entry # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_basic_info_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_extended_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_submap_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_submap_info_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_submap_short_info_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_top_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef mach_vm_read_entry_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm32_object_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_page_info_basic_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_page_info_basic_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_page_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_page_info_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_page_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_read_entry_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_basic_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_basic_info_data_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_extended_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_extended_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_recurse_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_recurse_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_info_data_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_short_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_short_info_data_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_top_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_top_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_COW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_EMPTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_LARGE_PAGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_PRIVATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_PRIVATE_ALIASED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_SHARED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_SHARED_ALIASED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_TRUESHARED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_MAP_ENTRY_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_PAGE_INFO_BASIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_PAGE_INFO_BASIC_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_BASIC_INFO_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_BASIC_INFO_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_EXTENDED_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_EXTENDED_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V0_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V0_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V1_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V1_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V2_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V2_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_SHORT_INFO_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_TOP_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_TOP_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h + +--include-function vm_stats # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-struct vm_extmod_statistics # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-struct vm_purgeable_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-struct vm_purgeable_stat # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-struct vm_statistics # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-struct vm_statistics64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_extmod_statistics_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_extmod_statistics_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_purgeable_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_purgeable_stat_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_statistics64_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_statistics64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_statistics_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_statistics_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant GUARD_TYPE_VIRT_MEMORY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant SUPERPAGE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant SUPERPAGE_SIZE_2MB # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant SUPERPAGE_SIZE_ANY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_4GB_CHUNK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_ALIAS_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_ANYWHERE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_FIXED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_HW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_NO_CACHE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_OVERWRITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_PERMANENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_PURGABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_RANDOM_ADDR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_RESILIENT_CODESIGN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_RESILIENT_MEDIA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_RETURN_4K_DATA_ADDR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_RETURN_DATA_ADDR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_SUPERPAGE_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_SUPERPAGE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_SUPERPAGE_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_SUPERPAGE_SIZE_2MB # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_SUPERPAGE_SIZE_ANY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_TPRO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_USER_ALLOCATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_USER_MAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_USER_REMAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_FLAGS_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_FLAGS_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_FLAG_FROM_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_FLAG_NO_FOOTPRINT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_FLAG_NO_FOOTPRINT_FOR_DEBUG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_GRAPHICS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_MEDIA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_NETWORK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_NEURAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_UNCHANGED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ACCELERATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ACCOUNTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ANALYSIS_TOOL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_APPKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_APPLICATION_SPECIFIC_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_APPLICATION_SPECIFIC_16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ASL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ASSETSD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ATS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_AUDIO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_BTINFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CARBON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CGIMAGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_CRABS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_HLS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_MEMORYPOOL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_READCACHE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_REGWARP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_RPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_XPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COLORSYNC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREDATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREDATA_OBJECTIDS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_BACKINGSTORES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_FRAMEBUFFERS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_MISC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_SHARED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_XALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREIMAGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREPROFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CORESERVICES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREUI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREUIFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREUI_CACHED_IMAGE_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CORPSEINFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_DHMM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_DYLD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_DYLD_MALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_DYLIB # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_EAR_DECODER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_FOUNDATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_GENEALOGY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_GLSL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_IMAGEIO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_IOACCELERATOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_IOKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_IOSURFACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_JAVA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_JAVASCRIPT_CORE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_JAVASCRIPT_JIT_EXECUTABLE_ALLOCATOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_JAVASCRIPT_JIT_REGISTER_FILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_LAYERKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_LIBDISPATCH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_LIBNETWORK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MACH_MSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_HUGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_LARGE_REUSABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_LARGE_REUSED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_MEDIUM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_NANO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_PROB_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_SMALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_TINY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_OBJC_DISPATCHERS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_OPENCL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_OS_ALLOC_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_QUICKLOOK_THUMBNAILS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_RAWCAMERA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_REALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_ARENA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_EXECUTABLE_HEAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_INDIRECT_BRANCH_MAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_RETURN_STACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_THREAD_CONTEXT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_USER_LDT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SANITIZER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SBRK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SCENEKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SHARED_PMAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SKYWALK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SQLITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_STACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SWIFT_METADATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SWIFT_RUNTIME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_TCMALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_UNSHARED_PMAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_VIDEOBITSTREAM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_WEBASSEMBLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_WEBCORE_PURGEABLE_BUFFERS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_COPIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_CS_NX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_CS_TAINTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_CS_VALIDATED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_DIRTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_EXTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_FICTITIOUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_PAGED_OUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_PRESENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_REF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_REUSABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_SPECULATIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant __VM_LEDGER_ACCOUNTING_POSTMARK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_DEALLOC_GAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_RECLAIM_COPYIO_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_RECLAIM_INDEX_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_ACCESS_FAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_ASYNC_ACCESS_FAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_COPY_DENIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_LOOKUP_DENIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_RANGE_DENIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_SHARING_DENIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h + +--include-typedef vm_sync_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_ASYNCHRONOUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_CONTIGUOUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_DEACTIVATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_INVALIDATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_KILLPAGES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_REUSABLEPAGES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_SYNCHRONOUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h + +--include-struct mach_vm_range # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-struct mach_vm_range_recipe_v1_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef addr64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef mach_vm_offset_list_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef mach_vm_range_recipe_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef mach_vm_range_recipes_raw_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef mach_vm_range_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef pointer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef ppnum_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef reg64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef upl_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_address_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_map_inspect_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_map_read_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_map_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_named_entry_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_object_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_object_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_FIXED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_FLAVOR_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_FLAVOR_INVALID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_FLAVOR_V1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant PPNUM_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant UPL_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant VM_MAP_INSPECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant VM_MAP_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant VM_MAP_READ_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant VM_NAMED_ENTRY_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h + +--include-struct ipc_info_name # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-struct ipc_info_port # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-struct ipc_info_space # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-struct ipc_info_space_basic # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-struct ipc_info_tree_name # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef exception_handler_info_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_name_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_space_basic_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_space_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_tree_name_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_tree_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h + +--include-function aligned_alloc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function calloc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function free # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function malloc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function posix_memalign # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function realloc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function reallocf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_ptrcheck.h + +--include-constant __has_ptrcheck # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_ptrcheck.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h + +--include-function __ceilf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __copysignf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __cospi # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __cospif # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __exp10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __exp10f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fabsf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __floorf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fmaf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fmaxf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fminf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fpclassifyd # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fpclassifyf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fpclassifyl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __hypotf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __math_errhandling # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __nextafterf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __rintf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __roundf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sincos_stret # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sincosf_stret # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sincospi_stret # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sincospif_stret # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sinpi # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sinpif # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sqrtf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __tanpi # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __tanpif # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __truncf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acosf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acosh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acoshf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acoshl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acosl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asin # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asinf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asinh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asinhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asinhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asinl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atan # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atan2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atan2f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atan2l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atanh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atanhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atanhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atanl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cbrt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cbrtf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cbrtl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ceil # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ceilf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ceill # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function copysign # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function copysignf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function copysignl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cosf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cosh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function coshf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function coshl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cosl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erfc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erfcf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erfcl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erff # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erfl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function exp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function exp2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function exp2f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function exp2l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function expf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function expl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function expm1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function expm1f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function expm1l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fabs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fabsf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fabsl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fdim # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fdimf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fdiml # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function floor # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function floorf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function floorl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fma # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmaf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmax # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmaxf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmaxl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmin # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fminf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fminl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmod # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmodf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmodl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function frexp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function frexpf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function frexpl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function hypot # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function hypotf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function hypotl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ilogb # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ilogbf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ilogbl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function j0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function j1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function jn # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ldexp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ldexpf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ldexpl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lgamma # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lgammaf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lgammal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llrint # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llrintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llrintl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llround # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llroundf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llroundl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log10f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log10l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log1p # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log1pf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log1pl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log2f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log2l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function logb # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function logbf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function logbl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function logf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function logl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lrint # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lrintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lrintl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lround # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lroundf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lroundl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function modf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function modff # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function modfl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nan # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nanl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nearbyint # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nearbyintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nearbyintl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nextafter # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nextafterf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nextafterl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nexttoward # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nexttowardf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nexttowardl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function pow # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function powf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function powl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remainder # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remainderf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remainderl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remquo # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remquof # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remquol # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function rint # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function rintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function rintl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function round # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function roundf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function roundl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalb # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalbln # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalblnf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalblnl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalbn # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalbnf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalbnl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sin # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sinf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sinh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sinhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sinhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sinl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sqrt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sqrtf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sqrtl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tan # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tanh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tanhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tanhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tanl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tgamma # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tgammaf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tgammal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function trunc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function truncf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function truncl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function y0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function y1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function yn # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-struct __double2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-struct __float2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-typedef double_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-typedef float_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-var signgam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_FAST_FMA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_FAST_FMAF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_FAST_FMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_ILOGB0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_ILOGBNAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_INFINITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_NAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_NORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_SUBNORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_SUPERNORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_ZERO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant HUGE_VAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant HUGE_VALF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant HUGE_VALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant MATH_ERREXCEPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant MATH_ERRNO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant MAXFLOAT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_1_PI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_2_PI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_2_SQRTPI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_E # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_LN10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_LN2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_LOG10E # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_LOG2E # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_PI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_PI_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_PI_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_SQRT1_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_SQRT2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h + +--include-function pthread_atfork # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getdetachstate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getguardsize # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getinheritsched # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getschedparam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getschedpolicy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getscope # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getstack # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getstackaddr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getstacksize # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setdetachstate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setguardsize # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setinheritsched # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setschedparam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setschedpolicy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setscope # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setstack # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setstackaddr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setstacksize # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cancel # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_broadcast # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_signal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_timedwait # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_wait # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_condattr_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_condattr_getpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_condattr_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_condattr_setpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_create # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_detach # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_equal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_exit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_getconcurrency # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_getschedparam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_getspecific # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_join # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_key_create # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_key_delete # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_getprioceiling # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_lock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_setprioceiling # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_trylock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_unlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_getpolicy_np # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_getprioceiling # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_getprotocol # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_getpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_gettype # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_setpolicy_np # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_setprioceiling # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_setprotocol # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_setpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_settype # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_once # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_rdlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_tryrdlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_trywrlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_unlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_wrlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlockattr_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlockattr_getpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlockattr_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlockattr_setpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_self # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_setcancelstate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_setcanceltype # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_setconcurrency # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_setschedparam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_setspecific # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_testcancel # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CANCELED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CANCEL_ASYNCHRONOUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CANCEL_DEFERRED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CANCEL_DISABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CANCEL_ENABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CREATE_DETACHED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CREATE_JOINABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_EXPLICIT_SCHED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_INHERIT_SCHED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_ERRORCHECK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_NORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_POLICY_FAIRSHARE_NP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_POLICY_FIRSTFIT_NP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_RECURSIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_PRIO_INHERIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_PRIO_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_PRIO_PROTECT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_PROCESS_PRIVATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_PROCESS_SHARED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_SCOPE_PROCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_SCOPE_SYSTEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h + +--include-constant SCHED_FIFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant SCHED_OTHER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant SCHED_RR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_COND_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_ERRORCHECK_MUTEX_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_FIRSTFIT_MUTEX_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_MUTEX_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_ONCE_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_RECURSIVE_MUTEX_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_RWLOCK_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant __SCHED_PARAM_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/sched.h + +--include-function sched_get_priority_max # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/sched.h +--include-function sched_get_priority_min # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/sched.h +--include-function sched_yield # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/sched.h +--include-struct sched_param # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/sched.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h + +--include-struct _RuneCharClass # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-struct _RuneEntry # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-struct _RuneLocale # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-struct _RuneRange # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-var _CurrentRuneLocale # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-var _DefaultRuneLocale # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-constant _CACHED_RUNES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-constant _CRMASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-constant _RUNE_MAGIC_A # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h + +--include-constant _USE_FORTIFY_LEVEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h + +--include-function __snprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h +--include-function __sprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h +--include-function __vsnprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h +--include-function __vsprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h + +--include-constant __HAS_FIXED_CHK_PROTOTYPES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h + +--include-typedef int_fast16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_fast32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_fast64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_fast8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT16_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT32_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT64_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT8_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTMAX_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTMAX_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTPTR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTPTR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST16_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST32_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST64_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST8_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST16_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST32_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST64_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST8_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant PTRDIFF_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant PTRDIFF_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant SIG_ATOMIC_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant SIG_ATOMIC_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant SIZE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINTMAX_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINTPTR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WCHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WCHAR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WINT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WINT_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant __WORDSIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_attr_t.h + +--include-typedef pthread_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_attr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_cond_t.h + +--include-typedef pthread_cond_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_cond_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h + +--include-typedef pthread_condattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_key_t.h + +--include-typedef pthread_key_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_key_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h + +--include-typedef pthread_mutex_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h + +--include-typedef pthread_mutexattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_once_t.h + +--include-typedef pthread_once_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_once_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h + +--include-typedef pthread_rwlock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h + +--include-typedef pthread_rwlockattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_t.h + +--include-typedef pthread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h + +--include-struct __darwin_pthread_handler_rec # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_cond_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_condattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_mutex_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_mutexattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_once_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_rwlock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_rwlockattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_cond_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_condattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_key_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_mutex_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_mutexattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_once_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_rwlock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_rwlockattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_ATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_CONDATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_COND_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_MUTEXATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_MUTEX_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_ONCE_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_RWLOCKATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_RWLOCK_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h + +--include-typedef __darwin_blkcnt_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_blksize_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_dev_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_fsblkcnt_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_fsfilcnt_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_gid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_ino64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_ino_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_mach_port_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_mach_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_mode_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_off_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_pid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_sigset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_suseconds_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_uid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_useconds_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_uuid_string_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_uuid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-constant USE_CLANG_TYPES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-constant __DARWIN_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_clock_t.h + +--include-typedef clock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_clock_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsid_t.h + +--include-struct fsid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsid_t.h +--include-typedef fsid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsid_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsobj_id_t.h + +--include-struct fsobj_id # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsobj_id_t.h +--include-typedef fsobj_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsobj_id_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_id_t.h + +--include-typedef id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_id_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int16_t.h + +--include-typedef int16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int16_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int32_t.h + +--include-typedef int32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int32_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int64_t.h + +--include-typedef int64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int64_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int8_t.h + +--include-typedef int8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int8_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_intptr_t.h + +--include-typedef intptr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_intptr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_mach_port_t.h + +--include-typedef mach_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_mach_port_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_null.h + +--include-constant USE_CLANG_STDDEF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_null.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_off_t.h + +--include-typedef off_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_off_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_pid_t.h + +--include-typedef pid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_pid_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h + +--include-constant SEEK_CUR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h +--include-constant SEEK_END # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h +--include-constant SEEK_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigaltstack.h + +--include-struct __darwin_sigaltstack # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigaltstack.h +--include-typedef stack_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigaltstack.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigset_t.h + +--include-typedef sigset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigset_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h + +--include-constant USE_CLANG_STDDEF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ssize_t.h + +--include-typedef ssize_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ssize_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h + +--include-typedef time_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_timespec.h + +--include-struct timespec # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_timespec.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_timeval.h + +--include-struct timeval # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_timeval.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int16_t.h + +--include-typedef u_int16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int16_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int32_t.h + +--include-typedef u_int32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int32_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int64_t.h + +--include-typedef u_int64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int64_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int8_t.h + +--include-typedef u_int8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int8_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ucontext.h + +--include-struct __darwin_ucontext # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ucontext.h +--include-typedef ucontext_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ucontext.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uid_t.h + +--include-typedef uid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uid_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uintptr_t.h + +--include-typedef uintptr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uintptr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uuid_t.h + +--include-typedef uuid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uuid_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h + +--include-typedef va_list # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h +--include-constant USE_CLANG_STDARG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_wchar_t.h + +--include-constant USE_CLANG_STDDEF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_wchar_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h + +--include-constant _DARWIN_FEATURE_64_BIT_INODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_ONLY_64_BIT_INODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_ONLY_VERS_1050 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_UNIX_CONFORMANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_64_BIT_INO_T # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_C_ANSI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_C_FULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_C_LEVEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_NON_CANCELABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_NO_LONG_LONG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_ONLY_64_BIT_INO_T # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_ONLY_UNIX_CONFORMANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_ONLY_VERS_1050 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_SUF_EXTSN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_UNIX03 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_VERS_1050 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __has_ptrcheck # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __has_safe_buffers # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h + +--include-function __error # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant E2BIG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EACCES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EADDRINUSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EADDRNOTAVAIL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EAFNOSUPPORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EAGAIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EALREADY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EBADF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EBADMSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EBUSY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ECANCELED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ECHILD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ECONNABORTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ECONNREFUSED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ECONNRESET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EDEADLK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EDESTADDRREQ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EDOM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EDQUOT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EEXIST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EFBIG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EHOSTUNREACH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EIDRM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EILSEQ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EINPROGRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EINTR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EINVAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EIO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EISCONN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EISDIR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ELOOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EMFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EMLINK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EMSGSIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EMULTIHOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENAMETOOLONG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENETDOWN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENETRESET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENETUNREACH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOBUFS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENODATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENODEV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOEXEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOLCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOLINK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOMEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOMSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOPOLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOPROTOOPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOSPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOSR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOSTR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOSYS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTCONN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTDIR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTEMPTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTRECOVERABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTSOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTSUP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENXIO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EOPNOTSUPP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EOVERFLOW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EOWNERDEAD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EPERM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EPIPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EPROTO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EPROTONOSUPPORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EPROTOTYPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ERANGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EROFS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ESPIPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ESRCH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ESTALE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ETIME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ETIMEDOUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ETXTBSY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EWOULDBLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EXDEV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h + +--include-function getpriority # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-function getrlimit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-function getrusage # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-function setpriority # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-function setrlimit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-struct rlimit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-struct rusage # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-typedef rlim_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant PRIO_PGRP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant PRIO_PROCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant PRIO_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_AS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_CORE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_CPU # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_FSIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_NOFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_STACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIM_INFINITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIM_SAVED_CUR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIM_SAVED_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RUSAGE_CHILDREN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RUSAGE_SELF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant _RLIMIT_POSIX_FLAG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h + +--include-function signal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-struct __sigaction # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-struct __siginfo # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-struct sigaction # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-struct sigevent # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-struct sigstack # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-union __sigaction_u # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-union sigval # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-typedef siginfo_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant BUS_ADRALN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant BUS_ADRERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant BUS_OBJERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_CONTINUED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_DUMPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_EXITED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_KILLED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_STOPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_TRAPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTDIV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTINV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTOVF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTRES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTSUB # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTUND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_INTDIV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_INTOVF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_BADSTK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_COPROC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_ILLADR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_ILLOPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_ILLOPN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_ILLTRP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_PRVOPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_PRVREG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant MINSIGSTKSZ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_ERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_HUP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_IN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_MSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_OUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_PRI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_NOCLDSTOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_NOCLDWAIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_NODEFER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_ONSTACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_RESETHAND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_RESTART # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_SIGINFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_USERSPACE_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SEGV_ACCERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SEGV_MAPERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGABRT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGALRM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGBUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGCHLD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGCONT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGEV_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGEV_SIGNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGEV_THREAD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGFPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGHUP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGILL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGINT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGKILL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGPIPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGPOLL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGPROF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGQUIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGSEGV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGSTKSZ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGSTOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGSYS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGTERM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGTRAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGTSTP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGTTIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGTTOU # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGURG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGUSR1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGUSR2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGVTALRM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGXCPU # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGXFSZ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_BLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_DFL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_ERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_HOLD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_IGN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_SETMASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_UNBLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SI_ASYNCIO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SI_MESGQ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SI_QUEUE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SI_TIMER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SI_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SS_DISABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SS_ONSTACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant TRAP_BRKPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant TRAP_TRACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant __DARWIN_NSIG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h + +--include-function renameat # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h + +--include-function wait # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-function waitid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-function waitpid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant P_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant P_PGID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant P_PID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WCONTINUED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WEXITED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WNOHANG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WNOWAIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WSTOPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WUNTRACED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant _WSTOPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stdarg___gnuc_va_list.h + +--include-typedef __gnuc_va_list # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stdarg___gnuc_va_list.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stdarg_va_list.h + +--include-typedef va_list # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stdarg_va_list.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_max_align_t.h + +--include-typedef max_align_t # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_max_align_t.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_null.h + +--include-constant NULL # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_null.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_ptrdiff_t.h + +--include-typedef ptrdiff_t # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_ptrdiff_t.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_size_t.h + +--include-typedef size_t # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_size_t.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_wchar_t.h + +--include-typedef wchar_t # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_wchar_t.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h + +--include-constant DBL_DECIMAL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_EPSILON # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_HAS_SUBNORM # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MANT_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MAX_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MAX_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MIN_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MIN_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_NORM_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_TRUE_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DECIMAL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_DECIMAL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_EPSILON # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_EVAL_METHOD # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_HAS_SUBNORM # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MANT_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MAX_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MAX_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MIN_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MIN_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_NORM_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_RADIX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_TRUE_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant INFINITY # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_DECIMAL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_EPSILON # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_HAS_SUBNORM # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MANT_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MAX_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MAX_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MIN_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MIN_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_NORM_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_TRUE_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant NAN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h + +--include-constant __bool_true_false_are_defined # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h +--include-constant false # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h +--include-constant true # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h + +#### Extracted from: /opt/homebrew/opt/blis/include/blis/cblas.h + +--include-function bli_pthread_barrier_destroy # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_barrier_init # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_barrier_wait # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_cond_broadcast # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_cond_destroy # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_cond_init # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_cond_wait # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_create # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_join # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_mutex_destroy # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_mutex_init # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_mutex_lock # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_mutex_trylock # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_mutex_unlock # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_once # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_switch_off # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function bli_pthread_switch_on # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_caxpby # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_caxpy # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ccopy # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cdotc_sub # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cdotu_sub # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cgbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cgemm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cgemm3m # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cgemm_batch # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cgemmt # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cgemv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cgerc # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cgeru # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_chbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_chemm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_chemv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cher # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cher2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cher2k # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cherk # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_chpmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_chpr # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_chpr2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cscal # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_csscal # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_cswap # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_csymm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_csyr2k # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_csyrk # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ctbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ctbsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ctpmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ctpsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ctrmm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ctrmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ctrsm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ctrsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dasum # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_daxpby # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_daxpy # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dcopy # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ddot # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dgbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dgemm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dgemm_batch # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dgemmt # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dgemv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dger # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dnrm2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_drot # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_drotg # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_drotm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_drotmg # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dsbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dscal # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dsdot # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dspmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dspr # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dspr2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dswap # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dsymm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dsymv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dsyr # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dsyr2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dsyr2k # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dsyrk # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dtbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dtbsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dtpmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dtpsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dtrmm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dtrmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dtrsm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dtrsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dzasum # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_dznrm2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_icamax # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_idamax # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_isamax # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_izamax # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sasum # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_saxpby # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_saxpy # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_scasum # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_scnrm2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_scopy # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sdot # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sdsdot # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sgbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sgemm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sgemm_batch # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sgemmt # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sgemv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sger # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_snrm2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_srot # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_srotg # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_srotm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_srotmg # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ssbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sscal # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sspmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sspr # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sspr2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_sswap # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ssymm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ssymv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ssyr # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ssyr2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ssyr2k # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ssyrk # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_stbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_stbsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_stpmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_stpsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_strmm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_strmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_strsm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_strsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_xerbla # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zaxpby # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zaxpy # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zcopy # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zdotc_sub # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zdotu_sub # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zdscal # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zgbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zgemm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zgemm3m # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zgemm_batch # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zgemmt # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zgemv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zgerc # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zgeru # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zhbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zhemm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zhemv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zher # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zher2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zher2k # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zherk # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zhpmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zhpr # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zhpr2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zscal # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zswap # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zsymm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zsyr2k # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_zsyrk # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ztbmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ztbsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ztpmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ztpsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ztrmm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ztrmv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ztrsm # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-function cblas_ztrsv # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct apool_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct array_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct auxinfo_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct bli_pthread_barrier_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct bli_pthread_switch_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct blksz_s # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct cntl_s # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct cntx_s # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct constdata_s # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct dcomplex # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct func_s # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct mbool_s # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct mem_s # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct obj_s # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct pba_s # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct pblk_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct pool_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct rntm_s # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct scomplex # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-struct thrinfo_s # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef atom_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef bli_pthread_attr_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef bli_pthread_barrierattr_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef bli_pthread_cond_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef bli_pthread_condattr_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef bli_pthread_mutex_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef bli_pthread_mutexattr_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef bli_pthread_once_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef bli_pthread_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef blksz_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef cntl_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef cntx_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef constdata_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef dim_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef doff_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef f77_char # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef f77_dcomplex # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef f77_double # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef f77_float # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef f77_int # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef f77_scomplex # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef free_ft # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef func_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef gint_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef guint_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef inc_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef malloc_ft # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef mbool_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef mem_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef obj_ker_fn_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef obj_pack_fn_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef obj_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef objbits_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef pba_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef rntm_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef siz_t # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-typedef void_fp # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_1M # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ADDV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_AF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ALIGNMENT_NOT_MULT_OF_PTR_SIZE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ALIGNMENT_NOT_POWER_OF_TWO # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_AMAXV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_A64FX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_ALTRA # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_ALTRAMAX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_ARMSVE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_BGQ # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_BULLDOZER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_CORTEXA15 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_CORTEXA53 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_CORTEXA57 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_CORTEXA9 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_EXCAVATOR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_FIRESTORM # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_GENERIC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_HASWELL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_KNC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_KNL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_PENRYN # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_PILEDRIVER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_POWER10 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_POWER7 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_POWER9 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_RV32I # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_RV32IV # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_RV64I # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_RV64IV # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_SANDYBRIDGE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_SIFIVE_X280 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_SKX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_STEAMROLLER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_THUNDERX2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_ZEN # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_ZEN2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ARCH_ZEN3 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_AXPBYV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_AXPY2V_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_AXPYF_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_AXPYV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BBM # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BBN # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_1E # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_1R # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_BUFFER_FOR_A_BLOCK # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_BUFFER_FOR_B_PANEL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_BUFFER_FOR_C_PANEL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_BUFFER_FOR_GEN_USE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_COMPLEX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_CONJ # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_CONJ_TRANS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_CONST_TYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_DCOMPLEX_TYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_DENSE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_DOUBLE_PREC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_DOUBLE_TYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_FLOAT_TYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_GENERAL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_HERMITIAN # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_INT_TYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_INVERT_DIAG # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_LOWER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_NONUNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_NOT_PACKED # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_NO_CONJ # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_NO_TRANS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACKED_COLUMNS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACKED_COL_PANELS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACKED_COL_PANELS_1E # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACKED_COL_PANELS_1R # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACKED_ROWS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACKED_ROW_PANELS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACKED_ROW_PANELS_1E # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACKED_ROW_PANELS_1R # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACKED_UNSPEC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACK_FWD_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACK_FWD_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACK_REV_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_PACK_REV_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_REAL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_SCOMPLEX_TYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_SINGLE_PREC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_SYMMETRIC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_TRANS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_TRIANGULAR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_UNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_UPPER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BITVAL_ZEROS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BLAS_INT_TYPE_SIZE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BUFFER_FOR_A_BLOCK # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BUFFER_FOR_B_PANEL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BUFFER_FOR_C_PANEL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BUFFER_FOR_GEN_USE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_BWD # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CACHE_LINE_SIZE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CCC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CCR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_COMPLEX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_COMP_DOMAIN_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_COMP_DOMAIN_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_COMP_DT_BITS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_COMP_DT_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_COMP_PREC_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_COMP_PREC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CONJTRANS_BITS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CONJTRANS_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CONJUGATE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CONJ_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CONJ_NO_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CONJ_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CONJ_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CONSTANT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_COPYV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CRC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_CRR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DATATYPE_BITS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DATATYPE_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DCOMPLEX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DENSE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DIAG_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DIAG_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DOMAIN_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DOMAIN_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DOTAXPYV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DOTV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DOTXAXPYF_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DOTXF_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DOTXV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DOUBLE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DOUBLE_PREC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DT_HI # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_DT_LO # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ERROR_CODE_MAX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ERROR_CODE_MIN # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXEC_DOMAIN_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXEC_DOMAIN_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXEC_DT_BITS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXEC_DT_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXEC_PREC_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXEC_PREC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXHAUSTED_CONTIG_MEMORY_POOL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_FLOATING_POINT_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_GENERAL_OBJECT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_HERMITIAN_OBJECT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_INTEGER_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_NONCONSTANT_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_NONINTEGER_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_NONNULL_OBJECT_BUFFER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_NONUNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_OBJECT_ALIAS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_REAL_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_REAL_PROJ_OF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_REAL_VALUED_OBJECT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_SCALAR_OBJECT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_SQUARE_OBJECT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_SYMMETRIC_OBJECT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_TRIANGULAR_OBJECT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_UPPER_OR_LOWER_OBJECT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_EXPECTED_VECTOR_OBJECT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_FAILURE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_FLOAT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_FULL_ERROR_CHECKING # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_FWD # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMM # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_CCC_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_CCC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_CCR_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_CCR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_CRC_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_CRC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_CRR_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_CRR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_RCC_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_RCC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_RCR_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_RCR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_RRC_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_RRC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_RRR_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_RRR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_XXX_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMSUP_XXX_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMTRSM_L_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMTRSM_L_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMTRSM_L_VIR_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMTRSM_U_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMTRSM_U_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMMTRSM_U_VIR_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMM_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMM_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GEMM_VIR_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_GENERAL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_HEMM # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_HER2K # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_HERK # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_HERMITIAN # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_HPX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INCONSISTENT_DATATYPES # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INCONSISTENT_PRECISIONS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_IND_FIRST # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_IND_LAST # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INSUFFICIENT_STACK_BUF_SIZE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INT_TYPE_SIZE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_1x3_SUBPART # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_3x1_SUBPART # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_3x3_SUBPART # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_ARCH_ID # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_COL_STRIDE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_CONJ # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_DIAG # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_DIM_STRIDE_COMBINATION # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_ERROR_CHECKING_LEVEL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_MACHVAL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_PACKBUF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_ROW_STRIDE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_SIDE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_TRANS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_UKR_ID # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVALID_UPLO # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVERTV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVERT_DIAG # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVERT_DIAG_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVERT_DIAG_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_INVSCALV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_KC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_KC_DEF_NONMULTIPLE_OF_KR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_KC_MAX_NONMULTIPLE_OF_KR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_KC_SUP # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_KR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_KR_SUP # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_KT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_LEFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_LOWER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_LOWER_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_LOWER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_M # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_M2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_BASE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_EMAX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_EMIN # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_EPS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_EPS2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_NDIGMANT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_PARAM_FIRST # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_PARAM_LAST # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_PREC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_RMAX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_RMIN # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_RND # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MACH_SFMIN # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MALLOC_RETURNED_NULL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MAX_TYPE_SIZE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MC_DEF_NONMULTIPLE_OF_MR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MC_MAX_NONMULTIPLE_OF_MR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MC_SUP # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MR_SUP # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_MT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_N # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_N2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NAT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NC_DEF_NONMULTIPLE_OF_NR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NC_MAX_NONMULTIPLE_OF_NR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NC_SUP # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NEGATIVE_DIMENSION # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NOID # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NONCONFORMAL_DIMENSIONS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NONUNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NOTAPPLIC_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NOT_PACKED # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NOT_YET_IMPLEMENTED # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NO_CONJUGATE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NO_ERROR_CHECKING # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NO_INVERT_DIAG # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NO_PART # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NO_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NR_SUP # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NT_MAX_PRIME # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NULL_POINTER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_3OP_RC_COMBOS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_ARCHS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_BLKSZS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_FP_TYPES # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_IND_METHODS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_LEVEL3_OPS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_LOOPS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_MACH_PARAMS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_PACK_SCHEMA_TYPES # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_THREAD_IMPLS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_UKRS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_UKR_IMPL_TYPES # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_NUM_UKR_PREFS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_OPENMP # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_OPTIMIZED_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_OS_OSX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKED_COLUMNS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKED_COL_PANELS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKED_COL_PANELS_1E # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKED_COL_PANELS_1R # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKED_ROWS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKED_ROW_PANELS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKED_ROW_PANELS_1E # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKED_ROW_PANELS_1R # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKED_UNSPEC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKED_VECTOR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKM_MRXK_1ER_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKM_MRXK_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKM_MRXMR_DIAG_1ER_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKM_MRXMR_DIAG_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKM_NRXK_1ER_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKM_NRXK_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKM_NRXNR_DIAG_1ER_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACKM_NRXNR_DIAG_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_BUFFER_BITS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_BUFFER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_FORMAT_BITS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_FORMAT_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_FWD_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_FWD_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_PANEL_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_PANEL_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_RC_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_RC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_REV_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_REV_IF_LOWER_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_REV_IF_LOWER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_REV_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_REV_IF_UPPER_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_REV_IF_UPPER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_SCHEMA_BITS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_UNPACK # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_SCHEMA_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PACK_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_POSIX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PRECISION_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_PRECISION_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_RCC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_RCR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_REAL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_REFERENCE_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_RIGHT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_RRC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_RRR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SCAL2V_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SCALAR_DOMAIN_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SCALAR_DOMAIN_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SCALAR_DT_BITS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SCALAR_DT_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SCALAR_PREC_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SCALAR_PREC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SCALV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SCOMPLEX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SETV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SINGLE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SINGLE_PREC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SIZEOF_C # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SIZEOF_D # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SIZEOF_S # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SIZEOF_Z # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_STRUC_BITS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_STRUC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART0 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART00 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART01 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART02 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART1 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART10 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART11 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART12 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART1A # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART1AND0 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART1AND2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART1B # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART2 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART20 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART21 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBPART22 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUBV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SUCCESS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SWAPV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SYMM # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SYMMETRIC # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SYR2K # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_SYRK # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TARGET_DOMAIN_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TARGET_DOMAIN_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TARGET_DT_BITS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TARGET_DT_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TARGET_PREC_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TARGET_PREC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRANS_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRANS_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRIANGULAR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRMM # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRMM3 # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRSM # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRSM_L_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRSM_L_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRSM_L_VIR_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRSM_U_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRSM_U_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_TRSM_U_VIR_UKR # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNDEFINED_ERROR_CODE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNEQUAL_VECTOR_LENGTHS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNEXPECTED_DIAG_OFFSET # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNEXPECTED_NULL_CONTROL_TREE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNEXPECTED_OBJECT_LENGTH # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNEXPECTED_OBJECT_WIDTH # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNEXPECTED_VECTOR_DIM # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNINITIALIZED_GKS_CNTX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNIT_DIAG_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNIT_DIAG_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNPACKM_MRXK_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UNPACKM_NRXK_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UPLO_BITS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UPLO_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UPPER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UPPER_BIT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_UPPER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_VERSION_STRING # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_VIRTUAL_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_XF # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_XPBYV_KER # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_XXX # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant BLIS_ZEROS # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant CblasColMajor # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant CblasConjTrans # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant CblasLeft # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant CblasLower # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant CblasNoTrans # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant CblasNonUnit # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant CblasRight # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant CblasRowMajor # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant CblasTrans # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant CblasUnit # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant CblasUpper # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant _POSIX_C_SOURCE # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant bli_1m # header: /opt/homebrew/opt/blis/include/blis/cblas.h +--include-constant bli_nat # header: /opt/homebrew/opt/blis/include/blis/cblas.h diff --git a/generated/includes_blis_typed.txt b/generated/includes_blis_typed.txt new file mode 100644 index 00000000..730f1ee4 --- /dev/null +++ b/generated/includes_blis_typed.txt @@ -0,0 +1,8795 @@ +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h + +--include-constant __API_TO_BE_DEPRECATED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_DRIVERKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_IOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_KERNELKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACCATALYST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_TVOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_VISIONOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_WATCHOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h +--include-constant __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h + +--include-constant __MAC_OS_X_VERSION_MAX_ALLOWED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h +--include-constant __MAC_OS_X_VERSION_MIN_REQUIRED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternal.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternalLegacy.h + +--include-constant __ENABLE_LEGACY_MAC_AVAILABILITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityInternalLegacy.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h + +--include-constant __AVAILABILITY_FILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __AVAILABILITY_VERSIONS_VERSION_HASH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __AVAILABILITY_VERSIONS_VERSION_STRING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_3_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_3_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_3_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_4_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_4_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_5_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_5_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_5_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_6_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_7_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_8_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __BRIDGEOS_9_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_19_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_20_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_21_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_22_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_23_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __DRIVERKIT_24_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_13_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_14_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_15_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_16_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_17_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_18_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_2_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_2_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_3_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_3_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_3_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_4_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_5_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_5_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_6_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_6_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_7_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_7_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_8_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __IPHONE_9_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_15 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_10_9 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_11_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_12_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_13_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_14_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __MAC_15_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_0_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_12_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_13_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_14_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_15_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_16_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_17_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_18_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __TVOS_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_1_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __VISIONOS_2_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_10_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_11_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_1_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_2_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_2_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_2_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_1_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_3_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_4_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_5_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_6_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_6_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_6_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_7_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_8_8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h +--include-constant __WATCHOS_9_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_abort.h + +--include-function abort # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_abort.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h + +--include-constant L_ctermid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h +--include-function ctermid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctermid.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h + +--include-constant _CTYPE_A # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_B # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_C # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_D # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_G # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_I # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_L # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_P # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_Q # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_R # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_S # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SW0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SW1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SW2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SW3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SWM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_SWS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_T # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_U # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-constant _CTYPE_X # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-function ___runetype # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-function ___tolower # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-function ___toupper # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-function __maskrune # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-function __tolower # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h +--include-function __toupper # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_ctype.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_printf.h + +--include-function printf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_printf.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h + +--include-typedef FILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-typedef fpos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-var __stderrp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-var __stdinp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-var __stdoutp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant BUFSIZ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant EOF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant FILENAME_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant FOPEN_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant L_tmpnam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant P_tmpdir # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant TMP_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant _IOFBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant _IOLBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant _IONBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SALC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SAPP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SEOF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SIGN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SLBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SMBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SMOD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SNBF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SNPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SOFF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SOPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SRD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SRW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SSTR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-constant __SWR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-struct __sFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-struct __sFILEX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-struct __sbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function __srget # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function __svfscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function __swbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function clearerr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function dprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fclose # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fdopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function feof # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ferror # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fflush # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fgetc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fgetpos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fgets # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fileno # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function flockfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fmemopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fputc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fputs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fread # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function freopen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fseek # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fseeko # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fsetpos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ftell # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ftello # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ftrylockfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function funlockfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function fwrite # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getc_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getchar # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getchar_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getdelim # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function getline # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function gets # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function open_memstream # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function pclose # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function perror # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function popen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putc_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putchar # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function putchar_unlocked # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function puts # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function remove # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function rename # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function rewind # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function scanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function setbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function setvbuf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function snprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function sprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function sscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function tempnam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function tmpfile # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function tmpnam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function ungetc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vdprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vfprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vfscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vsnprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vsprintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h +--include-function vsscanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h + +--include-var __mb_cur_max # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-constant EXIT_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-constant EXIT_SUCCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-constant RAND_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-struct div_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-struct ldiv_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-struct lldiv_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function _Exit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function a64l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function abs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function at_quick_exit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function atexit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function atof # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function atoi # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function atol # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function atoll # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function bsearch # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function div # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function drand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function ecvt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function erand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function exit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function fcvt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function gcvt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function getenv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function getsubopt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function grantpt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function initstate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function jrand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function l64a # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function labs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function lcong48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function ldiv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function llabs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function lldiv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function lrand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mblen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mbstowcs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mbtowc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mkstemp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mktemp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function mrand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function nrand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function posix_openpt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function ptsname # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function putenv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function qsort # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function quick_exit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function rand # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function rand_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function random # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function realpath # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function seed48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function setenv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function setkey # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function setstate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function srand # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function srand48 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function srandom # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtod # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtof # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtol # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtold # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtoll # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtoul # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function strtoull # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function system # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function unlockpt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function unsetenv # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function wcstombs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h +--include-function wctomb # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h + +--include-function memccpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function memchr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function memcmp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function memcpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function memmove # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function memset # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function stpcpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function stpncpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strcat # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strchr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strcmp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strcoll # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strcpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strcspn # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strdup # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strerror # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strerror_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strlen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strncat # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strncmp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strncpy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strndup # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strnlen # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strpbrk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strrchr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strsignal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strspn # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strstr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strtok # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strtok_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h +--include-function strxfrm # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_strings.h + +--include-function ffs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_strings.h +--include-function strcasecmp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_strings.h +--include-function strncasecmp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_strings.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h + +--include-var daylight # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-var getdate_err # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-var timezone # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-var tzname # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant CLOCKS_PER_SEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant CLOCK_MONOTONIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant CLOCK_PROCESS_CPUTIME_ID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant CLOCK_REALTIME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant CLOCK_THREAD_CPUTIME_ID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant TIME_UTC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant _CLOCK_MONOTONIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant _CLOCK_PROCESS_CPUTIME_ID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant _CLOCK_REALTIME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-constant _CLOCK_THREAD_CPUTIME_ID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-struct tm # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function asctime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function asctime_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function clock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function clock_getres # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function clock_gettime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function clock_settime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function ctime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function ctime_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function difftime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function getdate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function gmtime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function gmtime_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function localtime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function localtime_r # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function mktime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function nanosleep # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function strftime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function strptime # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function time # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function timespec_get # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h +--include-function tzset # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h + +--include-typedef __darwin_nl_item # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-typedef __darwin_wctrans_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-typedef __darwin_wctype_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-constant _FORTIFY_SOURCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-constant __DARWIN_WCHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-constant __DARWIN_WCHAR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h +--include-constant __DARWIN_WEOF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_intmax_t.h + +--include-typedef intmax_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_intmax_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint16_t.h + +--include-typedef uint16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint16_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint32_t.h + +--include-typedef uint32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint32_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint64_t.h + +--include-typedef uint64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint64_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint8_t.h + +--include-typedef uint8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uint8_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uintmax_t.h + +--include-typedef uintmax_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types/_uintmax_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_limits.h + +--include-constant __DARWIN_CLK_TCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_limits.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_mcontext.h + +--include-typedef mcontext_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_mcontext.h +--include-struct __darwin_mcontext32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_mcontext.h +--include-struct __darwin_mcontext64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_mcontext.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h + +--include-typedef __darwin_clock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_ct_rune_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_intptr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_mbstate_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_natural_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_ptrdiff_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_rune_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_socklen_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_ssize_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_time_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_va_list # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_wchar_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __darwin_wint_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __int8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-typedef __uint8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-constant USE_CLANG_TYPES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h +--include-union __mbstate_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h + +--include-constant CHAR_BIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant CHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant CHAR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant INT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant INT_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant LLONG_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant LLONG_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant LONG_BIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant LONG_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant LONG_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant MB_LEN_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant SCHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant SCHAR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant SHRT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant SHRT_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant SSIZE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant UCHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant UINT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant ULLONG_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant ULONG_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant USE_CLANG_LIMITS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant USHRT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h +--include-constant WORD_BIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/limits.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/signal.h + +--include-typedef sig_atomic_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/signal.h +--include-constant _ARM_SIGNAL_ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/signal.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h + +--include-typedef register_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h +--include-typedef syscall_arg_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/arm/types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/float.h + +--include-constant DBL_HAS_SUBNORM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/float.h +--include-constant FLT_HAS_SUBNORM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/float.h +--include-constant LDBL_HAS_SUBNORM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/float.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h + +--include-constant __DARWIN_OPAQUE_ARM_THREAD_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __arm_legacy_debug_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __arm_pagein_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_cpmu_state64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_debug_state32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_debug_state64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_exception_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_exception_state64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_exception_state64_v2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_neon_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_neon_state64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_sme2_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_sme_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_sme_za_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_sve_p_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_sve_z_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_thread_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_thread_state64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h +--include-struct __darwin_arm_vfp_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/boolean.h + +--include-typedef boolean_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/boolean.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h + +--include-constant EXCEPTION_CODE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_BREAKPOINT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_DA_ALIGN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_DA_DEBUG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_DZ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_ID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_IO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_IX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_OF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_UF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_FP_UNDEFINED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_PAC_FAIL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_SME_DISALLOWED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_SP_ALIGN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_SWP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_ARM_UNDEFINED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_MASK_MACHINE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h +--include-constant EXC_TYPES_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/exception.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/kern_return.h + +--include-typedef kern_return_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/kern_return.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h + +--include-typedef processor_cpu_stat64_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-typedef processor_cpu_stat64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-typedef processor_cpu_stat_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-typedef processor_cpu_stat_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-constant PROCESSOR_CPU_STAT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-constant PROCESSOR_CPU_STAT64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-constant PROCESSOR_CPU_STAT64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-constant PROCESSOR_CPU_STAT_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-struct processor_cpu_stat # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h +--include-struct processor_cpu_stat64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/processor_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_state.h + +--include-constant ARM_THREAD_STATE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_state.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h + +--include-typedef arm_debug_state32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_debug_state64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_debug_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_exception_state32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_exception_state64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_exception_state64_v2_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_exception_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_neon_state32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_neon_state64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_neon_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_pagein_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_sme2_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_sme_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_sme_za_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_state_hdr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_sve_p_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_sve_z_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_thread_state32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_thread_state64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_thread_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_unified_thread_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-typedef arm_vfp_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_CPMU_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE32_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_DEBUG_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE64_V2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE64_V2_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_EXCEPTION_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_NEON_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_NEON_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_NEON_STATE64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_NEON_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_PAGEIN_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_PAGEIN_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME2_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME2_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE11 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE12 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE14 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE15 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE9 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SME_ZA_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SVE_P_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SVE_P_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SVE_Z_STATE1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SVE_Z_STATE2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_SVE_Z_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE32_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_THREAD_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_UNIFIED_THREAD_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_UNIFIED_THREAD_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_VFP_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant ARM_VFP_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant MACHINE_THREAD_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant MACHINE_THREAD_STATE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant THREAD_MACHINE_STATE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant THREAD_STATE_FLAVORS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-constant THREAD_STATE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-struct arm_state_hdr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h +--include-struct arm_unified_thread_state # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/thread_status.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h + +--include-constant BYTE_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MAX_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MAX_ADDRESS_RAW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MAX_GPU_CARVEOUT_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_RAW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MIN_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MIN_ADDRESS_RAW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MIN_GPU_CARVEOUT_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_RAW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MAX_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MAX_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MAX_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MIN_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MIN_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant PAGE_MIN_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant SWI_SYSCALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant VM_MAP_MAX_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant VM_MAP_MIN_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant VM_MAX_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant VM_MAX_PAGE_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h +--include-constant VM_MIN_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_param.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h + +--include-typedef integer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef mach_port_context_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef mach_vm_address_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef mach_vm_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef mach_vm_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef natural_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm32_address_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm32_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm32_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm_map_address_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm_map_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm_map_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h +--include-typedef vm_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/boolean.h + +--include-constant FALSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/boolean.h +--include-constant TRUE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/boolean.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h + +--include-typedef alarm_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef clock_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef clock_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef clock_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef clock_res_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef mach_timespec_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-typedef sleep_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant ALRMTYPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant CALENDAR_CLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant CLOCK_ALARM_CURRES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant CLOCK_ALARM_MAXRES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant CLOCK_ALARM_MINRES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant CLOCK_GET_TIME_RES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant NSEC_PER_MSEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant NSEC_PER_SEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant NSEC_PER_USEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant REALTIME_CLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant SYSTEM_CLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant TIME_ABSOLUTE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant TIME_RELATIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-constant USEC_PER_SEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h +--include-struct mach_timespec # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/clock_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h + +--include-typedef dyld_kernel_image_info_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h +--include-typedef dyld_kernel_image_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h +--include-typedef dyld_kernel_process_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h +--include-struct dyld_kernel_image_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h +--include-struct dyld_kernel_process_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/dyld_kernel.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h + +--include-typedef exception_behavior_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_behavior_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_data_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_flavor_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_mask_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_mask_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_port_info_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef exception_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef mach_exception_code_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef mach_exception_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef mach_exception_data_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-typedef mach_exception_subcode_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXCEPTION_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXCEPTION_IDENTITY_PROTECTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXCEPTION_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXCEPTION_STATE_IDENTITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXCEPTION_STATE_IDENTITY_PROTECTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_ARITHMETIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_BAD_ACCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_BAD_INSTRUCTION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_BREAKPOINT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_CORPSE_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_CRASH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_EMULATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MACF_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MACF_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MACH_SYSCALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_ARITHMETIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_BAD_ACCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_BAD_INSTRUCTION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_BREAKPOINT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_CORPSE_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_CRASH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_EMULATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_MACH_SYSCALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_RESOURCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_RPC_ALERT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_SOFTWARE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_MASK_SYSCALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_RESOURCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_RPC_ALERT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_SOFTWARE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_SOFT_SIGNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant EXC_SYSCALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant FIRST_EXCEPTION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant MACH_EXCEPTION_BACKTRACE_PREFERRED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant MACH_EXCEPTION_CODES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant MACH_EXCEPTION_ERRORS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h +--include-constant MACH_EXCEPTION_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h + +--include-typedef host_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_can_has_debugger_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_can_has_debugger_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_cpu_load_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_cpu_load_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_info64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_load_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_load_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_preferred_user_arch_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_preferred_user_arch_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_priority_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_priority_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_purgable_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_purgable_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_sched_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef host_sched_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef kernel_boot_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef kernel_resource_sizes_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef kernel_resource_sizes_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-typedef kernel_version_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_CAN_HAS_DEBUGGER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_CAN_HAS_DEBUGGER_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_CPU_LOAD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_CPU_LOAD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_DEBUG_INFO_INTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_EXPIRED_TASK_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_EXTMOD_INFO64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_EXTMOD_INFO64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_EXTMOD_INFO64_LATEST_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_LOAD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_LOAD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_MACH_MSG_TRAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_PREFERRED_USER_ARCH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_PREFERRED_USER_ARCH_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_PRIORITY_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_PRIORITY_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_RESOURCE_SIZES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_RESOURCE_SIZES_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_SCHED_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_SCHED_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_SEMAPHORE_TRAPS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO64_LATEST_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO64_REV0_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO64_REV1_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO_LATEST_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO_REV0_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO_REV1_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_INFO_REV2_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_PURGABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant HOST_VM_PURGABLE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant KERNEL_BOOT_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-constant KERNEL_VERSION_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_can_has_debugger_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_cpu_load_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_load_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_preferred_user_arch # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_priority_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct host_sched_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h +--include-struct kernel_resource_sizes # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h + +--include-constant HOST_CALENDAR_CHANGED_REPLYID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h +--include-constant HOST_CALENDAR_SET_REPLYID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h +--include-constant HOST_NOTIFY_CALENDAR_CHANGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h +--include-constant HOST_NOTIFY_CALENDAR_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h +--include-constant HOST_NOTIFY_TYPE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_notify.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h + +--include-constant HOST_AMFID_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_ATM_NOTIFICATION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_AUDIT_CONTROL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_AUTOMOUNTD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_CHUD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_CLOSURED_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_COALITION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_CONTAINERD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_DOUBLEAGENTD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_DYNAMIC_PAGER_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_FAIRPLAYD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_FILECOORDINATIOND_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_GSSD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_IOCOMPRESSIONSTATS_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_IO_MAIN_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_KEXTD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_KTRACE_BACKGROUND_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_LAST_SPECIAL_KERNEL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_LAUNCHCTL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_LOCAL_NODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_LOCKD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_MANAGEDAPPDISTD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_MAX_SPECIAL_KERNEL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_MAX_SPECIAL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_MEMORY_ERROR_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_MIN_SPECIAL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_NODE_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_PRIV_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_RESOURCE_NOTIFY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_SEATBELT_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_SECURITY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_SYSDIAGNOSE_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_SYSPOLICYD_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_TELEMETRY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_UNFREED_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_USER_NOTIFICATION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h +--include-constant HOST_XPC_EXCEPTION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/host_special_ports.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h + +--include-constant KERN_ABORTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_ALREADY_IN_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_ALREADY_WAITING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_CODESIGN_ERROR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_DEFAULT_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_DENIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_EXCEPTION_PROTECTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INSUFFICIENT_BUFFER_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_ADDRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_ARGUMENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_CAPABILITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_HOST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_KC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_LEDGER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_MEMORY_CONTROL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_OBJECT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_PROCESSOR_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_RIGHT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_SECURITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_TASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_INVALID_VALUE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_LOCK_OWNED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_LOCK_OWNED_SELF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_LOCK_SET_DESTROYED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_LOCK_UNSTABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MEMORY_DATA_MOVED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MEMORY_ERROR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MEMORY_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MEMORY_PRESENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MEMORY_RESTART_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_MISSING_KC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NAME_EXISTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NODE_DOWN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_DEPRESSED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_FOUND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_IN_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_RECEIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_SUPPORTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NOT_WAITING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NO_ACCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_NO_SPACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_OPERATION_TIMED_OUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_POLICY_LIMIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_POLICY_STATIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_PROTECTION_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RESOURCE_SHORTAGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RETURN_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RIGHT_EXISTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RPC_CONTINUE_ORPHAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RPC_SERVER_TERMINATED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_RPC_TERMINATE_ORPHAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_SEMAPHORE_DESTROYED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_SUCCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_TERMINATED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h +--include-constant KERN_UREFS_OVERFLOW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kern_return.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h + +--include-typedef kmod_args_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_control_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_info_32_v1_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_info_64_v1_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_info_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_reference_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_start_func_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_stop_func_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-typedef kmod_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-constant KMOD_INFO_VERSION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-constant KMOD_MAX_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-constant KMOD_RETURN_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-constant KMOD_RETURN_SUCCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-struct kmod_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-struct kmod_info_32_v1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-struct kmod_info_64_v1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h +--include-struct kmod_reference # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/kmod.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h + +--include-typedef mach_timebase_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-typedef mach_timebase_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-function mach_absolute_time # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-function mach_approximate_time # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-function mach_continuous_approximate_time # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-function mach_continuous_time # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-function mach_timebase_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h +--include-function mach_wait_until # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_time.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h + +--include-typedef UNDServerRef # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef alarm_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef alarm_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef arcade_register_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef bootstrap_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef clock_ctrl_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef clock_ctrl_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef clock_reply_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef clock_serv_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef clock_serv_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef coalition_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef emulation_vector_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef eventlink_port_pair_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef exception_handler_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef exception_handler_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef exception_handler_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef exception_port_arrary_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef exception_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef host_name_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef host_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef host_priv_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef host_security_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef host_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef io_main_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ipc_eventlink_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ipc_space_inspect_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ipc_space_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ipc_space_read_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ipc_space_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef kcdata_object_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef labelstr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_amount_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_item_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef ledger_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef lock_set_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef lock_set_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef mach_eventlink_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef mach_task_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef mach_thread_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef mem_entry_name_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef nspace_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef nspace_path_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_control_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_control_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_name_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_name_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_name_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_set_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef processor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef semaphore_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef semaphore_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_id_token_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_inspect_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_policy_get_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_policy_set_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_read_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_suspension_token_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef task_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_act_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_act_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_act_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_act_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_inspect_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_read_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef thread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef user_subsystem_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef vfs_path_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-typedef vm_task_entry_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant ALARM_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant ARCADE_REG_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant CLOCK_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant COALITION_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant HOST_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant HOST_PRIV_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant HOST_SECURITY_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant IPC_EVENTLINK_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant IPC_SPACE_INSPECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant IPC_SPACE_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant IPC_SPACE_READ_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant KCDATA_OBJECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant LEDGER_ITEM_INFINITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant LEDGER_LIMIT_INFINITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant LEDGER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant LOCK_SET_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant MACH_EVENTLINK_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant PROCESSOR_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant PROCESSOR_SET_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant SEMAPHORE_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_FLAVOR_CONTROL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_FLAVOR_INSPECT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_FLAVOR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_FLAVOR_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_FLAVOR_READ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_ID_TOKEN_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_INSPECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_NAME_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TASK_READ_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_FLAVOR_CONTROL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_FLAVOR_INSPECT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_FLAVOR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_FLAVOR_READ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_INSPECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THREAD_READ_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant THR_ACT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant TID_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h +--include-constant UND_SERVER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h + +--include-typedef ipc_voucher_attr_control_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef ipc_voucher_attr_manager_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef ipc_voucher_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_command_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_content_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_content_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_control_flags_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_control_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_importance_refs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_key_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_key_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_manager_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_raw_recipe_array_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_raw_recipe_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_raw_recipe_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_raw_recipe_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_recipe_command_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_recipe_command_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_recipe_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_recipe_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_recipe_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_value_flags_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_value_handle_array_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_value_handle_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_value_handle_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_attr_value_reference_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_name_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_selector_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-typedef mach_voucher_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant IPC_VOUCHER_ATTR_CONTROL_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant IPC_VOUCHER_ATTR_MANAGER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant IPC_VOUCHER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_ACTIVITY_ID_COUNT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_AUTO_REDEEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_BITS_STORE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_CONTROL_FLAGS_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_CONTROL_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_IMPORTANCE_SELF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_ATM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_BANK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_BITS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_IMPORTANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_NUM_WELL_KNOWN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_PTHPRIORITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_TEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_KEY_USER_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_MANAGER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_MAX_RAW_RECIPE_ARRAY_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_NOOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_REDEEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_REMOVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_SEND_PREPROCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_SET_VALUE_HANDLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_TEST_STORE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_USER_DATA_STORE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_VALUE_FLAGS_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_VALUE_FLAGS_PERSIST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_ATTR_VALUE_MAX_NESTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_IMPORTANCE_ATTR_ADD_EXTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_IMPORTANCE_ATTR_DROP_EXTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_NAME_ARRAY_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_NAME_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_SELECTOR_CURRENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_SELECTOR_EFFECTIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-constant MACH_VOUCHER_TRAP_STACK_LIMIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h +--include-struct mach_voucher_attr_recipe_data # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h + +--include-typedef cpu_subtype_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-typedef cpu_threadtype_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-typedef cpu_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_11 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_12 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_14 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_15 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_9 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_BLIZZARD_AVALANCHE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_BRAVA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_COLL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_CYCLONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_DONAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_EVEREST_SAWTOOTH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_FIRESTORM_ICESTORM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_HURRICANE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_IBIZA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_LIGHTNING_THUNDER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_LOBOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_MONSOON_MISTRAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_PALMA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_SWIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_TAHITI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_TUPAI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_TWISTER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_TYPHOON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_VORTEX_TEMPEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_ARM_XSCALE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_6_13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_6_23 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_6_26 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_BROADWELL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_COMETLAKE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_HASWELL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_ICELAKE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_IVYBRIDGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_KABYLAKE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_NEHALEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_PENRYN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_SANDYBRIDGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_SKYLAKE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_INTEL_WESTMERE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_POWERPC_G3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_POWERPC_G4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_POWERPC_G5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUFAMILY_UNKNOWN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_HA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_HC_HD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_HG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_HP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_HS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_ARM_M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPUSUBFAMILY_UNKNOWN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_ARCH_ABI64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_ARCH_ABI64_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_ARCH_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_STATE_IDLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_STATE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_STATE_NICE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_STATE_SYSTEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_STATE_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_386 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_486 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_486SX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_586 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ANY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64E # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64_32_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64_32_V8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64_PTR_AUTH_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM64_V8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V4T # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V5TEJ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V6M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7EM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7F # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7K # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V7S # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V8 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_V8M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ARM_XSCALE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_BIG_ENDIAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_CELERON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_CELERON_MOBILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_HPPA_7100 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_HPPA_7100LC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_HPPA_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_I386_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_I860_860 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_I860_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_INTEL_FAMILY_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_INTEL_MODEL_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ITANIUM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_ITANIUM_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_LIB64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_LITTLE_ENDIAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC68030 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC68030_ONLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC68040 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC680x0_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC88000_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC88100 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC88110 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC98000_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MC98601 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R2000 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R2000a # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R2300 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R2600 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R2800 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R3000 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MIPS_R3000a # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_MULTIPLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTII_M3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTII_M5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_3_M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_3_XEON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_4_M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTIUM_M # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PENTPRO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_601 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_602 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_603 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_603e # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_603ev # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_604 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_604e # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_620 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_7400 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_7450 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_750 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_970 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_POWERPC_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_PTRAUTH_ABI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_SPARC_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_UVAXI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_UVAXII # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_UVAXIII # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX730 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX750 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX780 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX785 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX8200 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX8500 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX8600 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX8650 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX8800 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_VAX_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_X86_64_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_X86_64_H # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_X86_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_X86_ARCH1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_XEON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_SUBTYPE_XEON_MP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_THREADTYPE_INTEL_HTT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_THREADTYPE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_ANY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_ARM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_ARM64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_ARM64_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_HPPA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_I386 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_I860 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_MC680x0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_MC88000 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_MC98000 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_POWERPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_POWERPC64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_SPARC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_VAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_X86 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h +--include-constant CPU_TYPE_X86_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine/thread_state.h + +--include-constant THREAD_STATE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/machine/thread_state.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h + +--include-typedef memory_object_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_attr_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_attr_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_behave_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_behave_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_cluster_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_control_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_copy_strategy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_default_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_fault_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_perf_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_perf_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_return_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef memory_object_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-typedef vm_object_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_4K_DATA_ADDR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_COPYBACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_FLAGS_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_FLAGS_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_FLAGS_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_GRAB_SECLUDED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_INNERWBACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_IO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_LEDGER_TAGGED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_NAMED_CREATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_NAMED_REUSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_NOOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_ONLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_POSTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_POSTED_COMBINED_REORDERED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_POSTED_REORDERED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_PROT_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_PURGABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_PURGABLE_KERNEL_ONLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_RT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_USE_DATA_ADDR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_VM_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_VM_SHARE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_WCOMB # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MAP_MEM_WTHRU # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_ATTRIBUTE_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_ATTR_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_BEHAVE_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_BEHAVIOR_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_CONTROL_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_CALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_DELAY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_DELAY_FORK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_INVALID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_SYMMETRIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_SYNC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_COPY_TEMPORARY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DATA_FLUSH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DATA_FLUSH_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DATA_NO_CHANGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DATA_PURGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DATA_SYNC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_DEFAULT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_IO_SYNC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_NAME_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_PERFORMANCE_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_PERF_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RELEASE_NO_OP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RESPECT_CACHE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RETURN_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RETURN_ANYTHING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RETURN_DIRTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_RETURN_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-constant MEMORY_OBJECT_TERMINATE_IDLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-struct memory_object_attr_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-struct memory_object_behave_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h +--include-struct memory_object_perf_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h + +--include-typedef mach_msg_bits_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_copy_options_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_descriptor_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_filter_id # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_format_0_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_guard_flags_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_max_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_option_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_options_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_priority_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_return_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_timeout_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_trailer_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_trailer_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_trailer_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_type_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_type_number_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-typedef mach_msg_type_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_CIRCULAR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_COMPLEX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_DENAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_DENAPHOLDASRT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_IMPHOLDASRT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_LOCAL_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_PORTS_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_RAISEIMP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_REMOTE_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_USED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_VOUCHER_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_BITS_ZERO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_KIND_NORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSGH_KIND_NOTIFICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_ALLOCATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_BODY_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_DESCRIPTOR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_DESCRIPTOR_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_FILTER_POLICY_ALLOW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_GUARDED_PORT_DESCRIPTOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_GUARD_FLAGS_IMMOVABLE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_GUARD_FLAGS_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_GUARD_FLAGS_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_GUARD_FLAGS_UNGUARDED_ON_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_IPC_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_IPC_SPACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_OOL_DESCRIPTOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_OOL_PORTS_DESCRIPTOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_OOL_VOLATILE_DESCRIPTOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_OPTION_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_OVERWRITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_PHYSICAL_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_PORT_DESCRIPTOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_PRIORITY_UNSPECIFIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_SIZE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_SIZE_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_SIZE_RELIABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_STRICT_REPLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_SUCCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TIMEOUT_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TRAILER_FORMAT_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TRAILER_FORMAT_0_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TRAILER_MINIMUM_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_COPY_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_COPY_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_DISPOSE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_DISPOSE_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_DISPOSE_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_LAST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_MAKE_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_MAKE_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_MOVE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_MOVE_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_MOVE_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_POLYMORPHIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_PORT_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_PORT_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_PORT_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_PORT_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_TYPE_PORT_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_VIRTUAL_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_VM_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_MSG_VM_SPACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_BODY_ERROR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_GUARDED_DESC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_HEADER_ERROR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INTERRUPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INTERRUPTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_ARGUMENTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_REPLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_TRAILER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_INVALID_TYPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_IN_PROGRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_IN_PROGRESS_TIMED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_IN_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_LARGE_IDENTITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_MSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_OVERWRITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_PORT_CHANGED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_PORT_DIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_SCATTER_SMALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_SYNC_PEEK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_SYNC_WAIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TIMED_OUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TIMEOUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TOO_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_AUDIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_AV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_CTX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_LABELS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_SENDER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_TRAILER_SEQNO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_RCV_VOUCHER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_ALWAYS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_AUX_TOO_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_AUX_TOO_SMALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_FILTER_NONFATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_IMPORTANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INTERRUPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INTERRUPTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_CONTEXT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_DEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_HEADER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_MEMORY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_OPTIONS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_REPLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_RIGHT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_RT_OOL_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_TRAILER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_TYPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_INVALID_VOUCHER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_IN_PROGRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_MSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_MSG_FILTERED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_MSG_TOO_SMALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_NODENAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_NOIMPORTANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_NOTIFY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_NO_BUFFER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_NO_GRANT_DEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_OVERRIDE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_PROPAGATE_QOS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_SYNC_BOOTSTRAP_CHECKIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_SYNC_OVERRIDE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_SYNC_USE_THRPRI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_TIMED_OUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_TIMEOUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_TOO_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MACH_SEND_TRAILER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-constant MAX_TRAILER_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-var KERNEL_AUDIT_TOKEN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-var KERNEL_SECURITY_TOKEN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct audit_token_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_audit_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_base_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_body_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_context_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_empty_rcv_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_empty_send_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_guarded_port_descriptor32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_guarded_port_descriptor64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_guarded_port_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_header_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_mac_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_descriptor32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_descriptor64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_ports_descriptor32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_ports_descriptor64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_ool_ports_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_port_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_security_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_seqno_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_trailer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct mach_msg_type_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct msg_labels_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-struct security_token_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-function mach_msg # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-function mach_msg_overwrite # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-function mach_voucher_deallocate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-union mach_msg_descriptor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h +--include-union mach_msg_empty_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/message.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h + +--include-typedef policy_base_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_base_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_base_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_base_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_limit_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_fifo_limit_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_limit_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_limit_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_base_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_base_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_limit_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_rr_limit_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_base_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_base_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_limit_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-typedef policy_timeshare_limit_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICYCLASS_FIXEDPRI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_FIFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_FIFO_BASE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_FIFO_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_FIFO_LIMIT_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_RR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_RR_BASE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_RR_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_RR_LIMIT_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_TIMESHARE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_TIMESHARE_BASE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_TIMESHARE_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-constant POLICY_TIMESHARE_LIMIT_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_bases # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_fifo_base # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_fifo_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_fifo_limit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_infos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_limits # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_rr_base # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_rr_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_rr_limit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_timeshare_base # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_timeshare_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h +--include-struct policy_timeshare_limit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/policy.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h + +--include-typedef mach_port_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_delta_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_guard_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_info_ext_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_limits_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_mscount_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_msgcount_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_name_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_options_ptr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_options_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_qos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_right_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_rights_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_seqno_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_srights_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_status_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_type_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_type_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_port_urefs_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_service_port_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-typedef mach_service_port_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant GUARD_TYPE_MACH_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_DEAD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_DENAP_RECEIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_DNREQUESTS_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_DNREQUESTS_SIZE_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_GUARD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_GUARD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_IMPORTANCE_RECEIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_INFO_EXT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_INFO_EXT_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_LIMITS_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_LIMITS_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_BASIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_SMALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_QLIMIT_ZERO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RECEIVE_STATUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RECEIVE_STATUS_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_DEAD_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_LABELH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_NUMBER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_PORT_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_RIGHT_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_SERVICE_THROTTLED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_SERVICE_THROTTLED_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_SRIGHTS_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_SRIGHTS_PRESENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_GUARDED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_GUARD_IMMOVABLE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_IMP_DONATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_NO_GRANT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_REVIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_STRICT_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_TASKPTR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_STATUS_FLAG_TEMPOWNER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TEMPOWNER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_ALL_RIGHTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_DEAD_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_DNREQUEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_LABELH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_PORT_OR_DEAD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_PORT_RIGHTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_PORT_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SEND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SEND_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SEND_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SEND_RIGHTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SPREQUEST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_PORT_TYPE_SPREQUEST_DELAYED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_SERVICE_PORT_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MACH_SERVICE_PORT_INFO_STRING_NAME_MAX_BUF_LEN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MAX_FATAL_kGUARD_EXC_CODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MAX_OPTIONAL_kGUARD_EXC_CODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_IMMOVABLE_PINNED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_MOD_REFS_PINNED_COPYIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_MOD_REFS_PINNED_DEALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_MOD_REFS_PINNED_DESTROY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_INVALID_REPLY_DISP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_INVALID_REPLY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_INVALID_VOUCHER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_MISMATCHED_PERSONA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_FLAGS_STRICT_REPLY_NO_BANK_ATTR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_IMMOVABLE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPG_STRICT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_CONNECTION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_CONTEXT_AS_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_DENAP_RECEIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_ENFORCE_REPLY_PORT_SEMANTICS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_EXCEPTION_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_FILTER_MSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_IMMOVABLE_RECEIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_IMPORTANCE_RECEIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_INSERT_SEND_RIGHT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_PROVISIONAL_REPLY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_QLIMIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_REPLY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_SERVICE_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_STRICT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_TEMPOWNER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant MPO_TG_BLOCK_TRACKING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_DESTROY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_EXCEPTION_BEHAVIOR_ENFORCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_IMMOVABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_IMMOVABLE_NON_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INCORRECT_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INVALID_ARGUMENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INVALID_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INVALID_OPTIONS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INVALID_RIGHT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_INVALID_VALUE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_KERN_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_KERN_NO_SPACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_KERN_RESOURCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_MOD_REFS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_MOD_REFS_NON_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_MSG_FILTERED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_PROVISIONAL_REPLY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_RCV_GUARDED_DESC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_RCV_INVALID_NAME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_REQUIRE_REPLY_PORT_SEMANTICS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_RIGHT_EXISTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SEND_INVALID_REPLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SEND_INVALID_RIGHT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SEND_INVALID_VOUCHER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SERVICE_PORT_VIOLATION_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SERVICE_PORT_VIOLATION_NON_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_SET_CONTEXT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_STRICT_REPLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_THREAD_SET_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-constant kGUARD_EXC_UNGUARDED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_port_guard_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_port_info_ext # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_port_limits # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_port_options # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_port_qos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_port_status # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-struct mach_service_port_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h +--include-union union (anonymous at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h:378:2) # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/port.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h + +--include-typedef processor_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_cpu_load_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_cpu_load_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_info_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_load_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-typedef processor_set_load_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant LOAD_SCALE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_CPU_LOAD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_CPU_LOAD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_PM_REGS_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_SET_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_SET_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_SET_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_SET_LOAD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_SET_LOAD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-constant PROCESSOR_TEMPERATURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-struct processor_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-struct processor_cpu_load_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-struct processor_set_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-struct processor_set_load_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h +--include-union union (anonymous at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h:103:2) # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/processor_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h + +--include-typedef gpu_energy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef mach_task_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef mach_task_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_absolutetime_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_absolutetime_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_affinity_tag_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_affinity_tag_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_32_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_64_2_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_64_2_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_64_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_corpse_forking_behavior_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_dyld_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_dyld_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_events_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_events_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_exc_guard_behavior_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_extmod_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_extmod_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_flags_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_flags_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_kernelmemory_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_kernelmemory_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_power_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_power_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_power_info_v2_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_power_info_v2_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_purgable_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_security_config_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_thread_times_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_thread_times_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_trace_memory_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_trace_memory_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_vm_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_vm_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_wait_state_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-typedef task_wait_state_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant MACH_TASK_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant MACH_TASK_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_ABSOLUTETIME_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_ABSOLUTETIME_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_AFFINITY_TAG_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_AFFINITY_TAG_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_AUDIT_TOKEN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_AUDIT_TOKEN_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC2_INFO_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_32_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_64_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_64_2_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_64_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_CORPSE_FORKING_DISABLED_MEM_DIAG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_DEBUG_INFO_INTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_DYLD_ALL_IMAGE_INFO_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_DYLD_ALL_IMAGE_INFO_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_DYLD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_DYLD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EVENTS_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EVENTS_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_MP_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_MP_CORPSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_MP_DELIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_MP_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_MP_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_VM_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_VM_CORPSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_VM_DELIVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_VM_FATAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXC_GUARD_VM_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXTMOD_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_EXTMOD_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_FLAGS_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_FLAGS_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_KERNELMEMORY_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_KERNELMEMORY_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_POWER_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_POWER_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_POWER_INFO_V2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_POWER_INFO_V2_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_POWER_INFO_V2_COUNT_OLD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SCHED_FIFO_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SCHED_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SCHED_RR_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SCHED_TIMESHARE_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SECURITY_CONFIG_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SECURITY_CONFIG_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SECURITY_TOKEN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_SECURITY_TOKEN_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_THREAD_TIMES_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_THREAD_TIMES_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_TRACE_MEMORY_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_TRACE_MEMORY_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_PURGEABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_PURGEABLE_ACCOUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV0_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV1_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV2_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV3_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV4_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV5_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV6_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_VM_INFO_REV7_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_WAIT_STATE_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TASK_WAIT_STATE_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TF_64B_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-constant TF_LP64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct gpu_energy_data # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct mach_task_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_absolutetime_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_affinity_tag_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_basic_info_32 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_basic_info_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_basic_info_64_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_dyld_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_events_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_extmod_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_flags_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_kernelmemory_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_power_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_power_info_v2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_security_config_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_thread_times_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_trace_memory_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_vm_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h +--include-struct task_wait_state_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h + +--include-typedef task_inspect_basic_counts_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-typedef task_inspect_basic_counts_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-typedef task_inspect_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-typedef task_inspect_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-constant TASK_INSPECT_BASIC_COUNTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-constant TASK_INSPECT_BASIC_COUNTS_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h +--include-struct task_inspect_basic_counts # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_inspect.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h + +--include-typedef task_category_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_category_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_latency_qos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_policy_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_qos_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_role_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-typedef task_throughput_qos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_LAUNCH_DEFAULT_TIER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant LATENCY_QOS_TIER_UNSPECIFIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_ADAPTIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_ADAPTIVE_IMPORTANT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_DARWINBG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_EXT_DARWINBG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_IMPORTANCE_DONOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_IOS_APPLEDAEMON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_IOS_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_IOS_IMPPROMOTION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant PROC_FLAG_SUPPRESSED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_BACKGROUND_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_BASE_LATENCY_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_BASE_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_BASE_THROUGHPUT_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_CATEGORY_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_CATEGORY_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_CONTROL_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_DARWINBG_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_DEFAULT_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_FOREGROUND_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_GRAPHICS_SERVER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_NONUI_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_OVERRIDE_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_POLICY_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_QOS_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_RENICED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_SUPPRESSION_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_THROTTLE_APPLICATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant TASK_UNSPECIFIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_LAUNCH_DEFAULT_TIER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-constant THROUGHPUT_QOS_TIER_UNSPECIFIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-struct task_category_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h +--include-struct task_qos_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_policy.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h + +--include-typedef task_special_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_ACCESS_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_BOOTSTRAP_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_DEBUG_CONTROL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_HOST_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_INSPECT_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_KERNEL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_MAX_SPECIAL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_NAME_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_READ_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h +--include-constant TASK_RESOURCE_NOTIFY_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/task_special_ports.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h + +--include-typedef io_stat_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_extended_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_extended_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_identifier_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_identifier_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-typedef thread_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant IO_NUM_PRIORITIES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant MAXTHREADNAMESIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_DEBUG_INFO_INTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_EXTENDED_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_EXTENDED_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_IDENTIFIER_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_IDENTIFIER_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_SCHED_FIFO_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_SCHED_RR_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant THREAD_SCHED_TIMESHARE_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_FLAGS_GLOBAL_FORCED_IDLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_FLAGS_IDLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_FLAGS_SWAPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_STATE_HALTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_STATE_RUNNING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_STATE_STOPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_STATE_UNINTERRUPTIBLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_STATE_WAITING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-constant TH_USAGE_SCALE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-struct io_stat_entry # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-struct io_stat_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-struct thread_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-struct thread_extended_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h +--include-struct thread_identifier_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h + +--include-typedef thread_affinity_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_affinity_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_background_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_background_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_extended_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_extended_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_latency_qos_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_latency_qos_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_latency_qos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_policy_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_precedence_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_precedence_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_standard_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_standard_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_throughput_qos_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_throughput_qos_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_throughput_qos_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_time_constraint_policy_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-typedef thread_time_constraint_policy_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_AFFINITY_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_AFFINITY_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_AFFINITY_TAG_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_BACKGROUND_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_BACKGROUND_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_BACKGROUND_POLICY_DARWIN_BG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_EXTENDED_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_EXTENDED_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_LATENCY_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_LATENCY_QOS_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_PRECEDENCE_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_PRECEDENCE_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_STANDARD_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_STANDARD_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_THROUGHPUT_QOS_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_THROUGHPUT_QOS_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_TIME_CONSTRAINT_POLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-constant THREAD_TIME_CONSTRAINT_POLICY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_affinity_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_background_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_extended_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_latency_qos_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_precedence_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_standard_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_throughput_qos_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h +--include-struct thread_time_constraint_policy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_policy.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_special_ports.h + +--include-constant THREAD_INSPECT_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_special_ports.h +--include-constant THREAD_KERNEL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_special_ports.h +--include-constant THREAD_MAX_SPECIAL_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_special_ports.h +--include-constant THREAD_READ_PORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_special_ports.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h + +--include-typedef thread_state_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-typedef thread_state_flavor_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-typedef thread_state_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-typedef thread_state_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_CONVERT_THREAD_STATE_FROM_SELF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_CONVERT_THREAD_STATE_TO_SELF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_STATE_FLAVOR_LIST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_STATE_FLAVOR_LIST_10_13 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_STATE_FLAVOR_LIST_10_15 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_STATE_FLAVOR_LIST_10_9 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h +--include-constant THREAD_STATE_FLAVOR_LIST_NEW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/thread_status.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/time_value.h + +--include-typedef time_value_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/time_value.h +--include-constant TIME_MICROS_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/time_value.h +--include-struct time_value # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/time_value.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h + +--include-typedef vm_machine_attribute_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-typedef vm_machine_attribute_val_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_CACHE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_MIGRATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_REPLICATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_CACHE_FLUSH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_CACHE_SYNC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_DCACHE_FLUSH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_GET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_GET_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_ICACHE_FLUSH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_OFF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h +--include-constant MATTR_VAL_ON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_attributes.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h + +--include-typedef vm_behavior_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_CAN_REUSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_DONTNEED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_FREE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_LAST_VALID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_PAGEOUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_RANDOM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_REUSABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_REUSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_RSEQNTL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_SEQUENTIAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_WILLNEED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_ZERO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h +--include-constant VM_BEHAVIOR_ZERO_WIRED_PAGES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_behavior.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h + +--include-typedef vm_inherit_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_DONATE_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_LAST_VALID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h +--include-constant VM_INHERIT_SHARE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_inherit.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h + +--include-var vm_kernel_page_mask # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h +--include-var vm_kernel_page_shift # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h +--include-var vm_kernel_page_size # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h +--include-var vm_page_mask # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h +--include-var vm_page_shift # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h +--include-var vm_page_size # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_page_size.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h + +--include-typedef vm_prot_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_ALLEXEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_EXECUTE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_EXECUTE_ONLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_IS_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_NO_CHANGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_NO_CHANGE_LEGACY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_READ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_RORW_TP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_STRIP_READ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_TPRO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_WANTS_COPY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h +--include-constant VM_PROT_WRITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_prot.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h + +--include-typedef vm_purgable_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_ALL_MASKS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_BEHAVIOR_FIFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_BEHAVIOR_LIFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_BEHAVIOR_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_BEHAVIOR_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_DEBUG_EMPTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_DEBUG_FAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_DEBUG_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_DEBUG_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_DENY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_EMPTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_GET_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_NONVOLATILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_NO_AGING # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_NO_AGING_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_NO_AGING_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_ORDERING_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_ORDERING_NORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_ORDERING_OBSOLETE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_ORDERING_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_PURGE_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_SET_STATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_SET_STATE_FROM_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_STATE_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_STATE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_STATE_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_PURGABLE_VOLATILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_3 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_5 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_6 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_7 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_GROUP_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_MAKE_FIRST_IN_GROUP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_MAKE_LAST_IN_GROUP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_ORDER_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h +--include-constant VM_VOLATILE_ORDER_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_purgable.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h + +--include-typedef mach_vm_read_entry_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm32_object_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_page_info_basic_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_page_info_basic_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_page_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_page_info_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_page_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_read_entry_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_basic_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_basic_info_data_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_basic_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_basic_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_extended_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_extended_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_flavor_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_recurse_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_recurse_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_info_data_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_short_info_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_submap_short_info_data_64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_top_info_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-typedef vm_region_top_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_COW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_EMPTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_LARGE_PAGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_PRIVATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_PRIVATE_ALIASED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_SHARED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_SHARED_ALIASED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant SM_TRUESHARED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_MAP_ENTRY_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_PAGE_INFO_BASIC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_PAGE_INFO_BASIC_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_BASIC_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_BASIC_INFO_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_BASIC_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_BASIC_INFO_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_EXTENDED_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_EXTENDED_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_INFO_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V0_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V0_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V1_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V1_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V2_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_INFO_V2_SIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_SUBMAP_SHORT_INFO_COUNT_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_TOP_INFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-constant VM_REGION_TOP_INFO_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct mach_vm_read_entry # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_page_info_basic # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_read_entry # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_basic_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_basic_info_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_extended_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_submap_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_submap_info_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_submap_short_info_64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h +--include-struct vm_region_top_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_region.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h + +--include-typedef vm_extmod_statistics_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_extmod_statistics_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_purgeable_info_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_purgeable_stat_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_statistics64_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_statistics64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_statistics_data_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-typedef vm_statistics_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant GUARD_TYPE_VIRT_MEMORY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant SUPERPAGE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant SUPERPAGE_SIZE_2MB # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant SUPERPAGE_SIZE_ANY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_4GB_CHUNK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_ALIAS_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_ANYWHERE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_FIXED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_HW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_NO_CACHE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_OVERWRITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_PERMANENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_PURGABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_RANDOM_ADDR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_RESILIENT_CODESIGN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_RESILIENT_MEDIA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_RETURN_4K_DATA_ADDR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_RETURN_DATA_ADDR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_SUPERPAGE_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_SUPERPAGE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_SUPERPAGE_SHIFT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_SUPERPAGE_SIZE_2MB # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_SUPERPAGE_SIZE_ANY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_TPRO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_USER_ALLOCATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_USER_MAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_FLAGS_USER_REMAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_FLAGS_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_FLAGS_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_FLAG_FROM_KERNEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_FLAG_NO_FOOTPRINT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_FLAG_NO_FOOTPRINT_FOR_DEBUG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_GRAPHICS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_MEDIA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_NETWORK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_NEURAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_LEDGER_TAG_UNCHANGED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ACCELERATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ACCOUNTS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ANALYSIS_TOOL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_APPKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_APPLICATION_SPECIFIC_1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_APPLICATION_SPECIFIC_16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ASL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ASSETSD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ATS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_AUDIO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_BTINFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CARBON # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CGIMAGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_CRABS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_HLS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_MEMORYPOOL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_READCACHE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_REGWARP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_RPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CM_XPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COLORSYNC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREDATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREDATA_OBJECTIDS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_BACKINGSTORES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_FRAMEBUFFERS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_MISC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_SHARED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREGRAPHICS_XALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREIMAGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREPROFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CORESERVICES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREUI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREUIFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COREUI_CACHED_IMAGE_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_CORPSEINFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_COUNT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_DHMM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_DYLD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_DYLD_MALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_DYLIB # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_EAR_DECODER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_FOUNDATION # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_GENEALOGY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_GLSL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_IMAGEIO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_IOACCELERATOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_IOKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_IOSURFACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_JAVA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_JAVASCRIPT_CORE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_JAVASCRIPT_JIT_EXECUTABLE_ALLOCATOR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_JAVASCRIPT_JIT_REGISTER_FILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_LAYERKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_LIBDISPATCH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_LIBNETWORK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MACH_MSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_HUGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_LARGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_LARGE_REUSABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_LARGE_REUSED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_MEDIUM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_NANO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_PROB_GUARD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_SMALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_MALLOC_TINY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_OBJC_DISPATCHERS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_OPENCL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_OS_ALLOC_ONCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_QUICKLOOK_THUMBNAILS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_RAWCAMERA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_REALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_ARENA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_EXECUTABLE_HEAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_INDIRECT_BRANCH_MAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_RETURN_STACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_THREAD_CONTEXT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_ROSETTA_USER_LDT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SANITIZER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SBRK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SCENEKIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SHARED_PMAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SKYWALK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SQLITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_STACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SWIFT_METADATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_SWIFT_RUNTIME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_TCMALLOC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_UNSHARED_PMAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_VIDEOBITSTREAM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_WEBASSEMBLY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_MEMORY_WEBCORE_PURGEABLE_BUFFERS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_COPIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_CS_NX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_CS_TAINTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_CS_VALIDATED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_DIRTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_EXTERNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_FICTITIOUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_PAGED_OUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_PRESENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_REF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_REUSABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant VM_PAGE_QUERY_PAGE_SPECULATIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant __VM_LEDGER_ACCOUNTING_POSTMARK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_DEALLOC_GAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_RECLAIM_COPYIO_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_RECLAIM_INDEX_FAILURE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_ACCESS_FAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_ASYNC_ACCESS_FAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_COPY_DENIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_LOOKUP_DENIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_RANGE_DENIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-constant kGUARD_EXC_SEC_SHARING_DENIED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-struct vm_extmod_statistics # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-struct vm_purgeable_info # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-struct vm_purgeable_stat # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-struct vm_statistics # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-struct vm_statistics64 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h +--include-function vm_stats # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_statistics.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h + +--include-typedef vm_sync_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_ASYNCHRONOUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_CONTIGUOUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_DEACTIVATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_INVALIDATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_KILLPAGES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_REUSABLEPAGES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h +--include-constant VM_SYNC_SYNCHRONOUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_sync.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h + +--include-typedef addr64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef mach_vm_offset_list_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef mach_vm_range_recipe_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef mach_vm_range_recipes_raw_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef mach_vm_range_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef pointer_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef ppnum_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef reg64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef upl_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_address_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_map_inspect_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_map_read_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_map_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_named_entry_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_object_offset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-typedef vm_object_size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_FIXED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_FLAVOR_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_FLAVOR_INVALID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_FLAVOR_V1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant MACH_VM_RANGE_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant PPNUM_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant UPL_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant VM_MAP_INSPECT_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant VM_MAP_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant VM_MAP_READ_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-constant VM_NAMED_ENTRY_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-struct mach_vm_range # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h +--include-struct mach_vm_range_recipe_v1_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h + +--include-typedef exception_handler_info_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_name_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_space_basic_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_space_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_tree_name_array_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-typedef ipc_info_tree_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-struct ipc_info_name # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-struct ipc_info_port # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-struct ipc_info_space # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-struct ipc_info_space_basic # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h +--include-struct ipc_info_tree_name # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach_debug/ipc_info.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h + +--include-function aligned_alloc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function calloc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function free # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function malloc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function posix_memalign # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function realloc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h +--include-function reallocf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_ptrcheck.h + +--include-constant __has_ptrcheck # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_ptrcheck.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h + +--include-typedef double_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-typedef float_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-var signgam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_FAST_FMA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_FAST_FMAF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_FAST_FMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_ILOGB0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_ILOGBNAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_INFINITE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_NAN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_NORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_SUBNORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_SUPERNORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant FP_ZERO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant HUGE_VAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant HUGE_VALF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant HUGE_VALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant MATH_ERREXCEPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant MATH_ERRNO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant MAXFLOAT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_1_PI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_2_PI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_2_SQRTPI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_E # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_LN10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_LN2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_LOG10E # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_LOG2E # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_PI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_PI_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_PI_4 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_SQRT1_2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-constant M_SQRT2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-struct __double2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-struct __float2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __ceilf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __copysignf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __cospi # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __cospif # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __exp10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __exp10f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fabsf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __floorf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fmaf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fmaxf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fminf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fpclassifyd # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fpclassifyf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __fpclassifyl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __hypotf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __math_errhandling # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __nextafterf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __rintf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __roundf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sincos_stret # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sincosf_stret # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sincospi_stret # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sincospif_stret # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sinpi # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sinpif # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __sqrtf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __tanpi # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __tanpif # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function __truncf16 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acosf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acosh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acoshf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acoshl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function acosl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asin # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asinf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asinh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asinhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asinhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function asinl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atan # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atan2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atan2f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atan2l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atanh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atanhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atanhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function atanl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cbrt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cbrtf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cbrtl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ceil # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ceilf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ceill # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function copysign # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function copysignf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function copysignl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cos # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cosf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cosh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function coshf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function coshl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function cosl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erfc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erfcf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erfcl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erff # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function erfl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function exp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function exp2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function exp2f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function exp2l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function expf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function expl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function expm1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function expm1f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function expm1l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fabs # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fabsf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fabsl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fdim # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fdimf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fdiml # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function floor # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function floorf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function floorl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fma # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmaf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmax # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmaxf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmaxl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmin # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fminf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fminl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmod # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmodf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function fmodl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function frexp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function frexpf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function frexpl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function hypot # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function hypotf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function hypotl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ilogb # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ilogbf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ilogbl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function j0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function j1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function jn # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ldexp # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ldexpf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function ldexpl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lgamma # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lgammaf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lgammal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llrint # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llrintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llrintl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llround # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llroundf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function llroundl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log10 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log10f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log10l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log1p # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log1pf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log1pl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log2f # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function log2l # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function logb # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function logbf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function logbl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function logf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function logl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lrint # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lrintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lrintl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lround # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lroundf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function lroundl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function modf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function modff # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function modfl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nan # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nanl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nearbyint # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nearbyintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nearbyintl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nextafter # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nextafterf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nextafterl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nexttoward # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nexttowardf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function nexttowardl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function pow # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function powf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function powl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remainder # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remainderf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remainderl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remquo # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remquof # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function remquol # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function rint # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function rintf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function rintl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function round # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function roundf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function roundl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalb # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalbln # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalblnf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalblnl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalbn # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalbnf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function scalbnl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sin # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sinf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sinh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sinhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sinhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sinl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sqrt # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sqrtf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function sqrtl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tan # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tanf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tanh # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tanhf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tanhl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tanl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tgamma # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tgammaf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function tgammal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function trunc # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function truncf # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function truncl # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function y0 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function y1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h +--include-function yn # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h + +--include-constant PTHREAD_CANCELED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CANCEL_ASYNCHRONOUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CANCEL_DEFERRED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CANCEL_DISABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CANCEL_ENABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CREATE_DETACHED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_CREATE_JOINABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_EXPLICIT_SCHED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_INHERIT_SCHED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_DEFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_ERRORCHECK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_NORMAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_POLICY_FAIRSHARE_NP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_POLICY_FIRSTFIT_NP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_MUTEX_RECURSIVE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_PRIO_INHERIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_PRIO_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_PRIO_PROTECT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_PROCESS_PRIVATE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_PROCESS_SHARED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_SCOPE_PROCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-constant PTHREAD_SCOPE_SYSTEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_atfork # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getdetachstate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getguardsize # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getinheritsched # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getschedparam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getschedpolicy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getscope # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getstack # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getstackaddr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_getstacksize # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setdetachstate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setguardsize # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setinheritsched # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setschedparam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setschedpolicy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setscope # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setstack # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setstackaddr # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_attr_setstacksize # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cancel # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_broadcast # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_signal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_timedwait # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_cond_wait # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_condattr_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_condattr_getpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_condattr_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_condattr_setpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_create # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_detach # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_equal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_exit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_getconcurrency # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_getschedparam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_getspecific # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_join # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_key_create # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_key_delete # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_getprioceiling # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_lock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_setprioceiling # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_trylock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutex_unlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_getpolicy_np # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_getprioceiling # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_getprotocol # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_getpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_gettype # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_setpolicy_np # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_setprioceiling # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_setprotocol # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_setpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_mutexattr_settype # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_once # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_rdlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_tryrdlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_trywrlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_unlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlock_wrlock # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlockattr_destroy # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlockattr_getpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlockattr_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_rwlockattr_setpshared # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_self # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_setcancelstate # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_setcanceltype # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_setconcurrency # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_setschedparam # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_setspecific # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h +--include-function pthread_testcancel # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h + +--include-constant SCHED_FIFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant SCHED_OTHER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant SCHED_RR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_COND_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_ERRORCHECK_MUTEX_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_FIRSTFIT_MUTEX_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_MUTEX_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_ONCE_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_RECURSIVE_MUTEX_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant _PTHREAD_RWLOCK_SIG_init # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h +--include-constant __SCHED_PARAM_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/pthread_impl.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/sched.h + +--include-struct sched_param # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/sched.h +--include-function sched_get_priority_max # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/sched.h +--include-function sched_get_priority_min # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/sched.h +--include-function sched_yield # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread/sched.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h + +--include-var _CurrentRuneLocale # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-var _DefaultRuneLocale # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-constant _CACHED_RUNES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-constant _CRMASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-constant _RUNE_MAGIC_A # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-struct _RuneCharClass # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-struct _RuneEntry # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-struct _RuneLocale # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h +--include-struct _RuneRange # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/runetype.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h + +--include-constant _USE_FORTIFY_LEVEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h + +--include-function __snprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h +--include-function __sprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h +--include-function __vsnprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h +--include-function __vsprintf_chk # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h + +--include-constant __HAS_FIXED_CHK_PROTOTYPES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h + +--include-typedef int_fast16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_fast32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_fast64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_fast8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef int_least8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_fast8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-typedef uint_least8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT16_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT32_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT64_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT8_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTMAX_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTMAX_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTPTR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INTPTR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST16_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST32_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST64_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_FAST8_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST16_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST32_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST64_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant INT_LEAST8_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant PTRDIFF_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant PTRDIFF_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant SIG_ATOMIC_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant SIG_ATOMIC_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant SIZE_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINTMAX_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINTPTR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_FAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST16_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST32_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST64_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant UINT_LEAST8_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WCHAR_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WCHAR_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WINT_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant WINT_MIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h +--include-constant __WORDSIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_attr_t.h + +--include-typedef pthread_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_attr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_cond_t.h + +--include-typedef pthread_cond_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_cond_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h + +--include-typedef pthread_condattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_key_t.h + +--include-typedef pthread_key_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_key_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h + +--include-typedef pthread_mutex_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h + +--include-typedef pthread_mutexattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_once_t.h + +--include-typedef pthread_once_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_once_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h + +--include-typedef pthread_rwlock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h + +--include-typedef pthread_rwlockattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_t.h + +--include-typedef pthread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h + +--include-typedef __darwin_pthread_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_cond_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_condattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_key_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_mutex_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_mutexattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_once_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_rwlock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_rwlockattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_ATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_CONDATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_COND_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_MUTEXATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_MUTEX_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_ONCE_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_RWLOCKATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_RWLOCK_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct __darwin_pthread_handler_rec # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_cond_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_condattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_mutex_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_mutexattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_once_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_rwlock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_rwlockattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h + +--include-typedef __darwin_blkcnt_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_blksize_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_dev_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_fsblkcnt_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_fsfilcnt_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_gid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_ino64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_ino_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_mach_port_name_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_mach_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_mode_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_off_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_pid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_sigset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_suseconds_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_uid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_useconds_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_uuid_string_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-typedef __darwin_uuid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-constant USE_CLANG_TYPES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h +--include-constant __DARWIN_NULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_clock_t.h + +--include-typedef clock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_clock_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsid_t.h + +--include-typedef fsid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsid_t.h +--include-struct fsid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsid_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsobj_id_t.h + +--include-typedef fsobj_id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsobj_id_t.h +--include-struct fsobj_id # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_fsobj_id_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_id_t.h + +--include-typedef id_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_id_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int16_t.h + +--include-typedef int16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int16_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int32_t.h + +--include-typedef int32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int32_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int64_t.h + +--include-typedef int64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int64_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int8_t.h + +--include-typedef int8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_int8_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_intptr_t.h + +--include-typedef intptr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_intptr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_mach_port_t.h + +--include-typedef mach_port_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_mach_port_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_null.h + +--include-constant USE_CLANG_STDDEF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_null.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_off_t.h + +--include-typedef off_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_off_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_pid_t.h + +--include-typedef pid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_pid_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h + +--include-constant SEEK_CUR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h +--include-constant SEEK_END # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h +--include-constant SEEK_SET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_seek_set.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigaltstack.h + +--include-typedef stack_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigaltstack.h +--include-struct __darwin_sigaltstack # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigaltstack.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigset_t.h + +--include-typedef sigset_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_sigset_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h + +--include-typedef size_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h +--include-constant USE_CLANG_STDDEF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ssize_t.h + +--include-typedef ssize_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ssize_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h + +--include-typedef time_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_timespec.h + +--include-struct timespec # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_timespec.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_timeval.h + +--include-struct timeval # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_timeval.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int16_t.h + +--include-typedef u_int16_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int16_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int32_t.h + +--include-typedef u_int32_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int32_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int64_t.h + +--include-typedef u_int64_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int64_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int8_t.h + +--include-typedef u_int8_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_u_int8_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ucontext.h + +--include-typedef ucontext_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ucontext.h +--include-struct __darwin_ucontext # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_ucontext.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uid_t.h + +--include-typedef uid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uid_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uintptr_t.h + +--include-typedef uintptr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uintptr_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uuid_t.h + +--include-typedef uuid_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_uuid_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h + +--include-typedef va_list # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h +--include-constant USE_CLANG_STDARG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_wchar_t.h + +--include-typedef wchar_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_wchar_t.h +--include-constant USE_CLANG_STDDEF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_wchar_t.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h + +--include-constant _DARWIN_FEATURE_64_BIT_INODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_ONLY_64_BIT_INODE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_ONLY_VERS_1050 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant _DARWIN_FEATURE_UNIX_CONFORMANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_64_BIT_INO_T # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_C_ANSI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_C_FULL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_C_LEVEL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_NON_CANCELABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_NO_LONG_LONG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_ONLY_64_BIT_INO_T # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_ONLY_UNIX_CONFORMANCE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_ONLY_VERS_1050 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_SUF_EXTSN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_UNIX03 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __DARWIN_VERS_1050 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __has_ptrcheck # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h +--include-constant __has_safe_buffers # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h + +--include-constant E2BIG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EACCES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EADDRINUSE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EADDRNOTAVAIL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EAFNOSUPPORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EAGAIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EALREADY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EBADF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EBADMSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EBUSY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ECANCELED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ECHILD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ECONNABORTED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ECONNREFUSED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ECONNRESET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EDEADLK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EDESTADDRREQ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EDOM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EDQUOT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EEXIST # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EFAULT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EFBIG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EHOSTUNREACH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EIDRM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EILSEQ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EINPROGRESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EINTR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EINVAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EIO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EISCONN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EISDIR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ELOOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EMFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EMLINK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EMSGSIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EMULTIHOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENAMETOOLONG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENETDOWN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENETRESET # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENETUNREACH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOBUFS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENODATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENODEV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOENT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOEXEC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOLCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOLINK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOMEM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOMSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOPOLICY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOPROTOOPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOSPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOSR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOSTR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOSYS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTCONN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTDIR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTEMPTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTRECOVERABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTSOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTSUP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENOTTY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ENXIO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EOPNOTSUPP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EOVERFLOW # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EOWNERDEAD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EPERM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EPIPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EPROTO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EPROTONOSUPPORT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EPROTOTYPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ERANGE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EROFS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ESPIPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ESRCH # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ESTALE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ETIME # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ETIMEDOUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant ETXTBSY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EWOULDBLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-constant EXDEV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h +--include-function __error # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h + +--include-typedef rlim_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant PRIO_PGRP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant PRIO_PROCESS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant PRIO_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_AS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_CORE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_CPU # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_DATA # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_FSIZE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_NOFILE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIMIT_STACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIM_INFINITY # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIM_SAVED_CUR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RLIM_SAVED_MAX # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RUSAGE_CHILDREN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant RUSAGE_SELF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-constant _RLIMIT_POSIX_FLAG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-struct rlimit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-struct rusage # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-function getpriority # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-function getrlimit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-function getrusage # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-function setpriority # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h +--include-function setrlimit # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h + +--include-typedef siginfo_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant BUS_ADRALN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant BUS_ADRERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant BUS_OBJERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_CONTINUED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_DUMPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_EXITED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_KILLED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_STOPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant CLD_TRAPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTDIV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTINV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTOVF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTRES # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTSUB # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_FLTUND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_INTDIV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant FPE_INTOVF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_BADSTK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_COPROC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_ILLADR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_ILLOPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_ILLOPN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_ILLTRP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_PRVOPC # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant ILL_PRVREG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant MINSIGSTKSZ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_ERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_HUP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_IN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_MSG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_OUT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant POLL_PRI # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_NOCLDSTOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_NOCLDWAIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_NODEFER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_ONSTACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_RESETHAND # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_RESTART # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_SIGINFO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SA_USERSPACE_MASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SEGV_ACCERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SEGV_MAPERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGABRT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGALRM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGBUS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGCHLD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGCONT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGEV_NONE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGEV_SIGNAL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGEV_THREAD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGFPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGHUP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGILL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGINT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGKILL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGPIPE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGPOLL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGPROF # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGQUIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGSEGV # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGSTKSZ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGSTOP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGSYS # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGTERM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGTRAP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGTSTP # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGTTIN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGTTOU # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGURG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGUSR1 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGUSR2 # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGVTALRM # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGXCPU # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIGXFSZ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_BLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_DFL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_ERR # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_HOLD # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_IGN # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_SETMASK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SIG_UNBLOCK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SI_ASYNCIO # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SI_MESGQ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SI_QUEUE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SI_TIMER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SI_USER # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SS_DISABLE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant SS_ONSTACK # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant TRAP_BRKPT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant TRAP_TRACE # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-constant __DARWIN_NSIG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-struct __sigaction # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-struct __siginfo # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-struct sigaction # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-struct sigevent # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-struct sigstack # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-function signal # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-union __sigaction_u # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h +--include-union sigval # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/signal.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h + +--include-function renameat # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stdio.h + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h + +--include-constant P_ALL # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant P_PGID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant P_PID # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WCONTINUED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WEXITED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WNOHANG # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WNOWAIT # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WSTOPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant WUNTRACED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-constant _WSTOPPED # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-function wait # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-function waitid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h +--include-function waitpid # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stdarg___gnuc_va_list.h + +--include-typedef __gnuc_va_list # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stdarg___gnuc_va_list.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stdarg_va_list.h + +--include-typedef va_list # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stdarg_va_list.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_max_align_t.h + +--include-typedef max_align_t # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_max_align_t.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_null.h + +--include-constant NULL # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_null.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_ptrdiff_t.h + +--include-typedef ptrdiff_t # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/__stddef_ptrdiff_t.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h + +--include-constant DBL_DECIMAL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_EPSILON # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_HAS_SUBNORM # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MANT_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MAX_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MAX_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MIN_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_MIN_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_NORM_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DBL_TRUE_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant DECIMAL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_DECIMAL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_EPSILON # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_EVAL_METHOD # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_HAS_SUBNORM # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MANT_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MAX_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MAX_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MIN_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_MIN_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_NORM_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_RADIX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant FLT_TRUE_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant INFINITY # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_DECIMAL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_EPSILON # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_HAS_SUBNORM # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MANT_DIG # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MAX_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MAX_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MIN_10_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_MIN_EXP # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_NORM_MAX # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant LDBL_TRUE_MIN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h +--include-constant NAN # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/float.h + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h + +--include-constant __bool_true_false_are_defined # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h +--include-constant false # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h +--include-constant true # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h + +#### Extracted from: /opt/homebrew/opt/blis/include/blis/blis.h + +--include-typedef absqsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef amaxv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef amaxv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef amaxv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef asumv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef asumv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef atom_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpbyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpbyv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpbyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpy2v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpy2v_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpy2v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyf_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bla_character # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bla_dcomplex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bla_double # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bla_integer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bla_logical # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bla_real # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bla_scomplex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bli_pthread_attr_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bli_pthread_barrierattr_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bli_pthread_cond_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bli_pthread_condattr_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bli_pthread_mutex_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bli_pthread_mutexattr_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bli_pthread_once_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef bli_pthread_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef blksz_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cabsqsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cabsqsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caddv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef camaxv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef camaxv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef camaxv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef camaxv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef casumv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef casumv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef casumv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef casumv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpbyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpbyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpbyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpbyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpy2v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpy2v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpy2v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpy2v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef caxpyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ccopyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdivsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdivsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotaxpyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotaxpyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotaxpyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotaxpyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxaxpyf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxaxpyf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxaxpyf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxaxpyf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cdotxv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ceqm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ceqm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ceqsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ceqsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ceqv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ceqv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cfprintm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cfprintm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cfprintm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cfprintm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cfprintv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cfprintv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cfprintv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cfprintv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgemv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgemv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgemv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgemv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgemv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgemv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cger_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cger_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cger_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cger_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cger_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cger_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgesc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgesc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgetsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgetsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgtsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cgtsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef chemv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef chemv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef chemv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef chemv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef chemv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef chemv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher2_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher2_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher2_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher2_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher2_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher2_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cher_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvertd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvertd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvertd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvertd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvertsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvertsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvertv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvertv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvertv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvertv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscald_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscald_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscald_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscald_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscalm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscalm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscalm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscalm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscalv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscalv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscalv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cinvscalv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef clesc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef clesc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cltsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cltsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmkherm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmkherm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmkherm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmkherm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmksymm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmksymm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmksymm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmksymm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmktrim_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmktrim_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmktrim_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmktrim_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmulsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cmulsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnorm1m_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnorm1m_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnorm1m_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnorm1m_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnorm1v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnorm1v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnorm1v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnorm1v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormfm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormfm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormfm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormfm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormfsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormfsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormfv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormfv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormfv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormfv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormim_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormim_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormim_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormim_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormiv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormiv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormiv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cnormiv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cntl_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cntx_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef constdata_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef copyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef copyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef copym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef copym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef copyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef copyv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef copyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandnm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandnm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandnm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandnm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandnv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandnv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandnv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandnv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef crandv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2d_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2d_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2d_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2d_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2m_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2m_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2m_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2m_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscal2v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscald_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscald_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscald_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscald_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscalm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscalm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscalm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscalm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscalv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscalv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscalv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cscalv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetid_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetid_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetid_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetid_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csetv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cshiftd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cshiftd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cshiftd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cshiftd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csqrtrsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csqrtrsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csqrtsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csqrtsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csubv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csumsqv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csumsqv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csumsqv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csumsqv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cswapv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cswapv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cswapv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cswapv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csymv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csymv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csymv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csymv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csyr2_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csyr2_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csyr2_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csyr2_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csyr_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csyr_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csyr_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef csyr_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrmv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrmv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrmv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrmv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrmv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrmv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrsv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrsv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrsv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrsv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrsv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ctrsv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cunzipsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cunzipsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbym_md_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbym_md_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbym_md_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbym_md_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef cxpbyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef czipsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef czipsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dabsqsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dabsqsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daddv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef damaxv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef damaxv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef damaxv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef damaxv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dasumv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dasumv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dasumv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dasumv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpbyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpbyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpbyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpbyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpy2v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpy2v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpy2v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpy2v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef daxpyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dcopyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddivsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddivsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotaxpyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotaxpyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotaxpyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotaxpyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxaxpyf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxaxpyf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxaxpyf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxaxpyf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ddotxv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef deqm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef deqm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef deqsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef deqsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef deqv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef deqv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dfprintm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dfprintm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dfprintm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dfprintm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dfprintv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dfprintv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dfprintv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dfprintv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgemv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgemv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgemv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgemv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgemv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgemv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dger_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dger_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dger_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dger_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dger_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dger_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgesc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgesc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgetsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgetsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgtsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dgtsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dhemv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dhemv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dhemv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dhemv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dhemv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dhemv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher2_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher2_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher2_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher2_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher2_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher2_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dher_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dim_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvertd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvertd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvertd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvertd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvertsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvertsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvertv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvertv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvertv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvertv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscald_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscald_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscald_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscald_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscalm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscalm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscalm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscalm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscalv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscalv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscalv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dinvscalv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef divsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dlesc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dlesc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dltsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dltsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmkherm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmkherm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmkherm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmkherm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmksymm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmksymm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmksymm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmksymm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmktrim_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmktrim_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmktrim_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmktrim_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmulsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dmulsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnorm1m_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnorm1m_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnorm1m_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnorm1m_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnorm1v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnorm1v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnorm1v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnorm1v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormfm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormfm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormfm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormfm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormfsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormfsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormfv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormfv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormfv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormfv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormim_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormim_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormim_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormim_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormiv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormiv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormiv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dnormiv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef doff_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotaxpyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotaxpyv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotaxpyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotxaxpyf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotxaxpyf_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotxaxpyf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotxf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotxf_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotxf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotxv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotxv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dotxv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandnm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandnm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandnm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandnm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandnv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandnv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandnv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandnv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef drandv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2d_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2d_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2d_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2d_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2m_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2m_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2m_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2m_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscal2v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscald_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscald_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscald_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscald_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscalm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscalm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscalm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscalm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscalv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscalv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscalv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dscalv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetid_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetid_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetid_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetid_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsetv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dshiftd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dshiftd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dshiftd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dshiftd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsqrtrsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsqrtrsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsqrtsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsqrtsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsubv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsumsqv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsumsqv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsumsqv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsumsqv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dswapv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dswapv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dswapv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dswapv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsymv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsymv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsymv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsymv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsyr2_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsyr2_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsyr2_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsyr2_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsyr_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsyr_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsyr_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dsyr_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrmv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrmv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrmv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrmv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrmv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrmv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrsv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrsv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrsv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrsv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrsv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dtrsv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dunzipsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dunzipsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbym_md_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbym_md_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbym_md_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbym_md_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dxpbyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dzipsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef dzipsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef eqm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef eqsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef eqv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef f77_char # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef f77_dcomplex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef f77_double # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef f77_float # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef f77_int # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef f77_scomplex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef fprintm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef fprintm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef fprintv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef fprintv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef free_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ftnlen # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef func2_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef func_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemm_cntl_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemm_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemm_ukr_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemm_var_cntl_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemmsup_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemmsup_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemmt_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemmtrsm_ukr_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemmtsup_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gemv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ger_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ger_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ger_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gesc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef getopt_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef getsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gint_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef gtsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef guint_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef hemm_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef hemv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef hemv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef hemv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef her2_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef her2_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef her2_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef her2k_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef her_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef her_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef her_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef herk_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef inc_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invertd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invertd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invertsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invertv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invertv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invertv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invscald_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invscald_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invscalm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invscalm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invscalv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invscalv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef invscalv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef kerid_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef l3_var_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef l3supint_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef lesc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ltsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef malloc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef mbool_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef mem_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef mkherm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef mkherm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef mksymm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef mksymm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef mktrim_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef mktrim_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef mulsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef norm1m_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef norm1m_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef norm1v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef norm1v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef normfm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef normfm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef normfsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef normfv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef normfv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef normim_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef normim_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef normiv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef normiv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef obj_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef objbits_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef packm_cntl_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef packm_cxc_diag_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef packm_cxk_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef packm_def_cntl_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef packm_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef packm_var_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef part_cntl_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef pba_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef randm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef randm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef randnm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef randnm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef randnv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef randnv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef randv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef randv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef rntm_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sabsqsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sabsqsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saddv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef samaxv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef samaxv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef samaxv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef samaxv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sasumv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sasumv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sasumv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sasumv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpbyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpbyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpbyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpbyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpy2v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpy2v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpy2v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpy2v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef saxpyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scal2d_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scal2d_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scal2m_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scal2m_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scal2v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scal2v_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scal2v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scald_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scald_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scalm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scalm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scalv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scalv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scalv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef scopyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdivsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdivsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotaxpyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotaxpyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotaxpyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotaxpyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxaxpyf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxaxpyf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxaxpyf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxaxpyf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sdotxv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef seqm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef seqm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef seqsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef seqsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef seqv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef seqv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef setd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef setd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef setid_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef setid_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef setm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef setm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef setsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef setv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef setv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef setv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sfprintm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sfprintm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sfprintm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sfprintm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sfprintv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sfprintv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sfprintv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sfprintv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgemv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgemv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgemv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgemv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgemv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgemv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sger_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sger_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sger_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sger_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sger_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sger_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgesc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgesc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgetsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgetsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgtsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sgtsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef shemv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef shemv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef shemv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef shemv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef shemv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef shemv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher2_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher2_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher2_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher2_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher2_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher2_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sher_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef shiftd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef shiftd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvertd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvertd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvertd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvertd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvertsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvertsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvertv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvertv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvertv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvertv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscald_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscald_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscald_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscald_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscalm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscalm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscalm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscalm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscalv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscalv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscalv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sinvscalv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef siz_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef slesc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef slesc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sltsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sltsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smkherm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smkherm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smkherm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smkherm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smksymm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smksymm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smksymm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smksymm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smktrim_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smktrim_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smktrim_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smktrim_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smulsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef smulsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snorm1m_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snorm1m_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snorm1m_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snorm1m_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snorm1v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snorm1v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snorm1v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snorm1v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormfm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormfm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormfm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormfm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormfsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormfsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormfv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormfv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormfv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormfv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormim_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormim_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormim_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormim_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormiv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormiv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormiv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef snormiv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sqrtrsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sqrtsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandnm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandnm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandnm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandnm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandnv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandnv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandnv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandnv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef srandv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2d_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2d_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2d_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2d_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2m_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2m_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2m_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2m_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscal2v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscald_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscald_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscald_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscald_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscalm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscalm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscalm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscalm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscalv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscalv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscalv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sscalv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetid_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetid_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetid_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetid_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssetv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sshiftd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sshiftd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sshiftd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sshiftd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssqrtrsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssqrtrsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssqrtsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssqrtsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssubv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssumsqv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssumsqv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssumsqv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssumsqv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sswapv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sswapv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sswapv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sswapv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssymv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssymv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssymv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssymv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssyr2_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssyr2_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssyr2_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssyr2_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssyr_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssyr_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssyr_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ssyr_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strmv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strmv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strmv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strmv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strmv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strmv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strsv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strsv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strsv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strsv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strsv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef strsv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef subd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef subd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef subm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef subm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef subsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef subv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef subv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef subv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sumsqv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sumsqv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sunzipsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sunzipsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef swapv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef swapv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef swapv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbym_md_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbym_md_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbym_md_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbym_md_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef sxpbyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef symm_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef symv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef symv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef syr2_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef syr2_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef syr2k_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef syr_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef syr_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef syrk_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef szipsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef szipsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef thrcomm_barrier_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef thrcomm_cleanup_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef thrcomm_init_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef thrcomm_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef thread_func_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef thrinfo_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trmm3_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trmm_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trmv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trmv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trmv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trsm_cntl_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trsm_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trsm_ukr_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trsm_var_cntl_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trsv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trsv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef trsv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef unpackm_cntl_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef unpackm_cxk_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef unpackm_var_oft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef unzipsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef void_fp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef xpbyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef xpbyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef xpbym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef xpbym_md_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef xpbym_md_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef xpbym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef xpbyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef xpbyv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef xpbyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zabsqsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zabsqsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaddv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zamaxv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zamaxv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zamaxv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zamaxv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zasumv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zasumv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zasumv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zasumv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpbyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpbyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpbyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpbyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpy2v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpy2v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpy2v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpy2v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zaxpyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zcopyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdivsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdivsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotaxpyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotaxpyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotaxpyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotaxpyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxaxpyf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxaxpyf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxaxpyf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxaxpyf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxf_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxf_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zdotxv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zeqm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zeqm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zeqsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zeqsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zeqv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zeqv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zfprintm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zfprintm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zfprintm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zfprintm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zfprintv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zfprintv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zfprintv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zfprintv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgemv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgemv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgemv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgemv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgemv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgemv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zger_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zger_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zger_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zger_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zger_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zger_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgesc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgesc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgetsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgetsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgtsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zgtsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zhemv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zhemv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zhemv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zhemv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zhemv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zhemv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher2_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher2_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher2_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher2_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher2_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher2_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zher_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvertd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvertd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvertd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvertd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvertsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvertsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvertv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvertv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvertv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvertv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscald_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscald_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscald_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscald_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscalm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscalm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscalm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscalm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscalv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscalv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscalv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zinvscalv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zipsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zlesc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zlesc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zltsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zltsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmkherm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmkherm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmkherm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmkherm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmksymm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmksymm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmksymm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmksymm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmktrim_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmktrim_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmktrim_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmktrim_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmulsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zmulsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znorm1m_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znorm1m_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znorm1m_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znorm1m_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znorm1v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znorm1v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znorm1v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znorm1v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormfm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormfm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormfm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormfm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormfsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormfsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormfv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormfv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormfv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormfv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormim_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormim_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormim_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormim_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormiv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormiv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormiv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef znormiv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandnm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandnm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandnm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandnm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandnv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandnv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandnv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandnv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zrandv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2d_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2d_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2d_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2d_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2m_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2m_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2m_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2m_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2v_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2v_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscal2v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscald_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscald_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscald_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscald_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscalm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscalm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscalm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscalm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscalv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscalv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscalv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zscalv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetid_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetid_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetid_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetid_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsetv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zshiftd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zshiftd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zshiftd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zshiftd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsqrtrsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsqrtrsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsqrtsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsqrtsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubm_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubm_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsubv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsumsqv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsumsqv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsumsqv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsumsqv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zswapv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zswapv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zswapv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zswapv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsymv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsymv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsymv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsymv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsyr2_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsyr2_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsyr2_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsyr2_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsyr_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsyr_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsyr_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zsyr_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrmv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrmv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrmv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrmv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrmv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrmv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrsv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrsv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrsv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrsv_unb_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrsv_unb_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef ztrsv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zunzipsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zunzipsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbyd_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbyd_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbym_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbym_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbym_md_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbym_md_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbym_md_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbym_md_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbyv_ex_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbyv_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zxpbyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zzipsc_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef zzipsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_MINUS_ONE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_MINUS_ONE_I # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_MINUS_TWO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_NAN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_ONE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_ONE_I # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_SINGLE_COMM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_TWO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_ZERO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_1M # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_1TYPE_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_2TYPE_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_3TYPE_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ADDV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ALIGNMENT_NOT_MULT_OF_PTR_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ALIGNMENT_NOT_POWER_OF_TWO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AMAXV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_A64FX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ALTRA # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ALTRAMAX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ARMSVE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_BGQ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_BULLDOZER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_CORTEXA15 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_CORTEXA53 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_CORTEXA57 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_CORTEXA9 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_EXCAVATOR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_FIRESTORM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_GENERIC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_HASWELL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_KNC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_KNL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_PENRYN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_PILEDRIVER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_POWER10 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_POWER7 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_POWER9 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_RV32I # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_RV32IV # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_RV64I # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_RV64IV # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_SANDYBRIDGE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_SIFIVE_X280 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_SKX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_STEAMROLLER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_THUNDERX2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ZEN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ZEN2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ZEN3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AXPBYV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AXPY2V_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AXPYF_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AXPYV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BBM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BBN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_1E # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_1R # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_BUFFER_FOR_A_BLOCK # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_BUFFER_FOR_B_PANEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_BUFFER_FOR_C_PANEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_BUFFER_FOR_GEN_USE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_COMPLEX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_CONJ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_CONJ_TRANS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_CONST_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_DCOMPLEX_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_DENSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_DOUBLE_PREC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_DOUBLE_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_FLOAT_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_GENERAL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_HERMITIAN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_INT_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_INVERT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_NONUNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_NOT_PACKED # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_NO_CONJ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_NO_TRANS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACKED_PANELS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACKED_PANELS_1E # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACKED_PANELS_1R # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACKED_PANELS_RO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACKED_UNSPEC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACK_FWD_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACK_FWD_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACK_REV_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACK_REV_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_REAL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_RO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_SCOMPLEX_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_SINGLE_PREC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_SYMMETRIC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_TRANS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_TRIANGULAR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_UNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_ZEROS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BLAS_INT_TYPE_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BLKSZS_END_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BUFFER_FOR_A_BLOCK # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BUFFER_FOR_B_PANEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BUFFER_FOR_C_PANEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BUFFER_FOR_GEN_USE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BWD # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CACHE_LINE_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CCC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CCR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_COMPLEX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_COMP_PREC_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_COMP_PREC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJTRANS_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJTRANS_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJTRANS_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJUGATE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJ_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJ_NO_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJ_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJ_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJ_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONSTANT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_COPYV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CRC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CRR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DATATYPE_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DATATYPE_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DATATYPE_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DCOMPLEX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DENSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DIAG_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DIAG_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DIAG_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOMAIN_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOMAIN_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOMAIN_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOTAXPYV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOTV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOTXAXPYF_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOTXF_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOTXV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOUBLE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOUBLE_PREC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DT_HI # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DT_LO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ERROR_CODE_MAX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ERROR_CODE_MIN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXHAUSTED_CONTIG_MEMORY_POOL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_FLOATING_POINT_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_GENERAL_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_HERMITIAN_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_INTEGER_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_NONCONSTANT_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_NONINTEGER_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_NONNULL_OBJECT_BUFFER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_NONUNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_OBJECT_ALIAS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_REAL_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_REAL_PROJ_OF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_REAL_VALUED_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_SCALAR_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_SQUARE_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_SYMMETRIC_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_TRIANGULAR_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_UPPER_OR_LOWER_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_VECTOR_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_FAILURE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_FLOAT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_FULL_ERROR_CHECKING # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_FUNC_PREFIX_STR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_FWD # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM1M_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CCC_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CCC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CCR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CCR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CRC_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CRC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CRR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CRR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RCC_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RCC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RCR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RCR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RRC_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RRC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RRR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RRR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_XXX_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_XXX_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM1M_L_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM1M_U_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM_L_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM_L_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM_U_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM_U_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM_CCR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM_CRR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM_RCC_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GENERAL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HEAP_ADDR_ALIGN_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HEAP_STRIDE_ALIGN_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HEMM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HER2K # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HERK # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HERMITIAN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HPX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INCONSISTENT_DATATYPES # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INCONSISTENT_PRECISIONS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_IND_FIRST # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_IND_LAST # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INFO_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INSUFFICIENT_STACK_BUF_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INT_TYPE_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_1x3_SUBPART # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_3x1_SUBPART # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_3x3_SUBPART # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_ARCH_ID # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_COL_STRIDE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_CONJ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_DIM_STRIDE_COMBINATION # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_ERROR_CHECKING_LEVEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_MACHVAL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_PACKBUF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_ROW_STRIDE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_SIDE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_TRANS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_UKR_ID # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_UPLO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVERTV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVERT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVERT_DIAG_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVERT_DIAG_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVERT_DIAG_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVSCALV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KC_DEF_NONMULTIPLE_OF_KR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KC_MAX_NONMULTIPLE_OF_KR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KC_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KR_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LEFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LEVEL3_OPS_END_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LOCK_FAILURE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LOWER_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LOWER_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LOWER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_M # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_M2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_BASE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_EMAX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_EMIN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_EPS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_EPS2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_NDIGMANT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_PARAM_FIRST # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_PARAM_LAST # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_PREC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_RMAX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_RMIN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_RND # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_SFMIN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MALLOC_RETURNED_NULL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MAX_BLAS_FUNC_STR_LENGTH # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MAX_SUB_NODES # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MAX_TYPE_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MC_DEF_NONMULTIPLE_OF_MR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MC_MAX_NONMULTIPLE_OF_MR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MC_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MR_NOT_EVEN_FOR_REAL_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MR_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_N # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_N2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NAT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NC_DEF_NONMULTIPLE_OF_NR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NC_MAX_NONMULTIPLE_OF_NR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NC_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NEGATIVE_DIMENSION # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NOID # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NONCONFORMAL_DIMENSIONS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NONUNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NOTAPPLIC_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NOT_PACKED # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NOT_YET_IMPLEMENTED # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NO_CONJUGATE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NO_ERROR_CHECKING # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NO_INVERT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NO_PART # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NO_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NR_NOT_EVEN_FOR_REAL_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NR_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NTYPE_KER_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NTYPE_KER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NT_MAX_PRIME # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NULL_POINTER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_3OP_RC_COMBOS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_ARCHS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_BLKSZS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_FP_TYPES # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_IND_METHODS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_LEVEL3_OPS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_LOOPS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_MACH_PARAMS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_PACK_SCHEMA_TYPES # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_PACK_SCHEMA_TYPES_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_THREAD_IMPLS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKR2S # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKR2S_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKRS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKRS_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKR_IMPL_TYPES # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKR_PREFS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_OPENMP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_OPTIMIZED_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_OS_OSX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_OUT_OF_BOUNDS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_MATRIX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_PANELS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_PANELS_1E # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_PANELS_1R # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_PANELS_RO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_UNSPEC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_VECTOR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKMR_NOT_EVEN_FOR_REAL_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_1ER_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_DIAG_1ER_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_DIAG_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_DIAG_RO_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_RO_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKNR_NOT_EVEN_FOR_REAL_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_BUFFER_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_BUFFER_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_BUFFER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_FORMAT_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_FORMAT_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_FORMAT_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_FWD_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_FWD_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_PANEL_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_PANEL_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_PANEL_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_LOWER_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_LOWER_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_LOWER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_UPPER_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_UPPER_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_UPPER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SCHEMA_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_PART # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_UNPACK # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SCHEMA_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SCHEMA_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PAGE_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_ALIGN_SIZE_A # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_ALIGN_SIZE_B # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_ALIGN_SIZE_C # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_ALIGN_SIZE_GEN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_OFFSET_SIZE_A # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_OFFSET_SIZE_B # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_OFFSET_SIZE_C # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_OFFSET_SIZE_GEN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POSIX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PRECISION_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PRECISION_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PRECISION_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_RCC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_RCR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_REAL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_REFERENCE_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_RIGHT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_RRC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_RRR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCAL2V_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_DOMAIN_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_DOMAIN_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_DT_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_DT_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_PREC_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_PREC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCOMPLEX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SETV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIMD_ALIGN_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIMD_MAX_NUM_REGISTERS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIMD_MAX_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SINGLE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SINGLE_PREC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIZEOF_C # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIZEOF_D # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIZEOF_S # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIZEOF_Z # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_STACK_BUF_ALIGN_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_STACK_BUF_MAX_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_STRUC_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_STRUC_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_STRUC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART0 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART00 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART01 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART02 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART10 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART11 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART12 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART1A # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART1AND0 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART1AND2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART1B # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART20 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART21 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART22 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUCCESS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SWAPV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SYMM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SYMMETRIC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SYR2K # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SYRK # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_KC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_KR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_MAX_IR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_MAX_JR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_MC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_MR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_NC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_NONE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_NR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_RATIO_M # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_RATIO_N # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRANS_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRANS_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRANS_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRIANGULAR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRMM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRMM3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRSM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRSM_L_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRSM_L_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRSM_U_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRSM_U_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UKRS_END_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UKR_PREFS_END_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNDEFINED_ERROR_CODE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEQUAL_VECTOR_LENGTHS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEXPECTED_DIAG_OFFSET # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEXPECTED_NULL_CONTROL_TREE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEXPECTED_OBJECT_LENGTH # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEXPECTED_OBJECT_WIDTH # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEXPECTED_VECTOR_DIM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNINITIALIZED_GKS_CNTX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNIT_DIAG_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNIT_DIAG_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNIT_DIAG_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNPACKM_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPLO_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPLO_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPLO_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPPER_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPPER_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPPER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VA_END # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VERSION_MAJOR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VERSION_MINOR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VERSION_REVISION # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VERSION_STRING # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VIRTUAL_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_XF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_XPBYV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_XXX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ZEROS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasColMajor # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasConjTrans # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasLeft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasLower # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasNoTrans # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasNonUnit # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasRight # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasRowMajor # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasTrans # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasUnit # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasUpper # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant FALSE_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant FEATURE_NEON # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant FEATURE_SVE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_ARMV7 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_ARMV8 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_POWER10 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_POWER7 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_POWER9 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_UNKNOWN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant TRUE_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant VENDOR_ARM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant VENDOR_IBM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant VENDOR_UNKNOWN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant _POSIX_C_SOURCE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_1m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_ccsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_cdsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_cssame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_ctype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_czsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dcsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_ddsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dmone # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dmtwo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_done # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dssame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dtwo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dtype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dzero # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dzsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_nat # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_scsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_sdsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_smone # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_smtwo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_sone # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_sssame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_stwo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_stype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_szero # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_szsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_zcsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_zdsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_zssame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_ztype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_zzsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct apool_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct array_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct auxinfo_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct bli_prime_factors_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct bli_pthread_barrier_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct bli_pthread_switch_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct blksz_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct cntx_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct constdata_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct dcomplex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct func2_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct func_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct gemm_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct gemm_ker_params_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct gemm_var_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct getopt_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct mbool_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct mem_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct obj_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct packm_blk_var1_params_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct packm_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct packm_def_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct part_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct pba_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct pblk_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct pool_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct rntm_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct scomplex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct stck_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct thrcomm_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct thrinfo_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct trsm_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct trsm_var_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct unpackm_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_c_abs # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_c_div # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_d_abs # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_d_cnjg # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_d_imag # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_d_sign # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_f__cabs # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_r_abs # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_r_cnjg # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_r_imag # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_r_sign # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_z_abs # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bla_z_div # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_abort # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_absqsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_absqsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_absqsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mij # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_b2t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_br2tl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_l2r # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_l2r_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_mdim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_mndim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_ndim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_r2l # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_t2b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_t2b_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_tl2br # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_mpart_tl2br_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_vi # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_vpart_b2f # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_acquire_vpart_f2b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addd_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addd_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addm_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_adjust_strides # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_align_dim_to_mult # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_align_dim_to_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_align_ptr_to_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_amaxv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_amaxv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_amaxv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_amaxv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_apool_alloc_block # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_apool_array_elem # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_apool_checkin_array # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_apool_checkout_array # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_apool_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_apool_free_block # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_apool_grow # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_apool_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_arch_get_logging # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_arch_log # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_arch_query_id # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_arch_query_id_impl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_arch_set_id # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_arch_set_id_once # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_arch_set_logging # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_arch_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_array_elem # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_array_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_array_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_array_resize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_array_set_elem # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_asumv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_asumv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_asumv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_asumv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpbyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpbyv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpbyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpbyv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpy2v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpy2v_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpy2v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpy2v_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyd_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyd_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyf_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyf_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpym_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpym_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_axpyv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_blksz_create # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_blksz_create_ed # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_blksz_free # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_blksz_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_blksz_init_easy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_blksz_init_ed # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_blksz_reduce_def_to # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_blksz_reduce_max_to # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cabsqsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caddd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caddd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caddm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caddm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caddm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caddsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caddv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caddv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_calloc_intl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_camaxv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_camaxv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_castm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_castm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_castnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_castnzm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_castv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_castv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_casumv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_casumv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_casumv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpbyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpbyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpy2v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpy2v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpyf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpyf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_caxpyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cccastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cccastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cccastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cccopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ccopyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ccopyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ccopym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ccopym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ccopym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ccopyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ccopyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ccpackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ccxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ccxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ccxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdcastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdcastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdcastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdcopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdivsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdotaxpyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdotaxpyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdotv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdotv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdotxaxpyf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdotxaxpyf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdotxf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdotxf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdotxv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdotxv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdpackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cdxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ceqm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ceqm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ceqsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ceqv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ceqv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cfprintm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cfprintv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemm_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemmsup_ref_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemmsup_ref_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemmt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemmt_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemmtrsm_l_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemmtrsm_u_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgemv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cger # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cger_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cger_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cger_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgetijm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgetijv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cgetsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_alignment_is_mult_of_ptr_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_alignment_is_power_of_two # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_conformal_dims # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_consistent_datatypes # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_consistent_object_datatypes # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_consistent_object_precisions # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_consistent_precisions # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_datatype_real_proj_of # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_equal_vector_lengths # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_error_code_helper # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_floating_datatype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_floating_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_general_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_hermitian_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_if_exhausted_pool # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_initialized_gks_cntx # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_integer_datatype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_integer_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_level3_dims # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_matrix_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_matrix_strides # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_nonconstant_datatype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_nonconstant_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_noninteger_datatype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_noninteger_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_nonunit_diag # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_null_pointer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_object_alias_of # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_object_buffer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_object_diag_offset_equals # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_object_length_equals # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_object_real_proj_of # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_object_struc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_object_valid_datatype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_object_width_equals # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_packm_schema_on_unpack # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_packv_schema_on_unpack # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_real_datatype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_real_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_real_valued_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_scalar_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_square_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_sufficient_stack_buf_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_symmetric_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_triangular_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_upper_or_lower_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_1x3_subpart # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_3x1_subpart # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_3x3_subpart # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_arch_id # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_cntl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_datatype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_diag # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_error_level # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_kc_mod_mult # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_malloc_buf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_mc_mod_mult # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_mr_even # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_nc_mod_mult # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_nr_even # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_packbuf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_side # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_trans # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_valid_uplo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_vector_dim_equals # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_check_vector_object # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemv_unb_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemv_unb_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemv_unf_var1a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemv_unf_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_chemv_unf_var3a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher2_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher2_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher2_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher2_unb_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher2_unb_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher2_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher2_unf_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher2k_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cher_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cherk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cherk_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvertd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvertd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvertsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvertv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvertv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvscald # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvscald_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvscalm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvscalm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvscalm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvscalv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cinvscalv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_clock # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_clock_helper # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_clock_min_diff # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cmachval # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cmkherm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cmkherm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cmkherm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cmksymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cmksymm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cmksymm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cmktrim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cmktrim_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cmktrim_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cmulsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnorm1m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnorm1m_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnorm1m_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnorm1v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnorm1v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnorm1v_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormfm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormfm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormfm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormfsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormfv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormfv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormfv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormim_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormim_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormiv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormiv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cnormiv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntl_attach_sub_node # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntl_clear_node # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntl_init_node # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_free # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_init_firestorm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_init_firestorm_ind # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_init_firestorm_ref # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_print # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_register_blksz # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_register_ukr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_register_ukr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_register_ukr_pref # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_set_blkszs # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_set_l3_sup_handlers # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_set_ukr2s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_set_ukr_prefs # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cntx_set_ukrs # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_const_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_const_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copyd_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copyd_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copym_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copym_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copysc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copyv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_copyv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpackm_sup_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpackm_sup_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cprintm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cprintv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_a64fx # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_armsve # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_bulldozer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_cortexa15 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_cortexa53 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_cortexa57 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_cortexa9 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_excavator # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_haswell # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_knl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_penryn # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_piledriver # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_sandybridge # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_skx # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_steamroller # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_thunderx2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_zen # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_zen2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_is_zen3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_query # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cpuid_query_id # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandnm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandnm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandnm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandnv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandnv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandnv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_crandv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscal2d # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscal2d_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscal2m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscal2m_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscal2m_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscal2v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscal2v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscald # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscald_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscalm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscalm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscalm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscalv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscalv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cscopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetid # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetid_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetijm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetijv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csetv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cshiftd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cshiftd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csqrtrsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csqrtsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csubd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csubd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csubm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csubm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csubm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csubsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csubv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csubv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csumsqv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csumsqv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csumsqv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cswapv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cswapv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csymm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csymv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csymv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csyr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csyr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csyr2_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csyr2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csyr2k_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csyr_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csyrk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_csyrk_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrmm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrmm3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrmm3_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrmm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrmv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrmv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrmv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrmv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrmv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrsm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrsm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrsm_l_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrsm_u_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrsv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrsv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrsv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrsv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ctrsv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cunpackm_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cunzipsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cxpbyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cxpbyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cxpbym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cxpbym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cxpbym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cxpbyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_cxpbyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_czcastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_czcastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_czcastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_czcopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_czipsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_czpackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_czxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_czxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_czxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dabsqsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daddd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daddd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daddm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daddm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daddm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daddsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daddv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daddv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_damaxv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_damaxv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dasumv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dasumv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dasumv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpbyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpbyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpy2v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpy2v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpyf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpyf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_daxpyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dccastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dccastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dccastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dccopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dcopyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dcopyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dcopym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dcopym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dcopym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dcopyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dcopyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dcpackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dcxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dcxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dcxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddcastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddcastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddcastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddcopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddivsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddotaxpyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddotaxpyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddotv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddotv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddotxaxpyf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddotxaxpyf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddotxf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddotxf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddotxv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddotxv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddpackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ddxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_deqm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_deqm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_deqsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_deqv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_deqv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_determine_blocksize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dfprintm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dfprintv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemm_armv8a_asm_6x8 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemm_armv8a_asm_8x6r # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemm_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rd_armv8a_asm_3x4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rd_armv8a_asm_6x3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rd_armv8a_asm_6x8m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rd_armv8a_asm_6x8n # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rd_armv8a_int_2x8 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rd_armv8a_int_3x4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_ref_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_ref_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rv_armv8a_asm_4x8m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rv_armv8a_asm_4x8n # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rv_armv8a_asm_5x8n # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rv_armv8a_asm_6x5m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rv_armv8a_asm_6x6m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rv_armv8a_asm_6x7m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rv_armv8a_asm_6x8m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rv_armv8a_asm_6x8n # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rv_armv8a_asm_8x4m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rv_armv8a_int_3x8mn # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmsup_rv_armv8a_int_6x4mn # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmt_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmtrsm_l_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemmtrsm_u_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgemv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dger # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dger_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dger_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dger_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgesc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgetijm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgetijv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgetsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dgtsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemv_unb_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemv_unb_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemv_unf_var1a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemv_unf_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dhemv_unf_var3a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher2_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher2_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher2_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher2_unb_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher2_unb_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher2_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher2_unf_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher2k_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dher_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dherk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dherk_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvertd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvertd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvertsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvertv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvertv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvscald # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvscald_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvscalm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvscalm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvscalm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvscalv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dinvscalv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_divsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_divsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_divsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dlamch # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dlesc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dltsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dmachval # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dmkherm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dmkherm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dmkherm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dmksymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dmksymm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dmksymm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dmktrim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dmktrim_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dmktrim_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dmulsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnorm1m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnorm1m_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnorm1m_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnorm1v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnorm1v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnorm1v_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormfm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormfm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormfm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormfsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormfv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormfv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormfv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormim_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormim_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormiv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormiv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dnormiv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotaxpyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotaxpyv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotaxpyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotaxpyv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxaxpyf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxaxpyf_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxaxpyf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxaxpyf_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxf_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxf_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dotxv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dpackm_armv8a_int_6x8 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dpackm_sup_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dpackm_sup_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dprintm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dprintv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandnm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandnm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandnm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandnv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandnv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandnv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_drandv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscal2d # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscal2d_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscal2m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscal2m_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscal2m_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscal2v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscal2v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscald # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscald_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscalm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscalm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscalm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscalv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscalv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dscopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetid # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetid_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetijm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetijv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsetv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dshiftd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dshiftd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dspackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsqrtrsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsqrtsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsubd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsubd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsubm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsubm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsubm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsubsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsubv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsubv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsumsqv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsumsqv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsumsqv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dswapv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dswapv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsymm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsymv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsymv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsyr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsyr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsyr2_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsyr2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsyr2k_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsyr_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsyrk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dsyrk_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dt_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dt_size_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dt_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dt_string_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dt_union_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrmm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrmm3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrmm3_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrmm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrmv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrmv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrmv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrmv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrmv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrsm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrsm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrsm_l_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrsm_u_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrsv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrsv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrsv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrsv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dtrsv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dunpackm_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dunzipsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dxpbyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dxpbyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dxpbym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dxpbym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dxpbym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dxpbyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dxpbyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dzcastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dzcastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dzcastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dzcopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dzipsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dzxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dzxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_dzxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_env_get_str # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_env_get_var # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_eqm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_eqm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_eqm_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_eqsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_eqsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_eqsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_eqv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_eqv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_eqv_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_error_checking_is_enabled # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_error_checking_level # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_error_checking_level_set # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_error_string_for_code # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ffree_align # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ffree_noalign # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_finalize_apis # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_finalize_auto # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_finalize_once # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_find_area_trap_l # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_fmalloc_align # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_fmalloc_align_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_fmalloc_noalign # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_fmalloc_post_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_fprintm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_fprintm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_fprintm_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_fprintv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_fprintv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_fprintv_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_free_intl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_free_user # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func2_create # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func2_free # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func2_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func2_init_null # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func2_is_null # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func2_is_null_dt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func_create # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func_free # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func_init_null # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func_is_null # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_func_is_null_dt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gcd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_basic_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_blk_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_blk_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_cntl_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_cntl_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_ker_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_ukernel_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemm_var_cntl_init_node # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmind_find_avail # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmsup # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmsup_int # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmsup_ref # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmsup_ref_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmsup_ref_var1n # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmsup_ref_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmsup_ref_var2m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmt_basic_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmt_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmt_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmt_l_ker_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmt_l_ker_var2b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmt_u_ker_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmt_u_ker_var2b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmtind_find_avail # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmtrsm_l_ukernel_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmtrsm_u_ukernel_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmtrsm_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmtsup # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmtsup_int # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemmtsup_ref # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_blk_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_unb_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_unb_var2_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_unf_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gemv_unf_var2_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ger # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ger_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ger_blk_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ger_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ger_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ger_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ger_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ger_unb_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ger_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ger_unb_var2_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gesc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gesc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gesc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_getijm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_getijv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_getopt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_getopt_init_state # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_getsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_getsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_getsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_cntx_ukr2_is_ref # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_cntx_ukr_is_ref # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_init_index # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_init_ref_cntx # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_l3_ukr_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_l3_ukr_impl_type # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_lookup_id # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_query_cntx # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_query_cntx_impl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_query_cntx_noinit # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_register_blksz # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_register_cntx # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_register_ukr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_register_ukr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gks_register_ukr_pref # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_global_rntm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_global_rntm_at_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_global_rntm_mutex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gtsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gtsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_gtsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemm_basic_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemmind_find_avail # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_blk_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_blk_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_blk_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unb_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unb_var2_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unb_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unb_var3_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unb_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unb_var4_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unf_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unf_var1a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unf_var1a_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unf_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unf_var3_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unf_var3a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_hemv_unf_var3a_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_blk_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_blk_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_blk_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unb_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unb_var2_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unb_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unb_var3_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unb_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unb_var4_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unf_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unf_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2_unf_var4_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2k_basic_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2k_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her2k_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her_blk_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her_unb_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_her_unb_var2_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_herk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_herk_basic_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_herk_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_herk_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ifprintm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ifprintv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_igetsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_disable # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_disable_all # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_disable_all_dt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_disable_dt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_enable # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_enable_dt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_get_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_map_cdt_to_index # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_oper_enable_only # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_oper_find_avail # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_oper_get_avail_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ind_oper_is_impl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_blas_int_type_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_blas # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_cblas # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_hpx # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_hpx_as_default # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_memkind # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_openmp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_openmp_as_default # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_pba_pools # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_pthreads # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_pthreads_as_default # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_sandbox # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_sba_pools # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_stay_auto_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_threading # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_enable_tls # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_gemm_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_gemm_ukr_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_gemmt_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_gemmtrsm_l_ukr_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_gemmtrsm_u_ukr_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_heap_addr_align_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_heap_stride_align_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_hemm_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_her2k_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_herk_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_int_type_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_int_type_size_str # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_max_type_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_num_fp_types # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_page_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_pool_addr_align_size_a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_pool_addr_align_size_b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_pool_addr_align_size_c # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_pool_addr_align_size_gen # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_pool_addr_offset_size_a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_pool_addr_offset_size_b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_pool_addr_offset_size_c # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_pool_addr_offset_size_gen # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_simd_align_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_simd_num_registers # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_simd_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_stack_buf_align_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_stack_buf_max_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_symm_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_syr2k_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_syrk_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_thread_jrir_rr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_thread_jrir_slab # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_thread_jrir_tlb # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_trmm3_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_trmm_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_trsm_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_trsm_l_ukr_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_trsm_u_ukr_impl_string # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_info_get_version_str # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_init_apis # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_init_auto # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_init_once # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invertd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invertd_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invertd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invertd_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invertsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invertsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invertsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invertv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invertv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invertv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invertv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscald # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscald_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscald_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscald_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscalm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscalm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscalm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscalm_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscalv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscalv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscalv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_invscalv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ipow # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_iprintm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_iprintv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_is_prime # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_isetsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l0_xsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l0_xx2sc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l0_xxbsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l0_xxsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1d_ax_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1d_axy_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1d_x_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1d_xy_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1m_ax_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1m_axy_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1m_xy_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1v_ax_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1v_axby_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1v_axy_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1v_dot_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1v_x_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1v_xby_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1v_xi_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l1v_xy_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_basic_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_ind_oper_enable_only # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_ind_oper_find_avail # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_ind_oper_get_enable # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_ind_oper_is_impl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_ind_oper_set_enable # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_ind_oper_set_enable_all # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_ind_set_enable_dt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_packa # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_packb # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_prune_unref_mparts_k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_prune_unref_mparts_m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_prune_unref_mparts_n # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_return_early_if_trivial # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_sup_thread_decorator # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_sup_thrinfo_create # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_sup_thrinfo_update # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_thread_decorator # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_thread_decorator_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_thread_decorator_thread_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_thrinfo_create # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_thrinfo_free_paths # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_thrinfo_grow # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_thrinfo_print_gemm_paths # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_l3_thrinfo_print_trsm_paths # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_lcm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_lesc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_lesc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_lesc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_lsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ltsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ltsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ltsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_machval # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_malloc_intl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_malloc_user # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mbool_create # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mbool_free # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mbool_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_memsys_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_memsys_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mkherm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mkherm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mkherm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mkherm_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mksymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mksymm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mksymm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mksymm_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mktrim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mktrim_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mktrim_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mktrim_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mulsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mulsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_mulsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_next_prime_factor # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_norm1m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_norm1m_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_norm1m_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_norm1m_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_norm1v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_norm1v_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_norm1v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_norm1v_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normfm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normfm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normfm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normfm_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normfsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normfsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normfsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normfv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normfv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normfv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normfv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normim_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normim_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normim_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normiv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normiv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normiv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_normiv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_alloc_buffer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_alloc_buffer_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_attach_buffer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_attach_buffer_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_1x1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_1x1_with_attached_buffer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_conf_to # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_const_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_const_copy_of_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_scalar_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_with_attached_buffer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_without_buffer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_without_buffer_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_equals # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_free # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_free_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_imag_equals # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_imag_is_zero # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_print # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_print_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_apply_scalar # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_attach # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_cast_to # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_detach # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_equals # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_has_nonzero_imag # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_init_detached # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_init_detached_copy_of # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_reset # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pack_get_pack_a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pack_get_pack_b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pack_set_pack_a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pack_set_pack_b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_alloc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_alloc_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_cntl_init_node # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_def_cntl_init_node # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_init_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_int # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_int_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_scalar # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_sup # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_packm_sup_finalize_mem # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_blis_to_char_conj # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_blis_to_char_diag # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_blis_to_char_dt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_blis_to_char_side # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_blis_to_char_trans # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_blis_to_char_uplo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_blis_to_netlib_diag # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_blis_to_netlib_machval # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_blis_to_netlib_side # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_blis_to_netlib_trans # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_blis_to_netlib_uplo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_char_to_blis_conj # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_char_to_blis_diag # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_char_to_blis_dt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_char_to_blis_side # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_char_to_blis_trans # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_param_map_char_to_blis_uplo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_part_cntl_init_node # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pba_acquire_m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pba_compute_pool_block_sizes # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pba_compute_pool_block_sizes_dt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pba_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pba_finalize_pools # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pba_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pba_init_pools # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pba_pool_size # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pba_query # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pba_release # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pblk_print # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pool_alloc_block # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pool_checkin_block # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pool_checkout_block # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pool_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pool_free_block # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pool_grow # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pool_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pool_print # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pool_reinit # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pool_shrink # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_prime_factorization # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_print_msg # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_printm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_printv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_projm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_projm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_projv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_projv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_prune_unref_mparts # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_barrier_destroy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_barrier_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_barrier_wait # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_cond_broadcast # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_cond_destroy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_cond_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_cond_wait # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_create # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_join # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_mutex_destroy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_mutex_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_mutex_lock # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_mutex_trylock # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_mutex_unlock # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_once # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_switch_off # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_pthread_switch_on # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randm_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randnm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randnm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randnm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randnm_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randnv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randnv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randnv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randnv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_randv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_rntm_calc_num_threads_in # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_rntm_factorize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_rntm_factorize_sup # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_rntm_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_rntm_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_rntm_init_from_env # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_rntm_init_from_global # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_rntm_print # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_rntm_sanitize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_rntm_set_num_threads # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_rntm_set_ways # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sabsqsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saddd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saddd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saddm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saddm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saddm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saddsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saddv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saddv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_samaxv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_samaxv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sasumv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sasumv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sasumv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpbyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpbyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpy2v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpy2v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpyf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpyf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_saxpyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sba_acquire # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sba_array_elem # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sba_checkin_array # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sba_checkout_array # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sba_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sba_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sba_query # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sba_release # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2d # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2d_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2d_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2d_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2m_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2m_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2m_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2v_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scal2v_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scald # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scald_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scald_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scald_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scalm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scalm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scalm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scalm_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scalv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scalv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scalv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scalv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sccastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sccastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sccastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sccopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scopyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scopyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scopym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scopym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scopym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scopyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scopyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_scxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdcastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdcastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdcastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdcopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdivsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdotaxpyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdotaxpyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdotv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdotv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdotxaxpyf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdotxaxpyf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdotxf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdotxf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdotxv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdotxv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdpackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sdxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_seqm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_seqm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_seqsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_seqv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_seqv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setd_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setd_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setid # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setid_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setid_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setid_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setijm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setijv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setiv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setm_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setrm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setrv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_setv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sfprintm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sfprintv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemm_armv8a_asm_12x8r # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemm_armv8a_asm_8x12 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemm_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemmsup_ref_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemmsup_ref_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemmt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemmt_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemmtrsm_l_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemmtrsm_u_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgemv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sger # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sger_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sger_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sger_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgesc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgetijm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgetijv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgetsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sgtsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemv_unb_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemv_unb_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemv_unf_var1a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemv_unf_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shemv_unf_var3a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher2_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher2_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher2_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher2_unb_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher2_unb_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher2_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher2_unf_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher2k_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sher_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sherk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sherk_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shiftd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shiftd_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shiftd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_shiftd_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvertd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvertd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvertsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvertv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvertv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvscald # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvscald_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvscalm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvscalm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvscalm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvscalv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sinvscalv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_slamch # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sleep # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_slesc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sltsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_smachval # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_smkherm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_smkherm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_smkherm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_smksymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_smksymm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_smksymm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_smktrim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_smktrim_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_smktrim_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_smulsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snorm1m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snorm1m_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snorm1m_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snorm1v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snorm1v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snorm1v_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormfm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormfm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormfm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormfsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormfv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormfv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormfv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormim_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormim_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormiv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormiv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_snormiv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_spackm_armv8a_int_8x12 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_spackm_sup_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_spackm_sup_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sprintm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sprintv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sqrtrsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sqrtrsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sqrtrsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sqrtsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sqrtsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sqrtsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandnm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandnm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandnm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandnv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandnv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandnv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_srandv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscal2d # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscal2d_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscal2m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscal2m_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscal2m_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscal2v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscal2v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscald # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscald_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscalm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscalm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscalm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscalv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscalv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sscopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetid # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetid_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetijm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetijv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssetv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sshiftd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sshiftd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sspackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssqrtrsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssqrtsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssubd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssubd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssubm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssubm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssubm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssubsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssubv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssubv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssumsqv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssumsqv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssumsqv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sswapv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sswapv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssymm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssymv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssymv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssyr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssyr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssyr2_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssyr2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssyr2k_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssyr_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssyrk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ssyrk_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_stack_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_stack_get # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_stack_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_stack_push # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_string_mkupper # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strmm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strmm3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strmm3_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strmm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strmv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strmv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strmv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strmv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strmv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strsm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strsm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strsm_l_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strsm_u_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strsv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strsv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strsv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strsv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_strsv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subd_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subd_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subm_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_subv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sumsqv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sumsqv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sumsqv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sumsqv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sunpackm_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sunzipsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_swapv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_swapv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_swapv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_swapv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sxpbyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sxpbyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sxpbym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sxpbym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sxpbym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sxpbyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_sxpbyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_symm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_symm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_symm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_symmind_find_avail # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_symv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_symv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_symv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_symv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syr2_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syr2_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syr2_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syr2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syr2k_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syr2k_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syr_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syr_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syr_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syrk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syrk_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_syrk_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_szcastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_szcastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_szcastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_szcopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_szipsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_szpackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_szxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_szxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_szxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrcomm_barrier # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrcomm_barrier_atomic # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrcomm_barrier_single # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrcomm_bcast # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrcomm_cleanup # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrcomm_cleanup_single # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrcomm_create # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrcomm_free # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrcomm_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrcomm_init_single # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_get_ic_nt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_get_ir_nt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_get_jc_nt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_get_jr_nt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_get_num_threads # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_get_pc_nt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_get_thread_impl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_get_thread_impl_str # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_launch # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_launch_single # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_partition_2x2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_partition_2x2_fast # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_partition_2x2_slow # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_mdim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_ndim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_quad # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_sub # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_tlb_d # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_tlb_l # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_tlb_trmm_ll # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_tlb_trmm_lu # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_tlb_trmm_lx_impl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_tlb_trmm_rl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_tlb_trmm_rl_impl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_tlb_trmm_ru # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_tlb_u # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_weighted_sub # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_range_width_l # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_reset # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_set_num_threads # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_set_num_threads_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_set_thread_impl # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_set_ways # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thread_set_ways_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrinfo_attach_sub_node # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrinfo_create # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrinfo_create_root # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrinfo_free # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrinfo_print # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrinfo_print_sub # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_thrinfo_split # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm3_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm3_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm3ind_find_avail # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm_ll_ker_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm_ll_ker_var2b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm_lu_ker_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm_lu_ker_var2b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm_rl_ker_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm_rl_ker_var2b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm_ru_ker_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmm_ru_ker_var2b # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmmind_find_avail # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_l_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_l_blk_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_u_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_u_blk_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_unb_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_unb_var2_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_unf_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trmv_unf_var2_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_basic_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_blk_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_blk_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_cntl_finalize # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_cntl_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_l_cntl_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_l_ukernel_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_ll_ker_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_lu_ker_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_r_cntl_init # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_rl_ker_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_ru_ker_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_u_ukernel_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsm_var_cntl_init_node # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsmind_find_avail # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_l_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_l_blk_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_u_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_u_blk_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_unb_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_unb_var2_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_unf_var1_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_trsv_unf_var2_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_unpackm_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_unpackm_cntl_init_node # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_unpackm_int # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_unpackm_int_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_unzipsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_unzipsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_unzipsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_utilm_fprint_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_utilm_mkhst_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_utilm_norm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_utilm_rand_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_utilv_norm_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_utilv_sumsqv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_utilv_xa_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_utilv_xi_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbyd_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbyd_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbym_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbym_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbym_md_ex_qfp2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbyv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xpbyv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xxmv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_xxr_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zabsqsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaddd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaddd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaddm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaddm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaddm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaddsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaddv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaddv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zamaxv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zamaxv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zasumv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zasumv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zasumv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpbyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpbyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpy2v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpy2v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpyf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpyf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zaxpyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zccastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zccastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zccastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zccopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zcopyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zcopyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zcopym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zcopym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zcopym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zcopyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zcopyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zcpackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zcxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zcxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zcxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdcastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdcastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdcastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdcopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdivsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdotaxpyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdotaxpyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdotv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdotv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdotxaxpyf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdotxaxpyf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdotxf # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdotxf_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdotxv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdotxv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zdxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zeqm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zeqm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zeqsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zeqv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zeqv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zfprintm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zfprintv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemm_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemmsup_ref_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemmsup_ref_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemmt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemmt_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemmtrsm_l_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemmtrsm_u_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgemv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zger # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zger_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zger_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zger_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgetijm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgetijv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zgetsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemv_unb_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemv_unb_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemv_unf_var1a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemv_unf_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zhemv_unf_var3a # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher2_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher2_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher2_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher2_unb_var3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher2_unb_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher2_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher2_unf_var4 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher2k_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zher_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zherk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zherk_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvertd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvertd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvertsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvertv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvertv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvscald # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvscald_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvscalm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvscalm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvscalm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvscalv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zinvscalv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zipsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zipsc_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zipsc_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zmachval # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zmkherm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zmkherm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zmkherm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zmksymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zmksymm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zmksymm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zmktrim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zmktrim_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zmktrim_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zmulsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znorm1m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znorm1m_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znorm1m_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znorm1v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znorm1v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znorm1v_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormfm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormfm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormfm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormfsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormfv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormfv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormfv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormim # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormim_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormim_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormiv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormiv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_znormiv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zpackm_sup_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zpackm_sup_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zprintm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zprintv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandnm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandnm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandnm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandnv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandnv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandnv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zrandv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscal2d # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscal2d_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscal2m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscal2m_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscal2m_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscal2v # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscal2v_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscald # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscald_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscalm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscalm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscalm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscalv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscalv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zscopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetid # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetid_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetijm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetijv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsetv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zshiftd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zshiftd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zspackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsqrtrsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsqrtsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsubd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsubd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsubm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsubm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsubm_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsubsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsubv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsubv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsumsqv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsumsqv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsumsqv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zswapv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zswapv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsymm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsymv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsymv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsyr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsyr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsyr2_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsyr2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsyr2k_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsyr_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsyrk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zsyrk_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrmm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrmm3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrmm3_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrmm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrmv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrmv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrmv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrmv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrmv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrsm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrsm_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrsm_l_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrsm_u_ukernel # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrsv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrsv_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrsv_unb_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrsv_unf_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_ztrsv_unf_var2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zunpackm_blk_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zunzipsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zxpbyd # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zxpbyd_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zxpbym # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zxpbym_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zxpbym_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zxpbyv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zxpbyv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zzcastm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zzcastnzm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zzcastv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zzcopysc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zzipsc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zzpackm_struc_cxk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zzxpbym_md # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zzxpbym_md_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_zzxpbym_md_unb_var1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function caxpby_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function caxpy_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_caxpby # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_caxpy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ccopy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cdotc_sub # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cdotu_sub # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cgbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cgemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cgemm3m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cgemm_batch # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cgemmt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cgemmtr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cgemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cgerc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cgeru # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_chbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_chemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_chemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cher # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cher2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cher2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cherk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_chpmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_chpr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_chpr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cscal # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_csscal # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_cswap # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_csymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_csyr2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_csyrk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ctbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ctbsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ctpmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ctpsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ctrmm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ctrmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ctrsm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ctrsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dasum # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_daxpby # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_daxpy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dcopy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ddot # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dgbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dgemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dgemm_batch # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dgemmt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dgemmtr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dgemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dger # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dnrm2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_drot # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_drotg # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_drotm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_drotmg # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dsbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dscal # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dsdot # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dspmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dspr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dspr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dswap # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dsymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dsymv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dsyr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dsyr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dsyr2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dsyrk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dtbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dtbsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dtpmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dtpsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dtrmm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dtrmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dtrsm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dtrsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dzasum # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_dznrm2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_icamax # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_idamax # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_isamax # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_izamax # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sasum # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_saxpby # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_saxpy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_scasum # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_scnrm2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_scopy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sdot # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sdsdot # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sgbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sgemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sgemm_batch # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sgemmt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sgemmtr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sgemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sger # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_snrm2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_srot # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_srotg # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_srotm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_srotmg # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ssbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sscal # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sspmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sspr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sspr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_sswap # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ssymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ssymv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ssyr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ssyr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ssyr2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ssyrk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_stbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_stbsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_stpmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_stpsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_strmm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_strmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_strsm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_strsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_xerbla # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zaxpby # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zaxpy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zcopy # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zdotc_sub # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zdotu_sub # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zdscal # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zgbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zgemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zgemm3m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zgemm_batch # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zgemmt # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zgemmtr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zgemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zgerc # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zgeru # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zhbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zhemm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zhemv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zher # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zher2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zher2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zherk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zhpmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zhpr # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zhpr2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zscal # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zswap # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zsymm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zsyr2k # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_zsyrk # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ztbmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ztbsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ztpmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ztpsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ztrmm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ztrmv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ztrsm # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cblas_ztrsv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ccopy_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cdotc_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cdotcsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cdotu_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cdotusub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cgbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cgemm3m_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cgemm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cgemm_batch_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cgemmt_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cgemmtr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cgemv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cgerc_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cgeru_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function chbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function chemm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function chemv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cher2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cher2k_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cher_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cherk_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function chpmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function chpr2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function chpr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function crot_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function crotg_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cscal_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function csrot_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function csscal_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function cswap_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function csymm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function csymv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function csyr2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function csyr2k_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function csyr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function csyrk_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ctbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ctbsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ctpmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ctpsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ctrmm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ctrmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ctrsm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ctrsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dasum_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dasumsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function daxpby_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function daxpy_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dcabs1_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dcopy_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ddot_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ddotsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dgbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dgemm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dgemm_batch_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dgemmt_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dgemmtr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dgemv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dger_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dnrm2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dnrm2sub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function drot_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function drotg_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function drotm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function drotmg_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dsbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dscal_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dsdot_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dsdotsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dspmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dspr2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dspr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dswap_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dsymm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dsymv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dsyr2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dsyr2k_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dsyr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dsyrk_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dtbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dtbsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dtpmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dtpsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dtrmm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dtrmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dtrsm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dtrsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dzasum_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dzasumsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dznrm2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function dznrm2sub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function find_string_in # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function icamax_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function icamaxsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function idamax_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function idamaxsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function isamax_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function isamaxsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function izamax_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function izamaxsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function lsame_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sasum_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sasumsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function saxpby_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function saxpy_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function scabs1_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function scasum_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function scasumsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function scnrm2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function scnrm2sub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function scopy_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sdot_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sdotsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sdsdot_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sdsdotsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sgbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sgemm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sgemm_batch_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sgemmt_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sgemmtr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sgemv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sger_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function snrm2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function snrm2sub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function srot_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function srotg_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function srotm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function srotmg_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ssbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sscal_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sspmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sspr2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sspr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function sswap_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ssymm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ssymv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ssyr2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ssyr2k_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ssyr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ssyrk_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function stbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function stbsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function stpmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function stpsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function strmm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function strmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function strsm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function strsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function xerbla_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function xerbla_array_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zaxpby_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zaxpy_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zcopy_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zdotc_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zdotcsub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zdotu_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zdotusub_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zdrot_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zdscal_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zgbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zgemm3m_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zgemm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zgemm_batch_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zgemmt_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zgemmtr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zgemv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zgerc_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zgeru_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zhbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zhemm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zhemv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zher2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zher2k_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zher_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zherk_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zhpmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zhpr2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zhpr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zrot_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zrotg_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zscal_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zswap_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zsymm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zsymv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zsyr2_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zsyr2k_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zsyr_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function zsyrk_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ztbmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ztbsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ztpmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ztpsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ztrmm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ztrmv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ztrsm_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function ztrsv_ # header: /opt/homebrew/opt/blis/include/blis/blis.h diff --git a/generated/myInclude.txt b/generated/myInclude.txt new file mode 100644 index 00000000..d2096e5f --- /dev/null +++ b/generated/myInclude.txt @@ -0,0 +1,16 @@ +--include-constant CblasColMajor # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasConjNoTrans # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasConjTrans # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasLeft # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasLower # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasNoTrans # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasNonUnit # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasRight # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasRowMajor # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasTrans # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasUnit # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-constant CblasUpper # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dgemm # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dgemm_batch # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dgemmt # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h +--include-function cblas_dgemv # header: /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h \ No newline at end of file diff --git a/generated/my_includes_blis_typed.txt b/generated/my_includes_blis_typed.txt new file mode 100644 index 00000000..fb95bb95 --- /dev/null +++ b/generated/my_includes_blis_typed.txt @@ -0,0 +1,702 @@ + +#### Extracted from: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h + +--include-constant __bool_true_false_are_defined # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h +--include-constant false # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h +--include-constant true # header: /Users/simon/Code/jextract-1/build/jextract/runtime/conf/jextract/stdbool.h + + +#### Extracted from: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h + +--include-typedef __darwin_pthread_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_cond_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_condattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_key_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_mutex_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_mutexattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_once_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_rwlock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_rwlockattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-typedef __darwin_pthread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_ATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_CONDATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_COND_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_MUTEXATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_MUTEX_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_ONCE_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_RWLOCKATTR_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_RWLOCK_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-constant __PTHREAD_SIZE__ # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct __darwin_pthread_handler_rec # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_attr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_cond_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_condattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_mutex_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_mutexattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_once_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_rwlock_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_rwlockattr_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h +--include-struct _opaque_pthread_t # header: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_types.h + + +#### Extracted from: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_MINUS_ONE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_MINUS_ONE_I # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_MINUS_TWO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_NAN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_ONE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_ONE_I # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_SINGLE_COMM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_TWO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-var BLIS_ZERO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_1M # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_1TYPE_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_2TYPE_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_3TYPE_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ADDV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ALIGNMENT_NOT_MULT_OF_PTR_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ALIGNMENT_NOT_POWER_OF_TWO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AMAXV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_A64FX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ALTRA # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ALTRAMAX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ARMSVE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_BGQ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_BULLDOZER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_CORTEXA15 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_CORTEXA53 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_CORTEXA57 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_CORTEXA9 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_EXCAVATOR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_FIRESTORM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_GENERIC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_HASWELL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_KNC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_KNL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_PENRYN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_PILEDRIVER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_POWER10 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_POWER7 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_POWER9 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_RV32I # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_RV32IV # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_RV64I # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_RV64IV # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_SANDYBRIDGE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_SIFIVE_X280 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_SKX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_STEAMROLLER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_THUNDERX2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ZEN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ZEN2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ARCH_ZEN3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AXPBYV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AXPY2V_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AXPYF_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_AXPYV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BBM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BBN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_1E # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_1R # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_BUFFER_FOR_A_BLOCK # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_BUFFER_FOR_B_PANEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_BUFFER_FOR_C_PANEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_BUFFER_FOR_GEN_USE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_COMPLEX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_CONJ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_CONJ_TRANS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_CONST_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_DCOMPLEX_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_DENSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_DOUBLE_PREC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_DOUBLE_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_FLOAT_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_GENERAL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_HERMITIAN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_INT_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_INVERT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_NONUNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_NOT_PACKED # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_NO_CONJ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_NO_TRANS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACKED_PANELS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACKED_PANELS_1E # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACKED_PANELS_1R # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACKED_PANELS_RO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACKED_UNSPEC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACK_FWD_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACK_FWD_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACK_REV_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_PACK_REV_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_REAL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_RO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_SCOMPLEX_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_SINGLE_PREC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_SYMMETRIC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_TRANS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_TRIANGULAR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_UNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BITVAL_ZEROS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BLAS_INT_TYPE_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BLKSZS_END_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BUFFER_FOR_A_BLOCK # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BUFFER_FOR_B_PANEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BUFFER_FOR_C_PANEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BUFFER_FOR_GEN_USE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_BWD # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CACHE_LINE_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CCC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CCR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_COMPLEX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_COMP_PREC_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_COMP_PREC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJTRANS_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJTRANS_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJTRANS_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJUGATE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJ_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJ_NO_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJ_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJ_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONJ_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CONSTANT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_COPYV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CRC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_CRR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DATATYPE_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DATATYPE_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DATATYPE_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DCOMPLEX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DENSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DIAG_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DIAG_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DIAG_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOMAIN_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOMAIN_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOMAIN_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOTAXPYV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOTV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOTXAXPYF_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOTXF_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOTXV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOUBLE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DOUBLE_PREC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DT_HI # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_DT_LO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ERROR_CODE_MAX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ERROR_CODE_MIN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXHAUSTED_CONTIG_MEMORY_POOL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_FLOATING_POINT_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_GENERAL_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_HERMITIAN_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_INTEGER_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_NONCONSTANT_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_NONINTEGER_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_NONNULL_OBJECT_BUFFER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_NONUNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_OBJECT_ALIAS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_REAL_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_REAL_PROJ_OF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_REAL_VALUED_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_SCALAR_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_SQUARE_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_SYMMETRIC_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_TRIANGULAR_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_UPPER_OR_LOWER_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_EXPECTED_VECTOR_OBJECT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_FAILURE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_FLOAT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_FULL_ERROR_CHECKING # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_FUNC_PREFIX_STR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_FWD # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM1M_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CCC_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CCC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CCR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CCR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CRC_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CRC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CRR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_CRR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RCC_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RCC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RCR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RCR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RRC_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RRC_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RRR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_RRR_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_XXX_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMSUP_XXX_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM1M_L_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM1M_U_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM_L_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM_L_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM_U_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMMTRSM_U_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM_CCR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM_CRR_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM_RCC_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GEMM_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_GENERAL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HEAP_ADDR_ALIGN_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HEAP_STRIDE_ALIGN_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HEMM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HER2K # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HERK # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HERMITIAN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_HPX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INCONSISTENT_DATATYPES # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INCONSISTENT_PRECISIONS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_IND_FIRST # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_IND_LAST # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INFO_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INSUFFICIENT_STACK_BUF_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INT_TYPE_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_1x3_SUBPART # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_3x1_SUBPART # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_3x3_SUBPART # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_ARCH_ID # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_COL_STRIDE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_CONJ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_DATATYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_DIM_STRIDE_COMBINATION # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_ERROR_CHECKING_LEVEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_MACHVAL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_PACKBUF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_ROW_STRIDE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_SIDE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_TRANS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_UKR_ID # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVALID_UPLO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVERTV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVERT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVERT_DIAG_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVERT_DIAG_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVERT_DIAG_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_INVSCALV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KC_DEF_NONMULTIPLE_OF_KR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KC_MAX_NONMULTIPLE_OF_KR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KC_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KR_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_KT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LEFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LEVEL3_OPS_END_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LOCK_FAILURE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LOWER_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LOWER_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_LOWER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_M # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_M2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_BASE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_EMAX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_EMIN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_EPS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_EPS2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_NDIGMANT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_PARAM_FIRST # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_PARAM_LAST # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_PREC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_RMAX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_RMIN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_RND # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MACH_SFMIN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MALLOC_RETURNED_NULL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MAX_BLAS_FUNC_STR_LENGTH # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MAX_SUB_NODES # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MAX_TYPE_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MC_DEF_NONMULTIPLE_OF_MR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MC_MAX_NONMULTIPLE_OF_MR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MC_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MR_NOT_EVEN_FOR_REAL_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MR_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_MT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_N # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_N2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NAT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NC_DEF_NONMULTIPLE_OF_NR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NC_MAX_NONMULTIPLE_OF_NR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NC_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NEGATIVE_DIMENSION # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NOID # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NONCONFORMAL_DIMENSIONS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NONUNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NOTAPPLIC_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NOT_PACKED # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NOT_YET_IMPLEMENTED # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NO_CONJUGATE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NO_ERROR_CHECKING # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NO_INVERT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NO_PART # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NO_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NR_NOT_EVEN_FOR_REAL_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NR_SUP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NTYPE_KER_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NTYPE_KER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NT_MAX_PRIME # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NULL_POINTER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_3OP_RC_COMBOS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_ARCHS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_BLKSZS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_FP_TYPES # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_IND_METHODS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_LEVEL3_OPS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_LOOPS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_MACH_PARAMS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_PACK_SCHEMA_TYPES # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_PACK_SCHEMA_TYPES_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_THREAD_IMPLS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKR2S # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKR2S_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKRS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKRS_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKR_IMPL_TYPES # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_NUM_UKR_PREFS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_OPENMP # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_OPTIMIZED_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_OS_OSX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_OUT_OF_BOUNDS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_MATRIX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_PANELS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_PANELS_1E # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_PANELS_1R # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_PANELS_RO # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_UNSPEC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKED_VECTOR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKMR_NOT_EVEN_FOR_REAL_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_1ER_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_DIAG_1ER_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_DIAG_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_DIAG_RO_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKM_RO_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACKNR_NOT_EVEN_FOR_REAL_TYPE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_BUFFER_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_BUFFER_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_BUFFER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_FORMAT_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_FORMAT_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_FORMAT_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_FWD_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_FWD_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_PANEL_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_PANEL_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_PANEL_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_LOWER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_LOWER_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_LOWER_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_LOWER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_UPPER_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_UPPER_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_REV_IF_UPPER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SCHEMA_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_PART # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_UNPACK # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SCHEMA_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SCHEMA_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PACK_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PAGE_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_ALIGN_SIZE_A # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_ALIGN_SIZE_B # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_ALIGN_SIZE_C # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_ALIGN_SIZE_GEN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_OFFSET_SIZE_A # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_OFFSET_SIZE_B # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_OFFSET_SIZE_C # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POOL_ADDR_OFFSET_SIZE_GEN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_POSIX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PRECISION_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PRECISION_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_PRECISION_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_RCC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_RCR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_REAL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_REFERENCE_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_RIGHT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_RRC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_RRR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCAL2V_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_DOMAIN_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_DOMAIN_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_DT_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_DT_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_PREC_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALAR_PREC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCALV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SCOMPLEX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SETV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIMD_ALIGN_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIMD_MAX_NUM_REGISTERS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIMD_MAX_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SINGLE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SINGLE_PREC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIZEOF_C # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIZEOF_D # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIZEOF_S # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SIZEOF_Z # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_STACK_BUF_ALIGN_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_STACK_BUF_MAX_SIZE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_STRUC_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_STRUC_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_STRUC_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART0 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART00 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART01 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART02 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART10 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART11 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART12 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART1A # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART1AND0 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART1AND2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART1B # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART2 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART20 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART21 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBPART22 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUBV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SUCCESS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SWAPV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SYMM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SYMMETRIC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SYR2K # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_SYRK # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_KC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_KR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_MAX_IR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_MAX_JR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_MC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_MR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_NC # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_NONE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_NR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_RATIO_M # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_THREAD_RATIO_N # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRANSPOSE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRANS_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRANS_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRANS_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRIANGULAR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRMM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRMM3 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRSM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRSM_L_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRSM_L_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRSM_U_UKR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_TRSM_U_UKR_ROW_PREF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UKRS_END_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UKR_PREFS_END_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNDEFINED_ERROR_CODE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEQUAL_VECTOR_LENGTHS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEXPECTED_DIAG_OFFSET # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEXPECTED_NULL_CONTROL_TREE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEXPECTED_OBJECT_LENGTH # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEXPECTED_OBJECT_WIDTH # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNEXPECTED_VECTOR_DIM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNINITIALIZED_GKS_CNTX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNIT_DIAG # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNIT_DIAG_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNIT_DIAG_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNIT_DIAG_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UNPACKM_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPLO_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPLO_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPLO_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPPER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPPER_BIT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPPER_NUM_BITS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_UPPER_SHIFT # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VA_END # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VERSION_MAJOR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VERSION_MINOR # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VERSION_REVISION # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VERSION_STRING # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_VIRTUAL_UKERNEL # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_XF # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_XPBYV_KER # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_XXX # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant BLIS_ZEROS # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasColMajor # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasConjTrans # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasLeft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasLower # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasNoTrans # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasNonUnit # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasRight # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasRowMajor # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasTrans # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasUnit # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant CblasUpper # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant FALSE_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant FEATURE_NEON # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant FEATURE_SVE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_ARMV7 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_ARMV8 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_POWER10 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_POWER7 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_POWER9 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant MODEL_UNKNOWN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant TRUE_ # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant VENDOR_ARM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant VENDOR_IBM # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant VENDOR_UNKNOWN # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant _POSIX_C_SOURCE # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_1m # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_ccsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_cdsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_cssame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_ctype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_czsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dcsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_ddsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dmone # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dmtwo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_done # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dssame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dtwo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dtype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dzero # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_dzsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_nat # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_scsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_sdsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_smone # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_smtwo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_sone # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_sssame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_stwo # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_stype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_szero # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_szsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_zcsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_zdsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_zssame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_ztype # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-constant bli_zzsame # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct apool_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct array_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct auxinfo_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct bli_prime_factors_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct bli_pthread_barrier_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct bli_pthread_switch_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct blksz_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct cntx_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct constdata_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct dcomplex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct func2_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct func_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct gemm_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct gemm_ker_params_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct gemm_var_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct getopt_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct mbool_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct mem_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct obj_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct packm_blk_var1_params_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct packm_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct packm_def_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct part_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct pba_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct pblk_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct pool_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct rntm_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct scomplex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct stck_t # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct thrcomm_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct thrinfo_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct trsm_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct trsm_var_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-struct unpackm_cntl_s # header: /opt/homebrew/opt/blis/include/blis/blis.h + +--include-function bli_addd # header: /opt/homebrew/opt/blis/include/blis/blis.h + + +--include-typedef absqsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addm_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addm_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addsc_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef addv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef amaxv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef amaxv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef amaxv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef asumv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef asumv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpbyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpbyv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpbyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpy2v_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpy2v_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpy2v_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyd_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyd_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyf_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyf_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyf_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpym_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpym_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyv_ex_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyv_ker_ft # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-typedef axpyv_vft # header: /opt/homebrew/opt/blis/include/blis/blis.h + +--include-function bli_addv # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addv_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addv_ex # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_addv_ex_qfp # header: /opt/homebrew/opt/blis/include/blis/blis.h + +--include-function bli_obj_alloc_buffer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_alloc_buffer_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_attach_buffer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_attach_buffer_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_1x1 # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_1x1_with_attached_buffer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_conf_to # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_const_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_const_copy_of_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_scalar_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_with_attached_buffer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_without_buffer # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_create_without_buffer_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_equals # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_free # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_free_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_imag_equals # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_imag_is_zero # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_print # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_print_check # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_apply_scalar # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_attach # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_cast_to # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_detach # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_equals # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_has_nonzero_imag # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_init_detached # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_init_detached_copy_of # header: /opt/homebrew/opt/blis/include/blis/blis.h +--include-function bli_obj_scalar_reset # header: /opt/homebrew/opt/blis/include/blis/blis.h \ No newline at end of file diff --git a/generated/package.mill b/generated/package.mill new file mode 100644 index 00000000..a10ad1fc --- /dev/null +++ b/generated/package.mill @@ -0,0 +1,24 @@ +package build.generated + +import mill._ +import mill.javalib._ + +/** + * The MLC C ABI need to be built from source. +* The MLX C ABI needs to be built from source: +* +* ``` +* git clone https://github.com/ml-explore/mlx-c.git +* cd mlx-c +* mkdir build && cd build +* cmake .. -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release +* make -j +* ``` +* To consume it, need to add the library path to the java.library.path +* "-Djava.library.path=/Users/simon/Code/mlx-c/build", +*/ +object `package` extends JavaModule { + // Configure to use Java 24 for compilation and runtime + override def javacOptions = Seq("--release", "24") + override def forkArgs = Seq("--add-modules=jdk.incubator.vector") +} \ No newline at end of file diff --git a/generated/src/blas/cblas_h$shared.java b/generated/src/blas/cblas_h$shared.java new file mode 100644 index 00000000..83c7d083 --- /dev/null +++ b/generated/src/blas/cblas_h$shared.java @@ -0,0 +1,63 @@ +// Generated by jextract + +package blas; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +public class cblas_h$shared { + + cblas_h$shared() { + // Should not be called directly + } + + public static final ValueLayout.OfBoolean C_BOOL = (ValueLayout.OfBoolean) Linker.nativeLinker().canonicalLayouts().get("bool"); + public static final ValueLayout.OfByte C_CHAR =(ValueLayout.OfByte)Linker.nativeLinker().canonicalLayouts().get("char"); + public static final ValueLayout.OfShort C_SHORT = (ValueLayout.OfShort) Linker.nativeLinker().canonicalLayouts().get("short"); + public static final ValueLayout.OfInt C_INT = (ValueLayout.OfInt) Linker.nativeLinker().canonicalLayouts().get("int"); + public static final ValueLayout.OfLong C_LONG_LONG = (ValueLayout.OfLong) Linker.nativeLinker().canonicalLayouts().get("long long"); + public static final ValueLayout.OfFloat C_FLOAT = (ValueLayout.OfFloat) Linker.nativeLinker().canonicalLayouts().get("float"); + public static final ValueLayout.OfDouble C_DOUBLE = (ValueLayout.OfDouble) Linker.nativeLinker().canonicalLayouts().get("double"); + public static final AddressLayout C_POINTER = ((AddressLayout) Linker.nativeLinker().canonicalLayouts().get("void*")) + .withTargetLayout(MemoryLayout.sequenceLayout(java.lang.Long.MAX_VALUE, C_CHAR)); + public static final ValueLayout.OfLong C_LONG = (ValueLayout.OfLong) Linker.nativeLinker().canonicalLayouts().get("long"); + + static final boolean TRACE_DOWNCALLS = Boolean.getBoolean("jextract.trace.downcalls"); + + static void traceDowncall(String name, Object... args) { + String traceArgs = Arrays.stream(args) + .map(Object::toString) + .collect(Collectors.joining(", ")); + System.out.printf("%s(%s)\n", name, traceArgs); + } + + static MethodHandle upcallHandle(Class fi, String name, FunctionDescriptor fdesc) { + try { + return MethodHandles.lookup().findVirtual(fi, name, fdesc.toMethodType()); + } catch (ReflectiveOperationException ex) { + throw new AssertionError(ex); + } + } + + static MemoryLayout align(MemoryLayout layout, long align) { + return switch (layout) { + case PaddingLayout p -> p; + case ValueLayout v -> v.withByteAlignment(align); + case GroupLayout g -> { + MemoryLayout[] alignedMembers = g.memberLayouts().stream() + .map(m -> align(m, align)).toArray(MemoryLayout[]::new); + yield g instanceof StructLayout ? + MemoryLayout.structLayout(alignedMembers) : MemoryLayout.unionLayout(alignedMembers); + } + case SequenceLayout s -> MemoryLayout.sequenceLayout(s.elementCount(), align(s.elementLayout(), align)); + }; + } +} + diff --git a/generated/src/blas/cblas_h.java b/generated/src/blas/cblas_h.java new file mode 100644 index 00000000..0f2a1ef5 --- /dev/null +++ b/generated/src/blas/cblas_h.java @@ -0,0 +1,424 @@ +// Generated by jextract + +package blas; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +public class cblas_h extends cblas_h$shared { + + cblas_h() { + // Should not be called directly + } + + static final Arena LIBRARY_ARENA = Arena.ofAuto(); + + static final SymbolLookup SYMBOL_LOOKUP = Linker.nativeLinker() + .defaultLookup() + .or(SymbolLookup.libraryLookup("/System/Library/Frameworks/Accelerate.framework/Accelerate", LIBRARY_ARENA)); + + private static final int CblasRowMajor = (int)101L; + /** + * {@snippet lang=c : + * enum CBLAS_ORDER.CblasRowMajor = 101 + * } + */ + public static int CblasRowMajor() { + return CblasRowMajor; + } + private static final int CblasColMajor = (int)102L; + /** + * {@snippet lang=c : + * enum CBLAS_ORDER.CblasColMajor = 102 + * } + */ + public static int CblasColMajor() { + return CblasColMajor; + } + private static final int CblasNoTrans = (int)111L; + /** + * {@snippet lang=c : + * enum CBLAS_TRANSPOSE.CblasNoTrans = 111 + * } + */ + public static int CblasNoTrans() { + return CblasNoTrans; + } + private static final int CblasTrans = (int)112L; + /** + * {@snippet lang=c : + * enum CBLAS_TRANSPOSE.CblasTrans = 112 + * } + */ + public static int CblasTrans() { + return CblasTrans; + } + private static final int CblasConjTrans = (int)113L; + /** + * {@snippet lang=c : + * enum CBLAS_TRANSPOSE.CblasConjTrans = 113 + * } + */ + public static int CblasConjTrans() { + return CblasConjTrans; + } + private static final int CblasConjNoTrans = (int)114L; + /** + * {@snippet lang=c : + * enum CBLAS_TRANSPOSE.CblasConjNoTrans = 114 + * } + */ + public static int CblasConjNoTrans() { + return CblasConjNoTrans; + } + private static final int CblasUpper = (int)121L; + /** + * {@snippet lang=c : + * enum CBLAS_UPLO.CblasUpper = 121 + * } + */ + public static int CblasUpper() { + return CblasUpper; + } + private static final int CblasLower = (int)122L; + /** + * {@snippet lang=c : + * enum CBLAS_UPLO.CblasLower = 122 + * } + */ + public static int CblasLower() { + return CblasLower; + } + private static final int CblasNonUnit = (int)131L; + /** + * {@snippet lang=c : + * enum CBLAS_DIAG.CblasNonUnit = 131 + * } + */ + public static int CblasNonUnit() { + return CblasNonUnit; + } + private static final int CblasUnit = (int)132L; + /** + * {@snippet lang=c : + * enum CBLAS_DIAG.CblasUnit = 132 + * } + */ + public static int CblasUnit() { + return CblasUnit; + } + private static final int CblasLeft = (int)141L; + /** + * {@snippet lang=c : + * enum CBLAS_SIDE.CblasLeft = 141 + * } + */ + public static int CblasLeft() { + return CblasLeft; + } + private static final int CblasRight = (int)142L; + /** + * {@snippet lang=c : + * enum CBLAS_SIDE.CblasRight = 142 + * } + */ + public static int CblasRight() { + return CblasRight; + } + + private static class cblas_dgemv { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cblas_dgemv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void cblas_dgemv(const enum CBLAS_ORDER order, const enum CBLAS_TRANSPOSE trans, const blasint m, const blasint n, const double alpha, const double *a, const blasint lda, const double *x, const blasint incx, const double beta, double *y, const blasint incy) + * } + */ + public static FunctionDescriptor cblas_dgemv$descriptor() { + return cblas_dgemv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void cblas_dgemv(const enum CBLAS_ORDER order, const enum CBLAS_TRANSPOSE trans, const blasint m, const blasint n, const double alpha, const double *a, const blasint lda, const double *x, const blasint incx, const double beta, double *y, const blasint incy) + * } + */ + public static MethodHandle cblas_dgemv$handle() { + return cblas_dgemv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void cblas_dgemv(const enum CBLAS_ORDER order, const enum CBLAS_TRANSPOSE trans, const blasint m, const blasint n, const double alpha, const double *a, const blasint lda, const double *x, const blasint incx, const double beta, double *y, const blasint incy) + * } + */ + public static MemorySegment cblas_dgemv$address() { + return cblas_dgemv.ADDR; + } + + /** + * {@snippet lang=c : + * void cblas_dgemv(const enum CBLAS_ORDER order, const enum CBLAS_TRANSPOSE trans, const blasint m, const blasint n, const double alpha, const double *a, const blasint lda, const double *x, const blasint incx, const double beta, double *y, const blasint incy) + * } + */ + public static void cblas_dgemv(int order, int trans, int m, int n, double alpha, MemorySegment a, int lda, MemorySegment x, int incx, double beta, MemorySegment y, int incy) { + var mh$ = cblas_dgemv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cblas_dgemv", order, trans, m, n, alpha, a, lda, x, incx, beta, y, incy); + } + mh$.invokeExact(order, trans, m, n, alpha, a, lda, x, incx, beta, y, incy); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cblas_dgemm { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cblas_dgemm"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void cblas_dgemm(const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE TransA, const enum CBLAS_TRANSPOSE TransB, const blasint M, const blasint N, const blasint K, const double alpha, const double *A, const blasint lda, const double *B, const blasint ldb, const double beta, double *C, const blasint ldc) + * } + */ + public static FunctionDescriptor cblas_dgemm$descriptor() { + return cblas_dgemm.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void cblas_dgemm(const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE TransA, const enum CBLAS_TRANSPOSE TransB, const blasint M, const blasint N, const blasint K, const double alpha, const double *A, const blasint lda, const double *B, const blasint ldb, const double beta, double *C, const blasint ldc) + * } + */ + public static MethodHandle cblas_dgemm$handle() { + return cblas_dgemm.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void cblas_dgemm(const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE TransA, const enum CBLAS_TRANSPOSE TransB, const blasint M, const blasint N, const blasint K, const double alpha, const double *A, const blasint lda, const double *B, const blasint ldb, const double beta, double *C, const blasint ldc) + * } + */ + public static MemorySegment cblas_dgemm$address() { + return cblas_dgemm.ADDR; + } + + /** + * {@snippet lang=c : + * void cblas_dgemm(const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE TransA, const enum CBLAS_TRANSPOSE TransB, const blasint M, const blasint N, const blasint K, const double alpha, const double *A, const blasint lda, const double *B, const blasint ldb, const double beta, double *C, const blasint ldc) + * } + */ + public static void cblas_dgemm(int Order, int TransA, int TransB, int M, int N, int K, double alpha, MemorySegment A, int lda, MemorySegment B, int ldb, double beta, MemorySegment C, int ldc) { + var mh$ = cblas_dgemm.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cblas_dgemm", Order, TransA, TransB, M, N, K, alpha, A, lda, B, ldb, beta, C, ldc); + } + mh$.invokeExact(Order, TransA, TransB, M, N, K, alpha, A, lda, B, ldb, beta, C, ldc); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cblas_dgemmt { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cblas_dgemmt"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void cblas_dgemmt(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE TransA, const enum CBLAS_TRANSPOSE TransB, const blasint M, const blasint K, const double alpha, const double *A, const blasint lda, const double *B, const blasint ldb, const double beta, double *C, const blasint ldc) + * } + */ + public static FunctionDescriptor cblas_dgemmt$descriptor() { + return cblas_dgemmt.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void cblas_dgemmt(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE TransA, const enum CBLAS_TRANSPOSE TransB, const blasint M, const blasint K, const double alpha, const double *A, const blasint lda, const double *B, const blasint ldb, const double beta, double *C, const blasint ldc) + * } + */ + public static MethodHandle cblas_dgemmt$handle() { + return cblas_dgemmt.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void cblas_dgemmt(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE TransA, const enum CBLAS_TRANSPOSE TransB, const blasint M, const blasint K, const double alpha, const double *A, const blasint lda, const double *B, const blasint ldb, const double beta, double *C, const blasint ldc) + * } + */ + public static MemorySegment cblas_dgemmt$address() { + return cblas_dgemmt.ADDR; + } + + /** + * {@snippet lang=c : + * void cblas_dgemmt(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE TransA, const enum CBLAS_TRANSPOSE TransB, const blasint M, const blasint K, const double alpha, const double *A, const blasint lda, const double *B, const blasint ldb, const double beta, double *C, const blasint ldc) + * } + */ + public static void cblas_dgemmt(int Order, int Uplo, int TransA, int TransB, int M, int K, double alpha, MemorySegment A, int lda, MemorySegment B, int ldb, double beta, MemorySegment C, int ldc) { + var mh$ = cblas_dgemmt.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cblas_dgemmt", Order, Uplo, TransA, TransB, M, K, alpha, A, lda, B, ldb, beta, C, ldc); + } + mh$.invokeExact(Order, Uplo, TransA, TransB, M, K, alpha, A, lda, B, ldb, beta, C, ldc); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cblas_dgemm_batch { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + cblas_h.C_INT, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cblas_dgemm_batch"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void cblas_dgemm_batch(const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE *TransA_array, const enum CBLAS_TRANSPOSE *TransB_array, const blasint *M_array, const blasint *N_array, const blasint *K_array, const double *alpha_array, const double **A_array, const blasint *lda_array, const double **B_array, const blasint *ldb_array, const double *beta_array, double **C_array, const blasint *ldc_array, const blasint group_count, const blasint *group_size) + * } + */ + public static FunctionDescriptor cblas_dgemm_batch$descriptor() { + return cblas_dgemm_batch.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void cblas_dgemm_batch(const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE *TransA_array, const enum CBLAS_TRANSPOSE *TransB_array, const blasint *M_array, const blasint *N_array, const blasint *K_array, const double *alpha_array, const double **A_array, const blasint *lda_array, const double **B_array, const blasint *ldb_array, const double *beta_array, double **C_array, const blasint *ldc_array, const blasint group_count, const blasint *group_size) + * } + */ + public static MethodHandle cblas_dgemm_batch$handle() { + return cblas_dgemm_batch.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void cblas_dgemm_batch(const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE *TransA_array, const enum CBLAS_TRANSPOSE *TransB_array, const blasint *M_array, const blasint *N_array, const blasint *K_array, const double *alpha_array, const double **A_array, const blasint *lda_array, const double **B_array, const blasint *ldb_array, const double *beta_array, double **C_array, const blasint *ldc_array, const blasint group_count, const blasint *group_size) + * } + */ + public static MemorySegment cblas_dgemm_batch$address() { + return cblas_dgemm_batch.ADDR; + } + + /** + * {@snippet lang=c : + * void cblas_dgemm_batch(const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE *TransA_array, const enum CBLAS_TRANSPOSE *TransB_array, const blasint *M_array, const blasint *N_array, const blasint *K_array, const double *alpha_array, const double **A_array, const blasint *lda_array, const double **B_array, const blasint *ldb_array, const double *beta_array, double **C_array, const blasint *ldc_array, const blasint group_count, const blasint *group_size) + * } + */ + public static void cblas_dgemm_batch(int Order, MemorySegment TransA_array, MemorySegment TransB_array, MemorySegment M_array, MemorySegment N_array, MemorySegment K_array, MemorySegment alpha_array, MemorySegment A_array, MemorySegment lda_array, MemorySegment B_array, MemorySegment ldb_array, MemorySegment beta_array, MemorySegment C_array, MemorySegment ldc_array, int group_count, MemorySegment group_size) { + var mh$ = cblas_dgemm_batch.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cblas_dgemm_batch", Order, TransA_array, TransB_array, M_array, N_array, K_array, alpha_array, A_array, lda_array, B_array, ldb_array, beta_array, C_array, ldc_array, group_count, group_size); + } + mh$.invokeExact(Order, TransA_array, TransB_array, M_array, N_array, K_array, alpha_array, A_array, lda_array, B_array, ldb_array, beta_array, C_array, ldc_array, group_count, group_size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis/cblas_h$shared.java b/generated/src/blis/cblas_h$shared.java new file mode 100644 index 00000000..dc599d6f --- /dev/null +++ b/generated/src/blis/cblas_h$shared.java @@ -0,0 +1,63 @@ +// Generated by jextract + +package blis; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +public class cblas_h$shared { + + cblas_h$shared() { + // Should not be called directly + } + + public static final ValueLayout.OfBoolean C_BOOL = (ValueLayout.OfBoolean) Linker.nativeLinker().canonicalLayouts().get("bool"); + public static final ValueLayout.OfByte C_CHAR =(ValueLayout.OfByte)Linker.nativeLinker().canonicalLayouts().get("char"); + public static final ValueLayout.OfShort C_SHORT = (ValueLayout.OfShort) Linker.nativeLinker().canonicalLayouts().get("short"); + public static final ValueLayout.OfInt C_INT = (ValueLayout.OfInt) Linker.nativeLinker().canonicalLayouts().get("int"); + public static final ValueLayout.OfLong C_LONG_LONG = (ValueLayout.OfLong) Linker.nativeLinker().canonicalLayouts().get("long long"); + public static final ValueLayout.OfFloat C_FLOAT = (ValueLayout.OfFloat) Linker.nativeLinker().canonicalLayouts().get("float"); + public static final ValueLayout.OfDouble C_DOUBLE = (ValueLayout.OfDouble) Linker.nativeLinker().canonicalLayouts().get("double"); + public static final AddressLayout C_POINTER = ((AddressLayout) Linker.nativeLinker().canonicalLayouts().get("void*")) + .withTargetLayout(MemoryLayout.sequenceLayout(java.lang.Long.MAX_VALUE, C_CHAR)); + public static final ValueLayout.OfLong C_LONG = (ValueLayout.OfLong) Linker.nativeLinker().canonicalLayouts().get("long"); + + static final boolean TRACE_DOWNCALLS = Boolean.getBoolean("jextract.trace.downcalls"); + + static void traceDowncall(String name, Object... args) { + String traceArgs = Arrays.stream(args) + .map(Object::toString) + .collect(Collectors.joining(", ")); + System.out.printf("%s(%s)\n", name, traceArgs); + } + + static MethodHandle upcallHandle(Class fi, String name, FunctionDescriptor fdesc) { + try { + return MethodHandles.lookup().findVirtual(fi, name, fdesc.toMethodType()); + } catch (ReflectiveOperationException ex) { + throw new AssertionError(ex); + } + } + + static MemoryLayout align(MemoryLayout layout, long align) { + return switch (layout) { + case PaddingLayout p -> p; + case ValueLayout v -> v.withByteAlignment(align); + case GroupLayout g -> { + MemoryLayout[] alignedMembers = g.memberLayouts().stream() + .map(m -> align(m, align)).toArray(MemoryLayout[]::new); + yield g instanceof StructLayout ? + MemoryLayout.structLayout(alignedMembers) : MemoryLayout.unionLayout(alignedMembers); + } + case SequenceLayout s -> MemoryLayout.sequenceLayout(s.elementCount(), align(s.elementLayout(), align)); + }; + } +} + diff --git a/generated/src/blis/cblas_h.java b/generated/src/blis/cblas_h.java new file mode 100644 index 00000000..daaa5541 --- /dev/null +++ b/generated/src/blis/cblas_h.java @@ -0,0 +1,419 @@ +// Generated by jextract + +package blis; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +public class cblas_h extends cblas_h$shared { + + cblas_h() { + // Should not be called directly + } + + static final Arena LIBRARY_ARENA = Arena.ofAuto(); + + + static { + System.loadLibrary("blis"); + } + + static final SymbolLookup SYMBOL_LOOKUP = SymbolLookup.loaderLookup() + .or(Linker.nativeLinker().defaultLookup()); + + private static final int CblasRowMajor = (int)101L; + /** + * {@snippet lang=c : + * enum CBLAS_ORDER.CblasRowMajor = 101 + * } + */ + public static int CblasRowMajor() { + return CblasRowMajor; + } + private static final int CblasColMajor = (int)102L; + /** + * {@snippet lang=c : + * enum CBLAS_ORDER.CblasColMajor = 102 + * } + */ + public static int CblasColMajor() { + return CblasColMajor; + } + private static final int CblasNoTrans = (int)111L; + /** + * {@snippet lang=c : + * enum CBLAS_TRANSPOSE.CblasNoTrans = 111 + * } + */ + public static int CblasNoTrans() { + return CblasNoTrans; + } + private static final int CblasTrans = (int)112L; + /** + * {@snippet lang=c : + * enum CBLAS_TRANSPOSE.CblasTrans = 112 + * } + */ + public static int CblasTrans() { + return CblasTrans; + } + private static final int CblasConjTrans = (int)113L; + /** + * {@snippet lang=c : + * enum CBLAS_TRANSPOSE.CblasConjTrans = 113 + * } + */ + public static int CblasConjTrans() { + return CblasConjTrans; + } + private static final int CblasUpper = (int)121L; + /** + * {@snippet lang=c : + * enum CBLAS_UPLO.CblasUpper = 121 + * } + */ + public static int CblasUpper() { + return CblasUpper; + } + private static final int CblasLower = (int)122L; + /** + * {@snippet lang=c : + * enum CBLAS_UPLO.CblasLower = 122 + * } + */ + public static int CblasLower() { + return CblasLower; + } + private static final int CblasNonUnit = (int)131L; + /** + * {@snippet lang=c : + * enum CBLAS_DIAG.CblasNonUnit = 131 + * } + */ + public static int CblasNonUnit() { + return CblasNonUnit; + } + private static final int CblasUnit = (int)132L; + /** + * {@snippet lang=c : + * enum CBLAS_DIAG.CblasUnit = 132 + * } + */ + public static int CblasUnit() { + return CblasUnit; + } + private static final int CblasLeft = (int)141L; + /** + * {@snippet lang=c : + * enum CBLAS_SIDE.CblasLeft = 141 + * } + */ + public static int CblasLeft() { + return CblasLeft; + } + private static final int CblasRight = (int)142L; + /** + * {@snippet lang=c : + * enum CBLAS_SIDE.CblasRight = 142 + * } + */ + public static int CblasRight() { + return CblasRight; + } + + private static class cblas_dgemv { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cblas_dgemv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void cblas_dgemv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE TransA, f77_int M, f77_int N, double alpha, const double *A, f77_int lda, const double *X, f77_int incX, double beta, double *Y, f77_int incY) + * } + */ + public static FunctionDescriptor cblas_dgemv$descriptor() { + return cblas_dgemv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void cblas_dgemv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE TransA, f77_int M, f77_int N, double alpha, const double *A, f77_int lda, const double *X, f77_int incX, double beta, double *Y, f77_int incY) + * } + */ + public static MethodHandle cblas_dgemv$handle() { + return cblas_dgemv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void cblas_dgemv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE TransA, f77_int M, f77_int N, double alpha, const double *A, f77_int lda, const double *X, f77_int incX, double beta, double *Y, f77_int incY) + * } + */ + public static MemorySegment cblas_dgemv$address() { + return cblas_dgemv.ADDR; + } + + /** + * {@snippet lang=c : + * void cblas_dgemv(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE TransA, f77_int M, f77_int N, double alpha, const double *A, f77_int lda, const double *X, f77_int incX, double beta, double *Y, f77_int incY) + * } + */ + public static void cblas_dgemv(int order, int TransA, int M, int N, double alpha, MemorySegment A, int lda, MemorySegment X, int incX, double beta, MemorySegment Y, int incY) { + var mh$ = cblas_dgemv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cblas_dgemv", order, TransA, M, N, alpha, A, lda, X, incX, beta, Y, incY); + } + mh$.invokeExact(order, TransA, M, N, alpha, A, lda, X, incX, beta, Y, incY); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cblas_dgemm { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cblas_dgemm"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void cblas_dgemm(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, f77_int M, f77_int N, f77_int K, double alpha, const double *A, f77_int lda, const double *B, f77_int ldb, double beta, double *C, f77_int ldc) + * } + */ + public static FunctionDescriptor cblas_dgemm$descriptor() { + return cblas_dgemm.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void cblas_dgemm(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, f77_int M, f77_int N, f77_int K, double alpha, const double *A, f77_int lda, const double *B, f77_int ldb, double beta, double *C, f77_int ldc) + * } + */ + public static MethodHandle cblas_dgemm$handle() { + return cblas_dgemm.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void cblas_dgemm(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, f77_int M, f77_int N, f77_int K, double alpha, const double *A, f77_int lda, const double *B, f77_int ldb, double beta, double *C, f77_int ldc) + * } + */ + public static MemorySegment cblas_dgemm$address() { + return cblas_dgemm.ADDR; + } + + /** + * {@snippet lang=c : + * void cblas_dgemm(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, f77_int M, f77_int N, f77_int K, double alpha, const double *A, f77_int lda, const double *B, f77_int ldb, double beta, double *C, f77_int ldc) + * } + */ + public static void cblas_dgemm(int Order, int TransA, int TransB, int M, int N, int K, double alpha, MemorySegment A, int lda, MemorySegment B, int ldb, double beta, MemorySegment C, int ldc) { + var mh$ = cblas_dgemm.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cblas_dgemm", Order, TransA, TransB, M, N, K, alpha, A, lda, B, ldb, beta, C, ldc); + } + mh$.invokeExact(Order, TransA, TransB, M, N, K, alpha, A, lda, B, ldb, beta, C, ldc); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cblas_dgemmt { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_DOUBLE, + cblas_h.C_POINTER, + cblas_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cblas_dgemmt"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void cblas_dgemmt(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, f77_int N, f77_int K, double alpha, const double *A, f77_int lda, const double *B, f77_int ldb, double beta, double *C, f77_int ldc) + * } + */ + public static FunctionDescriptor cblas_dgemmt$descriptor() { + return cblas_dgemmt.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void cblas_dgemmt(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, f77_int N, f77_int K, double alpha, const double *A, f77_int lda, const double *B, f77_int ldb, double beta, double *C, f77_int ldc) + * } + */ + public static MethodHandle cblas_dgemmt$handle() { + return cblas_dgemmt.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void cblas_dgemmt(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, f77_int N, f77_int K, double alpha, const double *A, f77_int lda, const double *B, f77_int ldb, double beta, double *C, f77_int ldc) + * } + */ + public static MemorySegment cblas_dgemmt$address() { + return cblas_dgemmt.ADDR; + } + + /** + * {@snippet lang=c : + * void cblas_dgemmt(enum CBLAS_ORDER Order, enum CBLAS_UPLO Uplo, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANSPOSE TransB, f77_int N, f77_int K, double alpha, const double *A, f77_int lda, const double *B, f77_int ldb, double beta, double *C, f77_int ldc) + * } + */ + public static void cblas_dgemmt(int Order, int Uplo, int TransA, int TransB, int N, int K, double alpha, MemorySegment A, int lda, MemorySegment B, int ldb, double beta, MemorySegment C, int ldc) { + var mh$ = cblas_dgemmt.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cblas_dgemmt", Order, Uplo, TransA, TransB, N, K, alpha, A, lda, B, ldb, beta, C, ldc); + } + mh$.invokeExact(Order, Uplo, TransA, TransB, N, K, alpha, A, lda, B, ldb, beta, C, ldc); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cblas_dgemm_batch { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + cblas_h.C_INT, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_POINTER, + cblas_h.C_INT, + cblas_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cblas_dgemm_batch"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void cblas_dgemm_batch(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE *TransA_array, enum CBLAS_TRANSPOSE *TransB_array, f77_int *M_array, f77_int *N_array, f77_int *K_array, const double *alpha_array, const double **A, f77_int *lda_array, const double **B, f77_int *ldb_array, const double *beta_array, double **C, f77_int *ldc_array, f77_int group_count, f77_int *group_size) + * } + */ + public static FunctionDescriptor cblas_dgemm_batch$descriptor() { + return cblas_dgemm_batch.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void cblas_dgemm_batch(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE *TransA_array, enum CBLAS_TRANSPOSE *TransB_array, f77_int *M_array, f77_int *N_array, f77_int *K_array, const double *alpha_array, const double **A, f77_int *lda_array, const double **B, f77_int *ldb_array, const double *beta_array, double **C, f77_int *ldc_array, f77_int group_count, f77_int *group_size) + * } + */ + public static MethodHandle cblas_dgemm_batch$handle() { + return cblas_dgemm_batch.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void cblas_dgemm_batch(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE *TransA_array, enum CBLAS_TRANSPOSE *TransB_array, f77_int *M_array, f77_int *N_array, f77_int *K_array, const double *alpha_array, const double **A, f77_int *lda_array, const double **B, f77_int *ldb_array, const double *beta_array, double **C, f77_int *ldc_array, f77_int group_count, f77_int *group_size) + * } + */ + public static MemorySegment cblas_dgemm_batch$address() { + return cblas_dgemm_batch.ADDR; + } + + /** + * {@snippet lang=c : + * void cblas_dgemm_batch(enum CBLAS_ORDER Order, enum CBLAS_TRANSPOSE *TransA_array, enum CBLAS_TRANSPOSE *TransB_array, f77_int *M_array, f77_int *N_array, f77_int *K_array, const double *alpha_array, const double **A, f77_int *lda_array, const double **B, f77_int *ldb_array, const double *beta_array, double **C, f77_int *ldc_array, f77_int group_count, f77_int *group_size) + * } + */ + public static void cblas_dgemm_batch(int Order, MemorySegment TransA_array, MemorySegment TransB_array, MemorySegment M_array, MemorySegment N_array, MemorySegment K_array, MemorySegment alpha_array, MemorySegment A, MemorySegment lda_array, MemorySegment B, MemorySegment ldb_array, MemorySegment beta_array, MemorySegment C, MemorySegment ldc_array, int group_count, MemorySegment group_size) { + var mh$ = cblas_dgemm_batch.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cblas_dgemm_batch", Order, TransA_array, TransB_array, M_array, N_array, K_array, alpha_array, A, lda_array, B, ldb_array, beta_array, C, ldc_array, group_count, group_size); + } + mh$.invokeExact(Order, TransA_array, TransB_array, M_array, N_array, K_array, alpha_array, A, lda_array, B, ldb_array, beta_array, C, ldc_array, group_count, group_size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/__darwin_pthread_attr_t.java b/generated/src/blis_typed/__darwin_pthread_attr_t.java new file mode 100644 index 00000000..62415e4f --- /dev/null +++ b/generated/src/blis_typed/__darwin_pthread_attr_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_attr_t { + * long __sig; + * char __opaque[56]; + * } __darwin_pthread_attr_t + * } + */ +public class __darwin_pthread_attr_t extends _opaque_pthread_attr_t { + + __darwin_pthread_attr_t() { + // Should not be called directly + } +} + diff --git a/generated/src/blis_typed/__darwin_pthread_cond_t.java b/generated/src/blis_typed/__darwin_pthread_cond_t.java new file mode 100644 index 00000000..087fcd4b --- /dev/null +++ b/generated/src/blis_typed/__darwin_pthread_cond_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_cond_t { + * long __sig; + * char __opaque[40]; + * } __darwin_pthread_cond_t + * } + */ +public class __darwin_pthread_cond_t extends _opaque_pthread_cond_t { + + __darwin_pthread_cond_t() { + // Should not be called directly + } +} + diff --git a/generated/src/blis_typed/__darwin_pthread_condattr_t.java b/generated/src/blis_typed/__darwin_pthread_condattr_t.java new file mode 100644 index 00000000..de22f976 --- /dev/null +++ b/generated/src/blis_typed/__darwin_pthread_condattr_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_condattr_t { + * long __sig; + * char __opaque[8]; + * } __darwin_pthread_condattr_t + * } + */ +public class __darwin_pthread_condattr_t extends _opaque_pthread_condattr_t { + + __darwin_pthread_condattr_t() { + // Should not be called directly + } +} + diff --git a/generated/src/blis_typed/__darwin_pthread_handler_rec.java b/generated/src/blis_typed/__darwin_pthread_handler_rec.java new file mode 100644 index 00000000..3b6e2f1f --- /dev/null +++ b/generated/src/blis_typed/__darwin_pthread_handler_rec.java @@ -0,0 +1,274 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec { + * void (*__routine)(void *); + * void *__arg; + * struct __darwin_pthread_handler_rec *__next; + * } + * } + */ +public class __darwin_pthread_handler_rec { + + __darwin_pthread_handler_rec() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_POINTER.withName("__routine"), + blis_h.C_POINTER.withName("__arg"), + blis_h.C_POINTER.withName("__next") + ).withName("__darwin_pthread_handler_rec"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + /** + * {@snippet lang=c : + * void (*__routine)(void *) + * } + */ + public final static class __routine { + + private __routine() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(__routine.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(__routine.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout __routine$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("__routine")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*__routine)(void *) + * } + */ + public static final AddressLayout __routine$layout() { + return __routine$LAYOUT; + } + + private static final long __routine$OFFSET = $LAYOUT.byteOffset(groupElement("__routine")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*__routine)(void *) + * } + */ + public static final long __routine$offset() { + return __routine$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*__routine)(void *) + * } + */ + public static MemorySegment __routine(MemorySegment struct) { + return struct.get(__routine$LAYOUT, __routine$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*__routine)(void *) + * } + */ + public static void __routine(MemorySegment struct, MemorySegment fieldValue) { + struct.set(__routine$LAYOUT, __routine$OFFSET, fieldValue); + } + + private static final AddressLayout __arg$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("__arg")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *__arg + * } + */ + public static final AddressLayout __arg$layout() { + return __arg$LAYOUT; + } + + private static final long __arg$OFFSET = $LAYOUT.byteOffset(groupElement("__arg")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *__arg + * } + */ + public static final long __arg$offset() { + return __arg$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *__arg + * } + */ + public static MemorySegment __arg(MemorySegment struct) { + return struct.get(__arg$LAYOUT, __arg$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *__arg + * } + */ + public static void __arg(MemorySegment struct, MemorySegment fieldValue) { + struct.set(__arg$LAYOUT, __arg$OFFSET, fieldValue); + } + + private static final AddressLayout __next$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("__next")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__next + * } + */ + public static final AddressLayout __next$layout() { + return __next$LAYOUT; + } + + private static final long __next$OFFSET = $LAYOUT.byteOffset(groupElement("__next")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__next + * } + */ + public static final long __next$offset() { + return __next$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__next + * } + */ + public static MemorySegment __next(MemorySegment struct) { + return struct.get(__next$LAYOUT, __next$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__next + * } + */ + public static void __next(MemorySegment struct, MemorySegment fieldValue) { + struct.set(__next$LAYOUT, __next$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/__darwin_pthread_mutex_t.java b/generated/src/blis_typed/__darwin_pthread_mutex_t.java new file mode 100644 index 00000000..5f2cd2ce --- /dev/null +++ b/generated/src/blis_typed/__darwin_pthread_mutex_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_mutex_t { + * long __sig; + * char __opaque[56]; + * } __darwin_pthread_mutex_t + * } + */ +public class __darwin_pthread_mutex_t extends _opaque_pthread_mutex_t { + + __darwin_pthread_mutex_t() { + // Should not be called directly + } +} + diff --git a/generated/src/blis_typed/__darwin_pthread_mutexattr_t.java b/generated/src/blis_typed/__darwin_pthread_mutexattr_t.java new file mode 100644 index 00000000..824975ce --- /dev/null +++ b/generated/src/blis_typed/__darwin_pthread_mutexattr_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_mutexattr_t { + * long __sig; + * char __opaque[8]; + * } __darwin_pthread_mutexattr_t + * } + */ +public class __darwin_pthread_mutexattr_t extends _opaque_pthread_mutexattr_t { + + __darwin_pthread_mutexattr_t() { + // Should not be called directly + } +} + diff --git a/generated/src/blis_typed/__darwin_pthread_once_t.java b/generated/src/blis_typed/__darwin_pthread_once_t.java new file mode 100644 index 00000000..5b678ac3 --- /dev/null +++ b/generated/src/blis_typed/__darwin_pthread_once_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_once_t { + * long __sig; + * char __opaque[8]; + * } __darwin_pthread_once_t + * } + */ +public class __darwin_pthread_once_t extends _opaque_pthread_once_t { + + __darwin_pthread_once_t() { + // Should not be called directly + } +} + diff --git a/generated/src/blis_typed/__darwin_pthread_rwlock_t.java b/generated/src/blis_typed/__darwin_pthread_rwlock_t.java new file mode 100644 index 00000000..2f0db5da --- /dev/null +++ b/generated/src/blis_typed/__darwin_pthread_rwlock_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_rwlock_t { + * long __sig; + * char __opaque[192]; + * } __darwin_pthread_rwlock_t + * } + */ +public class __darwin_pthread_rwlock_t extends _opaque_pthread_rwlock_t { + + __darwin_pthread_rwlock_t() { + // Should not be called directly + } +} + diff --git a/generated/src/blis_typed/__darwin_pthread_rwlockattr_t.java b/generated/src/blis_typed/__darwin_pthread_rwlockattr_t.java new file mode 100644 index 00000000..98a2b1f1 --- /dev/null +++ b/generated/src/blis_typed/__darwin_pthread_rwlockattr_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_rwlockattr_t { + * long __sig; + * char __opaque[16]; + * } __darwin_pthread_rwlockattr_t + * } + */ +public class __darwin_pthread_rwlockattr_t extends _opaque_pthread_rwlockattr_t { + + __darwin_pthread_rwlockattr_t() { + // Should not be called directly + } +} + diff --git a/generated/src/blis_typed/_opaque_pthread_attr_t.java b/generated/src/blis_typed/_opaque_pthread_attr_t.java new file mode 100644 index 00000000..c4bdb2b7 --- /dev/null +++ b/generated/src/blis_typed/_opaque_pthread_attr_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_attr_t { + * long __sig; + * char __opaque[56]; + * } + * } + */ +public class _opaque_pthread_attr_t { + + _opaque_pthread_attr_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(56, blis_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_attr_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 56 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/_opaque_pthread_cond_t.java b/generated/src/blis_typed/_opaque_pthread_cond_t.java new file mode 100644 index 00000000..4267aad9 --- /dev/null +++ b/generated/src/blis_typed/_opaque_pthread_cond_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_cond_t { + * long __sig; + * char __opaque[40]; + * } + * } + */ +public class _opaque_pthread_cond_t { + + _opaque_pthread_cond_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(40, blis_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_cond_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 40 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/_opaque_pthread_condattr_t.java b/generated/src/blis_typed/_opaque_pthread_condattr_t.java new file mode 100644 index 00000000..3e7550cd --- /dev/null +++ b/generated/src/blis_typed/_opaque_pthread_condattr_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_condattr_t { + * long __sig; + * char __opaque[8]; + * } + * } + */ +public class _opaque_pthread_condattr_t { + + _opaque_pthread_condattr_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(8, blis_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_condattr_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 8 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/_opaque_pthread_mutex_t.java b/generated/src/blis_typed/_opaque_pthread_mutex_t.java new file mode 100644 index 00000000..bc9c03e7 --- /dev/null +++ b/generated/src/blis_typed/_opaque_pthread_mutex_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_mutex_t { + * long __sig; + * char __opaque[56]; + * } + * } + */ +public class _opaque_pthread_mutex_t { + + _opaque_pthread_mutex_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(56, blis_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_mutex_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 56 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/_opaque_pthread_mutexattr_t.java b/generated/src/blis_typed/_opaque_pthread_mutexattr_t.java new file mode 100644 index 00000000..40858649 --- /dev/null +++ b/generated/src/blis_typed/_opaque_pthread_mutexattr_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_mutexattr_t { + * long __sig; + * char __opaque[8]; + * } + * } + */ +public class _opaque_pthread_mutexattr_t { + + _opaque_pthread_mutexattr_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(8, blis_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_mutexattr_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 8 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/_opaque_pthread_once_t.java b/generated/src/blis_typed/_opaque_pthread_once_t.java new file mode 100644 index 00000000..568f6631 --- /dev/null +++ b/generated/src/blis_typed/_opaque_pthread_once_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_once_t { + * long __sig; + * char __opaque[8]; + * } + * } + */ +public class _opaque_pthread_once_t { + + _opaque_pthread_once_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(8, blis_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_once_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 8 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/_opaque_pthread_rwlock_t.java b/generated/src/blis_typed/_opaque_pthread_rwlock_t.java new file mode 100644 index 00000000..8ded7a7e --- /dev/null +++ b/generated/src/blis_typed/_opaque_pthread_rwlock_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_rwlock_t { + * long __sig; + * char __opaque[192]; + * } + * } + */ +public class _opaque_pthread_rwlock_t { + + _opaque_pthread_rwlock_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(192, blis_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_rwlock_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 192 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/_opaque_pthread_rwlockattr_t.java b/generated/src/blis_typed/_opaque_pthread_rwlockattr_t.java new file mode 100644 index 00000000..5fba7133 --- /dev/null +++ b/generated/src/blis_typed/_opaque_pthread_rwlockattr_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_rwlockattr_t { + * long __sig; + * char __opaque[16]; + * } + * } + */ +public class _opaque_pthread_rwlockattr_t { + + _opaque_pthread_rwlockattr_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(16, blis_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_rwlockattr_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/_opaque_pthread_t.java b/generated/src/blis_typed/_opaque_pthread_t.java new file mode 100644 index 00000000..4d42d43a --- /dev/null +++ b/generated/src/blis_typed/_opaque_pthread_t.java @@ -0,0 +1,252 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_t { + * long __sig; + * struct __darwin_pthread_handler_rec *__cleanup_stack; + * char __opaque[8176]; + * } + * } + */ +public class _opaque_pthread_t { + + _opaque_pthread_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG.withName("__sig"), + blis_h.C_POINTER.withName("__cleanup_stack"), + MemoryLayout.sequenceLayout(8176, blis_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final AddressLayout __cleanup_stack$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("__cleanup_stack")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__cleanup_stack + * } + */ + public static final AddressLayout __cleanup_stack$layout() { + return __cleanup_stack$LAYOUT; + } + + private static final long __cleanup_stack$OFFSET = $LAYOUT.byteOffset(groupElement("__cleanup_stack")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__cleanup_stack + * } + */ + public static final long __cleanup_stack$offset() { + return __cleanup_stack$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__cleanup_stack + * } + */ + public static MemorySegment __cleanup_stack(MemorySegment struct) { + return struct.get(__cleanup_stack$LAYOUT, __cleanup_stack$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__cleanup_stack + * } + */ + public static void __cleanup_stack(MemorySegment struct, MemorySegment fieldValue) { + struct.set(__cleanup_stack$LAYOUT, __cleanup_stack$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 8176 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/absqsc_vft.java b/generated/src/blis_typed/absqsc_vft.java new file mode 100644 index 00000000..59b13f17 --- /dev/null +++ b/generated/src/blis_typed/absqsc_vft.java @@ -0,0 +1,70 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*absqsc_vft)(const void *, void *) + * } + */ +public final class absqsc_vft { + + private absqsc_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment chi, MemorySegment absq); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(absqsc_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(absqsc_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment chi, MemorySegment absq) { + try { + DOWN$MH.invokeExact(funcPtr, chi, absq); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/addd_ex_vft.java b/generated/src/blis_typed/addd_ex_vft.java new file mode 100644 index 00000000..b1bb85dd --- /dev/null +++ b/generated/src/blis_typed/addd_ex_vft.java @@ -0,0 +1,81 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*addd_ex_vft)(doff_t, diag_t, trans_t, dim_t, dim_t, const void *, inc_t, inc_t, void *, inc_t, inc_t, const cntx_t *, const rntm_t *) + * } + */ +public final class addd_ex_vft { + + private addd_ex_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long diagoffx, int diagx, int transx, long m, long n, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y, MemorySegment cntx, MemorySegment rntm); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(addd_ex_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(addd_ex_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long diagoffx, int diagx, int transx, long m, long n, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y, MemorySegment cntx, MemorySegment rntm) { + try { + DOWN$MH.invokeExact(funcPtr, diagoffx, diagx, transx, m, n, x, rs_x, cs_x, y, rs_y, cs_y, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/addd_vft.java b/generated/src/blis_typed/addd_vft.java new file mode 100644 index 00000000..7995a6a1 --- /dev/null +++ b/generated/src/blis_typed/addd_vft.java @@ -0,0 +1,79 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*addd_vft)(doff_t, diag_t, trans_t, dim_t, dim_t, const void *, inc_t, inc_t, void *, inc_t, inc_t) + * } + */ +public final class addd_vft { + + private addd_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long diagoffx, int diagx, int transx, long m, long n, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(addd_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(addd_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long diagoffx, int diagx, int transx, long m, long n, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y) { + try { + DOWN$MH.invokeExact(funcPtr, diagoffx, diagx, transx, m, n, x, rs_x, cs_x, y, rs_y, cs_y); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/addm_ex_vft.java b/generated/src/blis_typed/addm_ex_vft.java new file mode 100644 index 00000000..e6d69632 --- /dev/null +++ b/generated/src/blis_typed/addm_ex_vft.java @@ -0,0 +1,82 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*addm_ex_vft)(doff_t, diag_t, uplo_t, trans_t, dim_t, dim_t, const void *, inc_t, inc_t, void *, inc_t, inc_t, const cntx_t *, const rntm_t *) + * } + */ +public final class addm_ex_vft { + + private addm_ex_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long diagoffx, int diagx, int uplox, int transx, long m, long n, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y, MemorySegment cntx, MemorySegment rntm); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(addm_ex_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(addm_ex_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long diagoffx, int diagx, int uplox, int transx, long m, long n, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y, MemorySegment cntx, MemorySegment rntm) { + try { + DOWN$MH.invokeExact(funcPtr, diagoffx, diagx, uplox, transx, m, n, x, rs_x, cs_x, y, rs_y, cs_y, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/addm_vft.java b/generated/src/blis_typed/addm_vft.java new file mode 100644 index 00000000..858f1820 --- /dev/null +++ b/generated/src/blis_typed/addm_vft.java @@ -0,0 +1,80 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*addm_vft)(doff_t, diag_t, uplo_t, trans_t, dim_t, dim_t, const void *, inc_t, inc_t, void *, inc_t, inc_t) + * } + */ +public final class addm_vft { + + private addm_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long diagoffx, int diagx, int uplox, int transx, long m, long n, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(addm_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(addm_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long diagoffx, int diagx, int uplox, int transx, long m, long n, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y) { + try { + DOWN$MH.invokeExact(funcPtr, diagoffx, diagx, uplox, transx, m, n, x, rs_x, cs_x, y, rs_y, cs_y); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/addsc_vft.java b/generated/src/blis_typed/addsc_vft.java new file mode 100644 index 00000000..ed8c3e72 --- /dev/null +++ b/generated/src/blis_typed/addsc_vft.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*addsc_vft)(conj_t, const void *, void *) + * } + */ +public final class addsc_vft { + + private addsc_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjchi, MemorySegment chi, MemorySegment psi); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(addsc_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(addsc_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjchi, MemorySegment chi, MemorySegment psi) { + try { + DOWN$MH.invokeExact(funcPtr, conjchi, chi, psi); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/addv_ex_vft.java b/generated/src/blis_typed/addv_ex_vft.java new file mode 100644 index 00000000..bc3036a0 --- /dev/null +++ b/generated/src/blis_typed/addv_ex_vft.java @@ -0,0 +1,76 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*addv_ex_vft)(conj_t, dim_t, const void *, inc_t, void *, inc_t, const cntx_t *, const rntm_t *) + * } + */ +public final class addv_ex_vft { + + private addv_ex_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, long n, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx, MemorySegment rntm); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(addv_ex_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(addv_ex_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, long n, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx, MemorySegment rntm) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, n, x, incx, y, incy, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/addv_ker_ft.java b/generated/src/blis_typed/addv_ker_ft.java new file mode 100644 index 00000000..bb8306b4 --- /dev/null +++ b/generated/src/blis_typed/addv_ker_ft.java @@ -0,0 +1,75 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*addv_ker_ft)(conj_t, dim_t, const void *, inc_t, void *, inc_t, const cntx_t *) + * } + */ +public final class addv_ker_ft { + + private addv_ker_ft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, long n, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(addv_ker_ft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(addv_ker_ft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, long n, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, n, x, incx, y, incy, cntx); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/addv_vft.java b/generated/src/blis_typed/addv_vft.java new file mode 100644 index 00000000..d0f03b95 --- /dev/null +++ b/generated/src/blis_typed/addv_vft.java @@ -0,0 +1,74 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*addv_vft)(conj_t, dim_t, const void *, inc_t, void *, inc_t) + * } + */ +public final class addv_vft { + + private addv_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, long n, MemorySegment x, long incx, MemorySegment y, long incy); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(addv_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(addv_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, long n, MemorySegment x, long incx, MemorySegment y, long incy) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, n, x, incx, y, incy); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/amaxv_ex_vft.java b/generated/src/blis_typed/amaxv_ex_vft.java new file mode 100644 index 00000000..718e4a91 --- /dev/null +++ b/generated/src/blis_typed/amaxv_ex_vft.java @@ -0,0 +1,74 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*amaxv_ex_vft)(dim_t, const void *, inc_t, dim_t *, const cntx_t *, const rntm_t *) + * } + */ +public final class amaxv_ex_vft { + + private amaxv_ex_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long n, MemorySegment x, long incx, MemorySegment index, MemorySegment cntx, MemorySegment rntm); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(amaxv_ex_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(amaxv_ex_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long n, MemorySegment x, long incx, MemorySegment index, MemorySegment cntx, MemorySegment rntm) { + try { + DOWN$MH.invokeExact(funcPtr, n, x, incx, index, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/amaxv_ker_ft.java b/generated/src/blis_typed/amaxv_ker_ft.java new file mode 100644 index 00000000..ca3d4570 --- /dev/null +++ b/generated/src/blis_typed/amaxv_ker_ft.java @@ -0,0 +1,73 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*amaxv_ker_ft)(dim_t, const void *, inc_t, dim_t *, const cntx_t *) + * } + */ +public final class amaxv_ker_ft { + + private amaxv_ker_ft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long n, MemorySegment x, long incx, MemorySegment index, MemorySegment cntx); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(amaxv_ker_ft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(amaxv_ker_ft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long n, MemorySegment x, long incx, MemorySegment index, MemorySegment cntx) { + try { + DOWN$MH.invokeExact(funcPtr, n, x, incx, index, cntx); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/amaxv_vft.java b/generated/src/blis_typed/amaxv_vft.java new file mode 100644 index 00000000..59774f4a --- /dev/null +++ b/generated/src/blis_typed/amaxv_vft.java @@ -0,0 +1,72 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*amaxv_vft)(dim_t, const void *, inc_t, dim_t *) + * } + */ +public final class amaxv_vft { + + private amaxv_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long n, MemorySegment x, long incx, MemorySegment index); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(amaxv_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(amaxv_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long n, MemorySegment x, long incx, MemorySegment index) { + try { + DOWN$MH.invokeExact(funcPtr, n, x, incx, index); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/apool_t.java b/generated/src/blis_typed/apool_t.java new file mode 100644 index 00000000..bce972bb --- /dev/null +++ b/generated/src/blis_typed/apool_t.java @@ -0,0 +1,219 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * bli_pthread_mutex_t mutex; + * pool_t pool; + * siz_t def_array_len; + * } + * } + */ +public class apool_t { + + apool_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + _opaque_pthread_mutex_t.layout().withName("mutex"), + pool_t.layout().withName("pool"), + blis_h.C_LONG_LONG.withName("def_array_len") + ).withName("apool_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout mutex$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("mutex")); + + /** + * Layout for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static final GroupLayout mutex$layout() { + return mutex$LAYOUT; + } + + private static final long mutex$OFFSET = $LAYOUT.byteOffset(groupElement("mutex")); + + /** + * Offset for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static final long mutex$offset() { + return mutex$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static MemorySegment mutex(MemorySegment struct) { + return struct.asSlice(mutex$OFFSET, mutex$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static void mutex(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, mutex$OFFSET, mutex$LAYOUT.byteSize()); + } + + private static final GroupLayout pool$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("pool")); + + /** + * Layout for field: + * {@snippet lang=c : + * pool_t pool + * } + */ + public static final GroupLayout pool$layout() { + return pool$LAYOUT; + } + + private static final long pool$OFFSET = $LAYOUT.byteOffset(groupElement("pool")); + + /** + * Offset for field: + * {@snippet lang=c : + * pool_t pool + * } + */ + public static final long pool$offset() { + return pool$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * pool_t pool + * } + */ + public static MemorySegment pool(MemorySegment struct) { + return struct.asSlice(pool$OFFSET, pool$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * pool_t pool + * } + */ + public static void pool(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, pool$OFFSET, pool$LAYOUT.byteSize()); + } + + private static final OfLong def_array_len$LAYOUT = (OfLong)$LAYOUT.select(groupElement("def_array_len")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t def_array_len + * } + */ + public static final OfLong def_array_len$layout() { + return def_array_len$LAYOUT; + } + + private static final long def_array_len$OFFSET = $LAYOUT.byteOffset(groupElement("def_array_len")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t def_array_len + * } + */ + public static final long def_array_len$offset() { + return def_array_len$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t def_array_len + * } + */ + public static long def_array_len(MemorySegment struct) { + return struct.get(def_array_len$LAYOUT, def_array_len$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t def_array_len + * } + */ + public static void def_array_len(MemorySegment struct, long fieldValue) { + struct.set(def_array_len$LAYOUT, def_array_len$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/array_t.java b/generated/src/blis_typed/array_t.java new file mode 100644 index 00000000..c40a0900 --- /dev/null +++ b/generated/src/blis_typed/array_t.java @@ -0,0 +1,219 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * void *buf; + * siz_t num_elem; + * siz_t elem_size; + * } + * } + */ +public class array_t { + + array_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_POINTER.withName("buf"), + blis_h.C_LONG_LONG.withName("num_elem"), + blis_h.C_LONG_LONG.withName("elem_size") + ).withName("array_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout buf$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("buf")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *buf + * } + */ + public static final AddressLayout buf$layout() { + return buf$LAYOUT; + } + + private static final long buf$OFFSET = $LAYOUT.byteOffset(groupElement("buf")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *buf + * } + */ + public static final long buf$offset() { + return buf$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *buf + * } + */ + public static MemorySegment buf(MemorySegment struct) { + return struct.get(buf$LAYOUT, buf$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *buf + * } + */ + public static void buf(MemorySegment struct, MemorySegment fieldValue) { + struct.set(buf$LAYOUT, buf$OFFSET, fieldValue); + } + + private static final OfLong num_elem$LAYOUT = (OfLong)$LAYOUT.select(groupElement("num_elem")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t num_elem + * } + */ + public static final OfLong num_elem$layout() { + return num_elem$LAYOUT; + } + + private static final long num_elem$OFFSET = $LAYOUT.byteOffset(groupElement("num_elem")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t num_elem + * } + */ + public static final long num_elem$offset() { + return num_elem$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t num_elem + * } + */ + public static long num_elem(MemorySegment struct) { + return struct.get(num_elem$LAYOUT, num_elem$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t num_elem + * } + */ + public static void num_elem(MemorySegment struct, long fieldValue) { + struct.set(num_elem$LAYOUT, num_elem$OFFSET, fieldValue); + } + + private static final OfLong elem_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("elem_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static final OfLong elem_size$layout() { + return elem_size$LAYOUT; + } + + private static final long elem_size$OFFSET = $LAYOUT.byteOffset(groupElement("elem_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static final long elem_size$offset() { + return elem_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static long elem_size(MemorySegment struct) { + return struct.get(elem_size$LAYOUT, elem_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static void elem_size(MemorySegment struct, long fieldValue) { + struct.set(elem_size$LAYOUT, elem_size$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/asumv_ex_vft.java b/generated/src/blis_typed/asumv_ex_vft.java new file mode 100644 index 00000000..8077323a --- /dev/null +++ b/generated/src/blis_typed/asumv_ex_vft.java @@ -0,0 +1,74 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*asumv_ex_vft)(dim_t, const void *, inc_t, void *, const cntx_t *, const rntm_t *) + * } + */ +public final class asumv_ex_vft { + + private asumv_ex_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long n, MemorySegment x, long incx, MemorySegment asum, MemorySegment cntx, MemorySegment rntm); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(asumv_ex_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(asumv_ex_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long n, MemorySegment x, long incx, MemorySegment asum, MemorySegment cntx, MemorySegment rntm) { + try { + DOWN$MH.invokeExact(funcPtr, n, x, incx, asum, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/asumv_vft.java b/generated/src/blis_typed/asumv_vft.java new file mode 100644 index 00000000..15386ba2 --- /dev/null +++ b/generated/src/blis_typed/asumv_vft.java @@ -0,0 +1,72 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*asumv_vft)(dim_t, const void *, inc_t, void *) + * } + */ +public final class asumv_vft { + + private asumv_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long n, MemorySegment x, long incx, MemorySegment asum); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(asumv_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(asumv_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long n, MemorySegment x, long incx, MemorySegment asum) { + try { + DOWN$MH.invokeExact(funcPtr, n, x, incx, asum); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/auxinfo_t.java b/generated/src/blis_typed/auxinfo_t.java new file mode 100644 index 00000000..e0790b6b --- /dev/null +++ b/generated/src/blis_typed/auxinfo_t.java @@ -0,0 +1,633 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * pack_t schema_a; + * pack_t schema_b; + * const void *a_next; + * const void *b_next; + * inc_t is_a; + * inc_t is_b; + * inc_t ps_a; + * inc_t ps_b; + * dim_t off_m; + * dim_t off_n; + * void_fp ukr; + * const void *params; + * } + * } + */ +public class auxinfo_t { + + auxinfo_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_INT.withName("schema_a"), + blis_h.C_INT.withName("schema_b"), + blis_h.C_POINTER.withName("a_next"), + blis_h.C_POINTER.withName("b_next"), + blis_h.C_LONG_LONG.withName("is_a"), + blis_h.C_LONG_LONG.withName("is_b"), + blis_h.C_LONG_LONG.withName("ps_a"), + blis_h.C_LONG_LONG.withName("ps_b"), + blis_h.C_LONG_LONG.withName("off_m"), + blis_h.C_LONG_LONG.withName("off_n"), + blis_h.C_POINTER.withName("ukr"), + blis_h.C_POINTER.withName("params") + ).withName("auxinfo_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt schema_a$LAYOUT = (OfInt)$LAYOUT.select(groupElement("schema_a")); + + /** + * Layout for field: + * {@snippet lang=c : + * pack_t schema_a + * } + */ + public static final OfInt schema_a$layout() { + return schema_a$LAYOUT; + } + + private static final long schema_a$OFFSET = $LAYOUT.byteOffset(groupElement("schema_a")); + + /** + * Offset for field: + * {@snippet lang=c : + * pack_t schema_a + * } + */ + public static final long schema_a$offset() { + return schema_a$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * pack_t schema_a + * } + */ + public static int schema_a(MemorySegment struct) { + return struct.get(schema_a$LAYOUT, schema_a$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * pack_t schema_a + * } + */ + public static void schema_a(MemorySegment struct, int fieldValue) { + struct.set(schema_a$LAYOUT, schema_a$OFFSET, fieldValue); + } + + private static final OfInt schema_b$LAYOUT = (OfInt)$LAYOUT.select(groupElement("schema_b")); + + /** + * Layout for field: + * {@snippet lang=c : + * pack_t schema_b + * } + */ + public static final OfInt schema_b$layout() { + return schema_b$LAYOUT; + } + + private static final long schema_b$OFFSET = $LAYOUT.byteOffset(groupElement("schema_b")); + + /** + * Offset for field: + * {@snippet lang=c : + * pack_t schema_b + * } + */ + public static final long schema_b$offset() { + return schema_b$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * pack_t schema_b + * } + */ + public static int schema_b(MemorySegment struct) { + return struct.get(schema_b$LAYOUT, schema_b$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * pack_t schema_b + * } + */ + public static void schema_b(MemorySegment struct, int fieldValue) { + struct.set(schema_b$LAYOUT, schema_b$OFFSET, fieldValue); + } + + private static final AddressLayout a_next$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("a_next")); + + /** + * Layout for field: + * {@snippet lang=c : + * const void *a_next + * } + */ + public static final AddressLayout a_next$layout() { + return a_next$LAYOUT; + } + + private static final long a_next$OFFSET = $LAYOUT.byteOffset(groupElement("a_next")); + + /** + * Offset for field: + * {@snippet lang=c : + * const void *a_next + * } + */ + public static final long a_next$offset() { + return a_next$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * const void *a_next + * } + */ + public static MemorySegment a_next(MemorySegment struct) { + return struct.get(a_next$LAYOUT, a_next$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * const void *a_next + * } + */ + public static void a_next(MemorySegment struct, MemorySegment fieldValue) { + struct.set(a_next$LAYOUT, a_next$OFFSET, fieldValue); + } + + private static final AddressLayout b_next$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("b_next")); + + /** + * Layout for field: + * {@snippet lang=c : + * const void *b_next + * } + */ + public static final AddressLayout b_next$layout() { + return b_next$LAYOUT; + } + + private static final long b_next$OFFSET = $LAYOUT.byteOffset(groupElement("b_next")); + + /** + * Offset for field: + * {@snippet lang=c : + * const void *b_next + * } + */ + public static final long b_next$offset() { + return b_next$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * const void *b_next + * } + */ + public static MemorySegment b_next(MemorySegment struct) { + return struct.get(b_next$LAYOUT, b_next$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * const void *b_next + * } + */ + public static void b_next(MemorySegment struct, MemorySegment fieldValue) { + struct.set(b_next$LAYOUT, b_next$OFFSET, fieldValue); + } + + private static final OfLong is_a$LAYOUT = (OfLong)$LAYOUT.select(groupElement("is_a")); + + /** + * Layout for field: + * {@snippet lang=c : + * inc_t is_a + * } + */ + public static final OfLong is_a$layout() { + return is_a$LAYOUT; + } + + private static final long is_a$OFFSET = $LAYOUT.byteOffset(groupElement("is_a")); + + /** + * Offset for field: + * {@snippet lang=c : + * inc_t is_a + * } + */ + public static final long is_a$offset() { + return is_a$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * inc_t is_a + * } + */ + public static long is_a(MemorySegment struct) { + return struct.get(is_a$LAYOUT, is_a$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * inc_t is_a + * } + */ + public static void is_a(MemorySegment struct, long fieldValue) { + struct.set(is_a$LAYOUT, is_a$OFFSET, fieldValue); + } + + private static final OfLong is_b$LAYOUT = (OfLong)$LAYOUT.select(groupElement("is_b")); + + /** + * Layout for field: + * {@snippet lang=c : + * inc_t is_b + * } + */ + public static final OfLong is_b$layout() { + return is_b$LAYOUT; + } + + private static final long is_b$OFFSET = $LAYOUT.byteOffset(groupElement("is_b")); + + /** + * Offset for field: + * {@snippet lang=c : + * inc_t is_b + * } + */ + public static final long is_b$offset() { + return is_b$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * inc_t is_b + * } + */ + public static long is_b(MemorySegment struct) { + return struct.get(is_b$LAYOUT, is_b$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * inc_t is_b + * } + */ + public static void is_b(MemorySegment struct, long fieldValue) { + struct.set(is_b$LAYOUT, is_b$OFFSET, fieldValue); + } + + private static final OfLong ps_a$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ps_a")); + + /** + * Layout for field: + * {@snippet lang=c : + * inc_t ps_a + * } + */ + public static final OfLong ps_a$layout() { + return ps_a$LAYOUT; + } + + private static final long ps_a$OFFSET = $LAYOUT.byteOffset(groupElement("ps_a")); + + /** + * Offset for field: + * {@snippet lang=c : + * inc_t ps_a + * } + */ + public static final long ps_a$offset() { + return ps_a$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * inc_t ps_a + * } + */ + public static long ps_a(MemorySegment struct) { + return struct.get(ps_a$LAYOUT, ps_a$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * inc_t ps_a + * } + */ + public static void ps_a(MemorySegment struct, long fieldValue) { + struct.set(ps_a$LAYOUT, ps_a$OFFSET, fieldValue); + } + + private static final OfLong ps_b$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ps_b")); + + /** + * Layout for field: + * {@snippet lang=c : + * inc_t ps_b + * } + */ + public static final OfLong ps_b$layout() { + return ps_b$LAYOUT; + } + + private static final long ps_b$OFFSET = $LAYOUT.byteOffset(groupElement("ps_b")); + + /** + * Offset for field: + * {@snippet lang=c : + * inc_t ps_b + * } + */ + public static final long ps_b$offset() { + return ps_b$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * inc_t ps_b + * } + */ + public static long ps_b(MemorySegment struct) { + return struct.get(ps_b$LAYOUT, ps_b$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * inc_t ps_b + * } + */ + public static void ps_b(MemorySegment struct, long fieldValue) { + struct.set(ps_b$LAYOUT, ps_b$OFFSET, fieldValue); + } + + private static final OfLong off_m$LAYOUT = (OfLong)$LAYOUT.select(groupElement("off_m")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t off_m + * } + */ + public static final OfLong off_m$layout() { + return off_m$LAYOUT; + } + + private static final long off_m$OFFSET = $LAYOUT.byteOffset(groupElement("off_m")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t off_m + * } + */ + public static final long off_m$offset() { + return off_m$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t off_m + * } + */ + public static long off_m(MemorySegment struct) { + return struct.get(off_m$LAYOUT, off_m$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t off_m + * } + */ + public static void off_m(MemorySegment struct, long fieldValue) { + struct.set(off_m$LAYOUT, off_m$OFFSET, fieldValue); + } + + private static final OfLong off_n$LAYOUT = (OfLong)$LAYOUT.select(groupElement("off_n")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t off_n + * } + */ + public static final OfLong off_n$layout() { + return off_n$LAYOUT; + } + + private static final long off_n$OFFSET = $LAYOUT.byteOffset(groupElement("off_n")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t off_n + * } + */ + public static final long off_n$offset() { + return off_n$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t off_n + * } + */ + public static long off_n(MemorySegment struct) { + return struct.get(off_n$LAYOUT, off_n$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t off_n + * } + */ + public static void off_n(MemorySegment struct, long fieldValue) { + struct.set(off_n$LAYOUT, off_n$OFFSET, fieldValue); + } + + private static final AddressLayout ukr$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ukr")); + + /** + * Layout for field: + * {@snippet lang=c : + * void_fp ukr + * } + */ + public static final AddressLayout ukr$layout() { + return ukr$LAYOUT; + } + + private static final long ukr$OFFSET = $LAYOUT.byteOffset(groupElement("ukr")); + + /** + * Offset for field: + * {@snippet lang=c : + * void_fp ukr + * } + */ + public static final long ukr$offset() { + return ukr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void_fp ukr + * } + */ + public static MemorySegment ukr(MemorySegment struct) { + return struct.get(ukr$LAYOUT, ukr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void_fp ukr + * } + */ + public static void ukr(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ukr$LAYOUT, ukr$OFFSET, fieldValue); + } + + private static final AddressLayout params$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("params")); + + /** + * Layout for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static final AddressLayout params$layout() { + return params$LAYOUT; + } + + private static final long params$OFFSET = $LAYOUT.byteOffset(groupElement("params")); + + /** + * Offset for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static final long params$offset() { + return params$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static MemorySegment params(MemorySegment struct) { + return struct.get(params$LAYOUT, params$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static void params(MemorySegment struct, MemorySegment fieldValue) { + struct.set(params$LAYOUT, params$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/axpbyv_ex_vft.java b/generated/src/blis_typed/axpbyv_ex_vft.java new file mode 100644 index 00000000..0de57725 --- /dev/null +++ b/generated/src/blis_typed/axpbyv_ex_vft.java @@ -0,0 +1,78 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpbyv_ex_vft)(conj_t, dim_t, const void *, const void *, inc_t, const void *, void *, inc_t, const cntx_t *, const rntm_t *) + * } + */ +public final class axpbyv_ex_vft { + + private axpbyv_ex_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment beta, MemorySegment y, long incy, MemorySegment cntx, MemorySegment rntm); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpbyv_ex_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpbyv_ex_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment beta, MemorySegment y, long incy, MemorySegment cntx, MemorySegment rntm) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, n, alpha, x, incx, beta, y, incy, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpbyv_ker_ft.java b/generated/src/blis_typed/axpbyv_ker_ft.java new file mode 100644 index 00000000..0705b969 --- /dev/null +++ b/generated/src/blis_typed/axpbyv_ker_ft.java @@ -0,0 +1,77 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpbyv_ker_ft)(conj_t, dim_t, const void *, const void *, inc_t, const void *, void *, inc_t, const cntx_t *) + * } + */ +public final class axpbyv_ker_ft { + + private axpbyv_ker_ft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment beta, MemorySegment y, long incy, MemorySegment cntx); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpbyv_ker_ft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpbyv_ker_ft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment beta, MemorySegment y, long incy, MemorySegment cntx) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, n, alpha, x, incx, beta, y, incy, cntx); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpbyv_vft.java b/generated/src/blis_typed/axpbyv_vft.java new file mode 100644 index 00000000..ebee46cb --- /dev/null +++ b/generated/src/blis_typed/axpbyv_vft.java @@ -0,0 +1,76 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpbyv_vft)(conj_t, dim_t, const void *, const void *, inc_t, const void *, void *, inc_t) + * } + */ +public final class axpbyv_vft { + + private axpbyv_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment beta, MemorySegment y, long incy); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpbyv_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpbyv_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment beta, MemorySegment y, long incy) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, n, alpha, x, incx, beta, y, incy); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpy2v_ex_vft.java b/generated/src/blis_typed/axpy2v_ex_vft.java new file mode 100644 index 00000000..b5865873 --- /dev/null +++ b/generated/src/blis_typed/axpy2v_ex_vft.java @@ -0,0 +1,81 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpy2v_ex_vft)(conj_t, conj_t, dim_t, const void *, const void *, const void *, inc_t, const void *, inc_t, void *, inc_t, const cntx_t *, const rntm_t *) + * } + */ +public final class axpy2v_ex_vft { + + private axpy2v_ex_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, int conjy, long n, MemorySegment alpha1, MemorySegment alpha2, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment z, long incz, MemorySegment cntx, MemorySegment rntm); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpy2v_ex_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpy2v_ex_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, int conjy, long n, MemorySegment alpha1, MemorySegment alpha2, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment z, long incz, MemorySegment cntx, MemorySegment rntm) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, conjy, n, alpha1, alpha2, x, incx, y, incy, z, incz, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpy2v_ker_ft.java b/generated/src/blis_typed/axpy2v_ker_ft.java new file mode 100644 index 00000000..419cf8e8 --- /dev/null +++ b/generated/src/blis_typed/axpy2v_ker_ft.java @@ -0,0 +1,80 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpy2v_ker_ft)(conj_t, conj_t, dim_t, const void *, const void *, const void *, inc_t, const void *, inc_t, void *, inc_t, const cntx_t *) + * } + */ +public final class axpy2v_ker_ft { + + private axpy2v_ker_ft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, int conjy, long n, MemorySegment alphax, MemorySegment alphay, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment z, long incz, MemorySegment cntx); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpy2v_ker_ft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpy2v_ker_ft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, int conjy, long n, MemorySegment alphax, MemorySegment alphay, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment z, long incz, MemorySegment cntx) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, conjy, n, alphax, alphay, x, incx, y, incy, z, incz, cntx); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpy2v_vft.java b/generated/src/blis_typed/axpy2v_vft.java new file mode 100644 index 00000000..9b1c0c7b --- /dev/null +++ b/generated/src/blis_typed/axpy2v_vft.java @@ -0,0 +1,79 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpy2v_vft)(conj_t, conj_t, dim_t, const void *, const void *, const void *, inc_t, const void *, inc_t, void *, inc_t) + * } + */ +public final class axpy2v_vft { + + private axpy2v_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, int conjy, long n, MemorySegment alpha1, MemorySegment alpha2, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment z, long incz); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpy2v_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpy2v_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, int conjy, long n, MemorySegment alpha1, MemorySegment alpha2, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment z, long incz) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, conjy, n, alpha1, alpha2, x, incx, y, incy, z, incz); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpyd_ex_vft.java b/generated/src/blis_typed/axpyd_ex_vft.java new file mode 100644 index 00000000..463ade29 --- /dev/null +++ b/generated/src/blis_typed/axpyd_ex_vft.java @@ -0,0 +1,82 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpyd_ex_vft)(doff_t, diag_t, trans_t, dim_t, dim_t, const void *, const void *, inc_t, inc_t, void *, inc_t, inc_t, const cntx_t *, const rntm_t *) + * } + */ +public final class axpyd_ex_vft { + + private axpyd_ex_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long diagoffx, int diagx, int transx, long m, long n, MemorySegment alpha, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y, MemorySegment cntx, MemorySegment rntm); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpyd_ex_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpyd_ex_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long diagoffx, int diagx, int transx, long m, long n, MemorySegment alpha, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y, MemorySegment cntx, MemorySegment rntm) { + try { + DOWN$MH.invokeExact(funcPtr, diagoffx, diagx, transx, m, n, alpha, x, rs_x, cs_x, y, rs_y, cs_y, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpyd_vft.java b/generated/src/blis_typed/axpyd_vft.java new file mode 100644 index 00000000..bf512593 --- /dev/null +++ b/generated/src/blis_typed/axpyd_vft.java @@ -0,0 +1,80 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpyd_vft)(doff_t, diag_t, trans_t, dim_t, dim_t, const void *, const void *, inc_t, inc_t, void *, inc_t, inc_t) + * } + */ +public final class axpyd_vft { + + private axpyd_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long diagoffx, int diagx, int transx, long m, long n, MemorySegment alpha, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpyd_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpyd_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long diagoffx, int diagx, int transx, long m, long n, MemorySegment alpha, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y) { + try { + DOWN$MH.invokeExact(funcPtr, diagoffx, diagx, transx, m, n, alpha, x, rs_x, cs_x, y, rs_y, cs_y); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpyf_ex_vft.java b/generated/src/blis_typed/axpyf_ex_vft.java new file mode 100644 index 00000000..97986536 --- /dev/null +++ b/generated/src/blis_typed/axpyf_ex_vft.java @@ -0,0 +1,82 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpyf_ex_vft)(conj_t, conj_t, dim_t, dim_t, const void *, const void *, inc_t, inc_t, const void *, inc_t, void *, inc_t, const cntx_t *, const rntm_t *) + * } + */ +public final class axpyf_ex_vft { + + private axpyf_ex_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conja, int conjx, long m, long b_n, MemorySegment alpha, MemorySegment a, long inca, long lda, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx, MemorySegment rntm); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpyf_ex_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpyf_ex_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conja, int conjx, long m, long b_n, MemorySegment alpha, MemorySegment a, long inca, long lda, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx, MemorySegment rntm) { + try { + DOWN$MH.invokeExact(funcPtr, conja, conjx, m, b_n, alpha, a, inca, lda, x, incx, y, incy, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpyf_ker_ft.java b/generated/src/blis_typed/axpyf_ker_ft.java new file mode 100644 index 00000000..ac01a69e --- /dev/null +++ b/generated/src/blis_typed/axpyf_ker_ft.java @@ -0,0 +1,81 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpyf_ker_ft)(conj_t, conj_t, dim_t, dim_t, const void *, const void *, inc_t, inc_t, const void *, inc_t, void *, inc_t, const cntx_t *) + * } + */ +public final class axpyf_ker_ft { + + private axpyf_ker_ft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conja, int conjx, long m, long b_n, MemorySegment alpha, MemorySegment a, long inca, long lda, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpyf_ker_ft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpyf_ker_ft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conja, int conjx, long m, long b_n, MemorySegment alpha, MemorySegment a, long inca, long lda, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx) { + try { + DOWN$MH.invokeExact(funcPtr, conja, conjx, m, b_n, alpha, a, inca, lda, x, incx, y, incy, cntx); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpyf_vft.java b/generated/src/blis_typed/axpyf_vft.java new file mode 100644 index 00000000..cb6ff4eb --- /dev/null +++ b/generated/src/blis_typed/axpyf_vft.java @@ -0,0 +1,80 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpyf_vft)(conj_t, conj_t, dim_t, dim_t, const void *, const void *, inc_t, inc_t, const void *, inc_t, void *, inc_t) + * } + */ +public final class axpyf_vft { + + private axpyf_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conja, int conjx, long m, long b_n, MemorySegment alpha, MemorySegment a, long inca, long lda, MemorySegment x, long incx, MemorySegment y, long incy); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpyf_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpyf_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conja, int conjx, long m, long b_n, MemorySegment alpha, MemorySegment a, long inca, long lda, MemorySegment x, long incx, MemorySegment y, long incy) { + try { + DOWN$MH.invokeExact(funcPtr, conja, conjx, m, b_n, alpha, a, inca, lda, x, incx, y, incy); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpym_ex_vft.java b/generated/src/blis_typed/axpym_ex_vft.java new file mode 100644 index 00000000..5b83d543 --- /dev/null +++ b/generated/src/blis_typed/axpym_ex_vft.java @@ -0,0 +1,83 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpym_ex_vft)(doff_t, diag_t, uplo_t, trans_t, dim_t, dim_t, const void *, const void *, inc_t, inc_t, void *, inc_t, inc_t, const cntx_t *, const rntm_t *) + * } + */ +public final class axpym_ex_vft { + + private axpym_ex_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long diagoffx, int diagx, int uplox, int transx, long m, long n, MemorySegment alpha, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y, MemorySegment cntx, MemorySegment rntm); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpym_ex_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpym_ex_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long diagoffx, int diagx, int uplox, int transx, long m, long n, MemorySegment alpha, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y, MemorySegment cntx, MemorySegment rntm) { + try { + DOWN$MH.invokeExact(funcPtr, diagoffx, diagx, uplox, transx, m, n, alpha, x, rs_x, cs_x, y, rs_y, cs_y, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpym_vft.java b/generated/src/blis_typed/axpym_vft.java new file mode 100644 index 00000000..d309da44 --- /dev/null +++ b/generated/src/blis_typed/axpym_vft.java @@ -0,0 +1,81 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpym_vft)(doff_t, diag_t, uplo_t, trans_t, dim_t, dim_t, const void *, const void *, inc_t, inc_t, void *, inc_t, inc_t) + * } + */ +public final class axpym_vft { + + private axpym_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long diagoffx, int diagx, int uplox, int transx, long m, long n, MemorySegment alpha, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpym_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpym_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long diagoffx, int diagx, int uplox, int transx, long m, long n, MemorySegment alpha, MemorySegment x, long rs_x, long cs_x, MemorySegment y, long rs_y, long cs_y) { + try { + DOWN$MH.invokeExact(funcPtr, diagoffx, diagx, uplox, transx, m, n, alpha, x, rs_x, cs_x, y, rs_y, cs_y); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpyv_ex_vft.java b/generated/src/blis_typed/axpyv_ex_vft.java new file mode 100644 index 00000000..624ec706 --- /dev/null +++ b/generated/src/blis_typed/axpyv_ex_vft.java @@ -0,0 +1,77 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpyv_ex_vft)(conj_t, dim_t, const void *, const void *, inc_t, void *, inc_t, const cntx_t *, const rntm_t *) + * } + */ +public final class axpyv_ex_vft { + + private axpyv_ex_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx, MemorySegment rntm); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpyv_ex_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpyv_ex_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx, MemorySegment rntm) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, n, alpha, x, incx, y, incy, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpyv_ker_ft.java b/generated/src/blis_typed/axpyv_ker_ft.java new file mode 100644 index 00000000..7b251468 --- /dev/null +++ b/generated/src/blis_typed/axpyv_ker_ft.java @@ -0,0 +1,76 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpyv_ker_ft)(conj_t, dim_t, const void *, const void *, inc_t, void *, inc_t, const cntx_t *) + * } + */ +public final class axpyv_ker_ft { + + private axpyv_ker_ft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpyv_ker_ft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpyv_ker_ft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment y, long incy, MemorySegment cntx) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, n, alpha, x, incx, y, incy, cntx); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/axpyv_vft.java b/generated/src/blis_typed/axpyv_vft.java new file mode 100644 index 00000000..60ddf0a2 --- /dev/null +++ b/generated/src/blis_typed/axpyv_vft.java @@ -0,0 +1,75 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*axpyv_vft)(conj_t, dim_t, const void *, const void *, inc_t, void *, inc_t) + * } + */ +public final class axpyv_vft { + + private axpyv_vft() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment y, long incy); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(axpyv_vft.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(axpyv_vft.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int conjx, long n, MemorySegment alpha, MemorySegment x, long incx, MemorySegment y, long incy) { + try { + DOWN$MH.invokeExact(funcPtr, conjx, n, alpha, x, incx, y, incy); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/bli_addv_ex_qfp$return.java b/generated/src/blis_typed/bli_addv_ex_qfp$return.java new file mode 100644 index 00000000..5f550842 --- /dev/null +++ b/generated/src/blis_typed/bli_addv_ex_qfp$return.java @@ -0,0 +1,76 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * addv_ex_vft bli_addv_ex_qfp(num_t dt) + * } + */ +public final class bli_addv_ex_qfp$return { + + private bli_addv_ex_qfp$return() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int _x0, long _x1, MemorySegment _x2, long _x3, MemorySegment _x4, long _x5, MemorySegment _x6, MemorySegment _x7); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(bli_addv_ex_qfp$return.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(bli_addv_ex_qfp$return.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int _x0, long _x1, MemorySegment _x2, long _x3, MemorySegment _x4, long _x5, MemorySegment _x6, MemorySegment _x7) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5, _x6, _x7); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/bli_axpbyv_ex_qfp$return.java b/generated/src/blis_typed/bli_axpbyv_ex_qfp$return.java new file mode 100644 index 00000000..c3110cd5 --- /dev/null +++ b/generated/src/blis_typed/bli_axpbyv_ex_qfp$return.java @@ -0,0 +1,78 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * axpbyv_ex_vft bli_axpbyv_ex_qfp(num_t dt) + * } + */ +public final class bli_axpbyv_ex_qfp$return { + + private bli_axpbyv_ex_qfp$return() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int _x0, long _x1, MemorySegment _x2, MemorySegment _x3, long _x4, MemorySegment _x5, MemorySegment _x6, long _x7, MemorySegment _x8, MemorySegment _x9); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(bli_axpbyv_ex_qfp$return.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(bli_axpbyv_ex_qfp$return.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int _x0, long _x1, MemorySegment _x2, MemorySegment _x3, long _x4, MemorySegment _x5, MemorySegment _x6, long _x7, MemorySegment _x8, MemorySegment _x9) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5, _x6, _x7, _x8, _x9); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/bli_axpy2v_ex_qfp$return.java b/generated/src/blis_typed/bli_axpy2v_ex_qfp$return.java new file mode 100644 index 00000000..adce3a17 --- /dev/null +++ b/generated/src/blis_typed/bli_axpy2v_ex_qfp$return.java @@ -0,0 +1,81 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * axpy2v_ex_vft bli_axpy2v_ex_qfp(num_t dt) + * } + */ +public final class bli_axpy2v_ex_qfp$return { + + private bli_axpy2v_ex_qfp$return() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int _x0, int _x1, long _x2, MemorySegment _x3, MemorySegment _x4, MemorySegment _x5, long _x6, MemorySegment _x7, long _x8, MemorySegment _x9, long _x10, MemorySegment _x11, MemorySegment _x12); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(bli_axpy2v_ex_qfp$return.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(bli_axpy2v_ex_qfp$return.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int _x0, int _x1, long _x2, MemorySegment _x3, MemorySegment _x4, MemorySegment _x5, long _x6, MemorySegment _x7, long _x8, MemorySegment _x9, long _x10, MemorySegment _x11, MemorySegment _x12) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5, _x6, _x7, _x8, _x9, _x10, _x11, _x12); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/bli_axpyd_ex_qfp$return.java b/generated/src/blis_typed/bli_axpyd_ex_qfp$return.java new file mode 100644 index 00000000..60d3da66 --- /dev/null +++ b/generated/src/blis_typed/bli_axpyd_ex_qfp$return.java @@ -0,0 +1,82 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * axpyd_ex_vft bli_axpyd_ex_qfp(num_t dt) + * } + */ +public final class bli_axpyd_ex_qfp$return { + + private bli_axpyd_ex_qfp$return() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long _x0, int _x1, int _x2, long _x3, long _x4, MemorySegment _x5, MemorySegment _x6, long _x7, long _x8, MemorySegment _x9, long _x10, long _x11, MemorySegment _x12, MemorySegment _x13); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(bli_axpyd_ex_qfp$return.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(bli_axpyd_ex_qfp$return.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long _x0, int _x1, int _x2, long _x3, long _x4, MemorySegment _x5, MemorySegment _x6, long _x7, long _x8, MemorySegment _x9, long _x10, long _x11, MemorySegment _x12, MemorySegment _x13) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5, _x6, _x7, _x8, _x9, _x10, _x11, _x12, _x13); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/bli_axpyf_ex_qfp$return.java b/generated/src/blis_typed/bli_axpyf_ex_qfp$return.java new file mode 100644 index 00000000..668edb04 --- /dev/null +++ b/generated/src/blis_typed/bli_axpyf_ex_qfp$return.java @@ -0,0 +1,82 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * axpyf_ex_vft bli_axpyf_ex_qfp(num_t dt) + * } + */ +public final class bli_axpyf_ex_qfp$return { + + private bli_axpyf_ex_qfp$return() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int _x0, int _x1, long _x2, long _x3, MemorySegment _x4, MemorySegment _x5, long _x6, long _x7, MemorySegment _x8, long _x9, MemorySegment _x10, long _x11, MemorySegment _x12, MemorySegment _x13); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(bli_axpyf_ex_qfp$return.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(bli_axpyf_ex_qfp$return.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int _x0, int _x1, long _x2, long _x3, MemorySegment _x4, MemorySegment _x5, long _x6, long _x7, MemorySegment _x8, long _x9, MemorySegment _x10, long _x11, MemorySegment _x12, MemorySegment _x13) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5, _x6, _x7, _x8, _x9, _x10, _x11, _x12, _x13); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/bli_axpym_ex_qfp$return.java b/generated/src/blis_typed/bli_axpym_ex_qfp$return.java new file mode 100644 index 00000000..7ba1f77b --- /dev/null +++ b/generated/src/blis_typed/bli_axpym_ex_qfp$return.java @@ -0,0 +1,83 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * axpym_ex_vft bli_axpym_ex_qfp(num_t dt) + * } + */ +public final class bli_axpym_ex_qfp$return { + + private bli_axpym_ex_qfp$return() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long _x0, int _x1, int _x2, int _x3, long _x4, long _x5, MemorySegment _x6, MemorySegment _x7, long _x8, long _x9, MemorySegment _x10, long _x11, long _x12, MemorySegment _x13, MemorySegment _x14); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(bli_axpym_ex_qfp$return.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(bli_axpym_ex_qfp$return.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long _x0, int _x1, int _x2, int _x3, long _x4, long _x5, MemorySegment _x6, MemorySegment _x7, long _x8, long _x9, MemorySegment _x10, long _x11, long _x12, MemorySegment _x13, MemorySegment _x14) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5, _x6, _x7, _x8, _x9, _x10, _x11, _x12, _x13, _x14); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/blis_typed/bli_prime_factors_t.java b/generated/src/blis_typed/bli_prime_factors_t.java new file mode 100644 index 00000000..c69db656 --- /dev/null +++ b/generated/src/blis_typed/bli_prime_factors_t.java @@ -0,0 +1,219 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * dim_t n; + * dim_t sqrt_n; + * dim_t f; + * } + * } + */ +public class bli_prime_factors_t { + + bli_prime_factors_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG_LONG.withName("n"), + blis_h.C_LONG_LONG.withName("sqrt_n"), + blis_h.C_LONG_LONG.withName("f") + ).withName("bli_prime_factors_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong n$LAYOUT = (OfLong)$LAYOUT.select(groupElement("n")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t n + * } + */ + public static final OfLong n$layout() { + return n$LAYOUT; + } + + private static final long n$OFFSET = $LAYOUT.byteOffset(groupElement("n")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t n + * } + */ + public static final long n$offset() { + return n$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t n + * } + */ + public static long n(MemorySegment struct) { + return struct.get(n$LAYOUT, n$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t n + * } + */ + public static void n(MemorySegment struct, long fieldValue) { + struct.set(n$LAYOUT, n$OFFSET, fieldValue); + } + + private static final OfLong sqrt_n$LAYOUT = (OfLong)$LAYOUT.select(groupElement("sqrt_n")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t sqrt_n + * } + */ + public static final OfLong sqrt_n$layout() { + return sqrt_n$LAYOUT; + } + + private static final long sqrt_n$OFFSET = $LAYOUT.byteOffset(groupElement("sqrt_n")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t sqrt_n + * } + */ + public static final long sqrt_n$offset() { + return sqrt_n$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t sqrt_n + * } + */ + public static long sqrt_n(MemorySegment struct) { + return struct.get(sqrt_n$LAYOUT, sqrt_n$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t sqrt_n + * } + */ + public static void sqrt_n(MemorySegment struct, long fieldValue) { + struct.set(sqrt_n$LAYOUT, sqrt_n$OFFSET, fieldValue); + } + + private static final OfLong f$LAYOUT = (OfLong)$LAYOUT.select(groupElement("f")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t f + * } + */ + public static final OfLong f$layout() { + return f$LAYOUT; + } + + private static final long f$OFFSET = $LAYOUT.byteOffset(groupElement("f")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t f + * } + */ + public static final long f$offset() { + return f$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t f + * } + */ + public static long f(MemorySegment struct) { + return struct.get(f$LAYOUT, f$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t f + * } + */ + public static void f(MemorySegment struct, long fieldValue) { + struct.set(f$LAYOUT, f$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/bli_pthread_barrier_t.java b/generated/src/blis_typed/bli_pthread_barrier_t.java new file mode 100644 index 00000000..3f8f6cf9 --- /dev/null +++ b/generated/src/blis_typed/bli_pthread_barrier_t.java @@ -0,0 +1,265 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * bli_pthread_mutex_t mutex; + * bli_pthread_cond_t cond; + * int count; + * int tripCount; + * } + * } + */ +public class bli_pthread_barrier_t { + + bli_pthread_barrier_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + _opaque_pthread_mutex_t.layout().withName("mutex"), + _opaque_pthread_cond_t.layout().withName("cond"), + blis_h.C_INT.withName("count"), + blis_h.C_INT.withName("tripCount") + ).withName("bli_pthread_barrier_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout mutex$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("mutex")); + + /** + * Layout for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static final GroupLayout mutex$layout() { + return mutex$LAYOUT; + } + + private static final long mutex$OFFSET = $LAYOUT.byteOffset(groupElement("mutex")); + + /** + * Offset for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static final long mutex$offset() { + return mutex$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static MemorySegment mutex(MemorySegment struct) { + return struct.asSlice(mutex$OFFSET, mutex$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static void mutex(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, mutex$OFFSET, mutex$LAYOUT.byteSize()); + } + + private static final GroupLayout cond$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("cond")); + + /** + * Layout for field: + * {@snippet lang=c : + * bli_pthread_cond_t cond + * } + */ + public static final GroupLayout cond$layout() { + return cond$LAYOUT; + } + + private static final long cond$OFFSET = $LAYOUT.byteOffset(groupElement("cond")); + + /** + * Offset for field: + * {@snippet lang=c : + * bli_pthread_cond_t cond + * } + */ + public static final long cond$offset() { + return cond$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bli_pthread_cond_t cond + * } + */ + public static MemorySegment cond(MemorySegment struct) { + return struct.asSlice(cond$OFFSET, cond$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bli_pthread_cond_t cond + * } + */ + public static void cond(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, cond$OFFSET, cond$LAYOUT.byteSize()); + } + + private static final OfInt count$LAYOUT = (OfInt)$LAYOUT.select(groupElement("count")); + + /** + * Layout for field: + * {@snippet lang=c : + * int count + * } + */ + public static final OfInt count$layout() { + return count$LAYOUT; + } + + private static final long count$OFFSET = $LAYOUT.byteOffset(groupElement("count")); + + /** + * Offset for field: + * {@snippet lang=c : + * int count + * } + */ + public static final long count$offset() { + return count$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int count + * } + */ + public static int count(MemorySegment struct) { + return struct.get(count$LAYOUT, count$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int count + * } + */ + public static void count(MemorySegment struct, int fieldValue) { + struct.set(count$LAYOUT, count$OFFSET, fieldValue); + } + + private static final OfInt tripCount$LAYOUT = (OfInt)$LAYOUT.select(groupElement("tripCount")); + + /** + * Layout for field: + * {@snippet lang=c : + * int tripCount + * } + */ + public static final OfInt tripCount$layout() { + return tripCount$LAYOUT; + } + + private static final long tripCount$OFFSET = $LAYOUT.byteOffset(groupElement("tripCount")); + + /** + * Offset for field: + * {@snippet lang=c : + * int tripCount + * } + */ + public static final long tripCount$offset() { + return tripCount$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int tripCount + * } + */ + public static int tripCount(MemorySegment struct) { + return struct.get(tripCount$LAYOUT, tripCount$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int tripCount + * } + */ + public static void tripCount(MemorySegment struct, int fieldValue) { + struct.set(tripCount$LAYOUT, tripCount$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/bli_pthread_switch_t.java b/generated/src/blis_typed/bli_pthread_switch_t.java new file mode 100644 index 00000000..8c622bd7 --- /dev/null +++ b/generated/src/blis_typed/bli_pthread_switch_t.java @@ -0,0 +1,174 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * int status; + * bli_pthread_mutex_t mutex; + * } + * } + */ +public class bli_pthread_switch_t { + + bli_pthread_switch_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_INT.withName("status"), + MemoryLayout.paddingLayout(4), + _opaque_pthread_mutex_t.layout().withName("mutex") + ).withName("bli_pthread_switch_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt status$LAYOUT = (OfInt)$LAYOUT.select(groupElement("status")); + + /** + * Layout for field: + * {@snippet lang=c : + * int status + * } + */ + public static final OfInt status$layout() { + return status$LAYOUT; + } + + private static final long status$OFFSET = $LAYOUT.byteOffset(groupElement("status")); + + /** + * Offset for field: + * {@snippet lang=c : + * int status + * } + */ + public static final long status$offset() { + return status$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int status + * } + */ + public static int status(MemorySegment struct) { + return struct.get(status$LAYOUT, status$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int status + * } + */ + public static void status(MemorySegment struct, int fieldValue) { + struct.set(status$LAYOUT, status$OFFSET, fieldValue); + } + + private static final GroupLayout mutex$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("mutex")); + + /** + * Layout for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static final GroupLayout mutex$layout() { + return mutex$LAYOUT; + } + + private static final long mutex$OFFSET = $LAYOUT.byteOffset(groupElement("mutex")); + + /** + * Offset for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static final long mutex$offset() { + return mutex$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static MemorySegment mutex(MemorySegment struct) { + return struct.asSlice(mutex$OFFSET, mutex$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static void mutex(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, mutex$OFFSET, mutex$LAYOUT.byteSize()); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/blis_h$shared.java b/generated/src/blis_typed/blis_h$shared.java new file mode 100644 index 00000000..dbdf5e13 --- /dev/null +++ b/generated/src/blis_typed/blis_h$shared.java @@ -0,0 +1,63 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +public class blis_h$shared { + + blis_h$shared() { + // Should not be called directly + } + + public static final ValueLayout.OfBoolean C_BOOL = (ValueLayout.OfBoolean) Linker.nativeLinker().canonicalLayouts().get("bool"); + public static final ValueLayout.OfByte C_CHAR =(ValueLayout.OfByte)Linker.nativeLinker().canonicalLayouts().get("char"); + public static final ValueLayout.OfShort C_SHORT = (ValueLayout.OfShort) Linker.nativeLinker().canonicalLayouts().get("short"); + public static final ValueLayout.OfInt C_INT = (ValueLayout.OfInt) Linker.nativeLinker().canonicalLayouts().get("int"); + public static final ValueLayout.OfLong C_LONG_LONG = (ValueLayout.OfLong) Linker.nativeLinker().canonicalLayouts().get("long long"); + public static final ValueLayout.OfFloat C_FLOAT = (ValueLayout.OfFloat) Linker.nativeLinker().canonicalLayouts().get("float"); + public static final ValueLayout.OfDouble C_DOUBLE = (ValueLayout.OfDouble) Linker.nativeLinker().canonicalLayouts().get("double"); + public static final AddressLayout C_POINTER = ((AddressLayout) Linker.nativeLinker().canonicalLayouts().get("void*")) + .withTargetLayout(MemoryLayout.sequenceLayout(java.lang.Long.MAX_VALUE, C_CHAR)); + public static final ValueLayout.OfLong C_LONG = (ValueLayout.OfLong) Linker.nativeLinker().canonicalLayouts().get("long"); + + static final boolean TRACE_DOWNCALLS = Boolean.getBoolean("jextract.trace.downcalls"); + + static void traceDowncall(String name, Object... args) { + String traceArgs = Arrays.stream(args) + .map(Object::toString) + .collect(Collectors.joining(", ")); + System.out.printf("%s(%s)\n", name, traceArgs); + } + + static MethodHandle upcallHandle(Class fi, String name, FunctionDescriptor fdesc) { + try { + return MethodHandles.lookup().findVirtual(fi, name, fdesc.toMethodType()); + } catch (ReflectiveOperationException ex) { + throw new AssertionError(ex); + } + } + + static MemoryLayout align(MemoryLayout layout, long align) { + return switch (layout) { + case PaddingLayout p -> p; + case ValueLayout v -> v.withByteAlignment(align); + case GroupLayout g -> { + MemoryLayout[] alignedMembers = g.memberLayouts().stream() + .map(m -> align(m, align)).toArray(MemoryLayout[]::new); + yield g instanceof StructLayout ? + MemoryLayout.structLayout(alignedMembers) : MemoryLayout.unionLayout(alignedMembers); + } + case SequenceLayout s -> MemoryLayout.sequenceLayout(s.elementCount(), align(s.elementLayout(), align)); + }; + } +} + diff --git a/generated/src/blis_typed/blis_h.java b/generated/src/blis_typed/blis_h.java new file mode 100644 index 00000000..ba940b9c --- /dev/null +++ b/generated/src/blis_typed/blis_h.java @@ -0,0 +1,7575 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +public class blis_h extends blis_h$shared { + + blis_h() { + // Should not be called directly + } + + static final Arena LIBRARY_ARENA = Arena.ofAuto(); + + + static { + System.loadLibrary("blis"); + } + + static final SymbolLookup SYMBOL_LOOKUP = SymbolLookup.loaderLookup() + .or(Linker.nativeLinker().defaultLookup()); + + private static final int BLIS_VERSION_MAJOR = (int)2L; + /** + * {@snippet lang=c : + * #define BLIS_VERSION_MAJOR 2 + * } + */ + public static int BLIS_VERSION_MAJOR() { + return BLIS_VERSION_MAJOR; + } + private static final int BLIS_VERSION_MINOR = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_VERSION_MINOR 0 + * } + */ + public static int BLIS_VERSION_MINOR() { + return BLIS_VERSION_MINOR; + } + private static final int BLIS_VERSION_REVISION = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_VERSION_REVISION 0 + * } + */ + public static int BLIS_VERSION_REVISION() { + return BLIS_VERSION_REVISION; + } + private static final int BLIS_BLAS_INT_TYPE_SIZE = (int)32L; + /** + * {@snippet lang=c : + * #define BLIS_BLAS_INT_TYPE_SIZE 32 + * } + */ + public static int BLIS_BLAS_INT_TYPE_SIZE() { + return BLIS_BLAS_INT_TYPE_SIZE; + } + private static final int __PTHREAD_SIZE__ = (int)8176L; + /** + * {@snippet lang=c : + * #define __PTHREAD_SIZE__ 8176 + * } + */ + public static int __PTHREAD_SIZE__() { + return __PTHREAD_SIZE__; + } + private static final int __PTHREAD_ATTR_SIZE__ = (int)56L; + /** + * {@snippet lang=c : + * #define __PTHREAD_ATTR_SIZE__ 56 + * } + */ + public static int __PTHREAD_ATTR_SIZE__() { + return __PTHREAD_ATTR_SIZE__; + } + private static final int __PTHREAD_MUTEXATTR_SIZE__ = (int)8L; + /** + * {@snippet lang=c : + * #define __PTHREAD_MUTEXATTR_SIZE__ 8 + * } + */ + public static int __PTHREAD_MUTEXATTR_SIZE__() { + return __PTHREAD_MUTEXATTR_SIZE__; + } + private static final int __PTHREAD_MUTEX_SIZE__ = (int)56L; + /** + * {@snippet lang=c : + * #define __PTHREAD_MUTEX_SIZE__ 56 + * } + */ + public static int __PTHREAD_MUTEX_SIZE__() { + return __PTHREAD_MUTEX_SIZE__; + } + private static final int __PTHREAD_CONDATTR_SIZE__ = (int)8L; + /** + * {@snippet lang=c : + * #define __PTHREAD_CONDATTR_SIZE__ 8 + * } + */ + public static int __PTHREAD_CONDATTR_SIZE__() { + return __PTHREAD_CONDATTR_SIZE__; + } + private static final int __PTHREAD_COND_SIZE__ = (int)40L; + /** + * {@snippet lang=c : + * #define __PTHREAD_COND_SIZE__ 40 + * } + */ + public static int __PTHREAD_COND_SIZE__() { + return __PTHREAD_COND_SIZE__; + } + private static final int __PTHREAD_ONCE_SIZE__ = (int)8L; + /** + * {@snippet lang=c : + * #define __PTHREAD_ONCE_SIZE__ 8 + * } + */ + public static int __PTHREAD_ONCE_SIZE__() { + return __PTHREAD_ONCE_SIZE__; + } + private static final int __PTHREAD_RWLOCK_SIZE__ = (int)192L; + /** + * {@snippet lang=c : + * #define __PTHREAD_RWLOCK_SIZE__ 192 + * } + */ + public static int __PTHREAD_RWLOCK_SIZE__() { + return __PTHREAD_RWLOCK_SIZE__; + } + private static final int __PTHREAD_RWLOCKATTR_SIZE__ = (int)16L; + /** + * {@snippet lang=c : + * #define __PTHREAD_RWLOCKATTR_SIZE__ 16 + * } + */ + public static int __PTHREAD_RWLOCKATTR_SIZE__() { + return __PTHREAD_RWLOCKATTR_SIZE__; + } + private static final int BLIS_OS_OSX = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_OS_OSX 1 + * } + */ + public static int BLIS_OS_OSX() { + return BLIS_OS_OSX; + } + private static final int __bool_true_false_are_defined = (int)1L; + /** + * {@snippet lang=c : + * #define __bool_true_false_are_defined 1 + * } + */ + public static int __bool_true_false_are_defined() { + return __bool_true_false_are_defined; + } + private static final int true_ = (int)1L; + /** + * {@snippet lang=c : + * #define true 1 + * } + */ + public static int true_() { + return true_; + } + private static final int false_ = (int)0L; + /** + * {@snippet lang=c : + * #define false 0 + * } + */ + public static int false_() { + return false_; + } + private static final int BLIS_INT_TYPE_SIZE = (int)64L; + /** + * {@snippet lang=c : + * #define BLIS_INT_TYPE_SIZE 64 + * } + */ + public static int BLIS_INT_TYPE_SIZE() { + return BLIS_INT_TYPE_SIZE; + } + private static final int BLIS_CACHE_LINE_SIZE = (int)64L; + /** + * {@snippet lang=c : + * #define BLIS_CACHE_LINE_SIZE 64 + * } + */ + public static int BLIS_CACHE_LINE_SIZE() { + return BLIS_CACHE_LINE_SIZE; + } + private static final int BLIS_NT_MAX_PRIME = (int)11L; + /** + * {@snippet lang=c : + * #define BLIS_NT_MAX_PRIME 11 + * } + */ + public static int BLIS_NT_MAX_PRIME() { + return BLIS_NT_MAX_PRIME; + } + private static final int BLIS_NUM_FP_TYPES = (int)4L; + /** + * {@snippet lang=c : + * #define BLIS_NUM_FP_TYPES 4 + * } + */ + public static int BLIS_NUM_FP_TYPES() { + return BLIS_NUM_FP_TYPES; + } + private static final int BLIS_SIZEOF_S = (int)4L; + /** + * {@snippet lang=c : + * #define BLIS_SIZEOF_S 4 + * } + */ + public static int BLIS_SIZEOF_S() { + return BLIS_SIZEOF_S; + } + private static final int BLIS_SIZEOF_D = (int)8L; + /** + * {@snippet lang=c : + * #define BLIS_SIZEOF_D 8 + * } + */ + public static int BLIS_SIZEOF_D() { + return BLIS_SIZEOF_D; + } + private static final int BLIS_SIZEOF_C = (int)8L; + /** + * {@snippet lang=c : + * #define BLIS_SIZEOF_C 8 + * } + */ + public static int BLIS_SIZEOF_C() { + return BLIS_SIZEOF_C; + } + private static final int BLIS_SIZEOF_Z = (int)16L; + /** + * {@snippet lang=c : + * #define BLIS_SIZEOF_Z 16 + * } + */ + public static int BLIS_SIZEOF_Z() { + return BLIS_SIZEOF_Z; + } + private static final int BLIS_DOMAIN_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_DOMAIN_NUM_BITS 1 + * } + */ + public static int BLIS_DOMAIN_NUM_BITS() { + return BLIS_DOMAIN_NUM_BITS; + } + private static final int BLIS_PRECISION_NUM_BITS = (int)2L; + /** + * {@snippet lang=c : + * #define BLIS_PRECISION_NUM_BITS 2 + * } + */ + public static int BLIS_PRECISION_NUM_BITS() { + return BLIS_PRECISION_NUM_BITS; + } + private static final int BLIS_TRANS_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_TRANS_NUM_BITS 1 + * } + */ + public static int BLIS_TRANS_NUM_BITS() { + return BLIS_TRANS_NUM_BITS; + } + private static final int BLIS_CONJ_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_CONJ_NUM_BITS 1 + * } + */ + public static int BLIS_CONJ_NUM_BITS() { + return BLIS_CONJ_NUM_BITS; + } + private static final int BLIS_UPPER_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_UPPER_NUM_BITS 1 + * } + */ + public static int BLIS_UPPER_NUM_BITS() { + return BLIS_UPPER_NUM_BITS; + } + private static final int BLIS_DIAG_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_DIAG_NUM_BITS 1 + * } + */ + public static int BLIS_DIAG_NUM_BITS() { + return BLIS_DIAG_NUM_BITS; + } + private static final int BLIS_LOWER_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_LOWER_NUM_BITS 1 + * } + */ + public static int BLIS_LOWER_NUM_BITS() { + return BLIS_LOWER_NUM_BITS; + } + private static final int BLIS_UNIT_DIAG_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_UNIT_DIAG_NUM_BITS 1 + * } + */ + public static int BLIS_UNIT_DIAG_NUM_BITS() { + return BLIS_UNIT_DIAG_NUM_BITS; + } + private static final int BLIS_INVERT_DIAG_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_INVERT_DIAG_NUM_BITS 1 + * } + */ + public static int BLIS_INVERT_DIAG_NUM_BITS() { + return BLIS_INVERT_DIAG_NUM_BITS; + } + private static final int BLIS_PACK_PANEL_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_PANEL_NUM_BITS 1 + * } + */ + public static int BLIS_PACK_PANEL_NUM_BITS() { + return BLIS_PACK_PANEL_NUM_BITS; + } + private static final int BLIS_PACK_FORMAT_NUM_BITS = (int)4L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_FORMAT_NUM_BITS 4 + * } + */ + public static int BLIS_PACK_FORMAT_NUM_BITS() { + return BLIS_PACK_FORMAT_NUM_BITS; + } + private static final int BLIS_PACK_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_NUM_BITS 1 + * } + */ + public static int BLIS_PACK_NUM_BITS() { + return BLIS_PACK_NUM_BITS; + } + private static final int BLIS_PACK_REV_IF_UPPER_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_REV_IF_UPPER_NUM_BITS 1 + * } + */ + public static int BLIS_PACK_REV_IF_UPPER_NUM_BITS() { + return BLIS_PACK_REV_IF_UPPER_NUM_BITS; + } + private static final int BLIS_PACK_REV_IF_LOWER_NUM_BITS = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_REV_IF_LOWER_NUM_BITS 1 + * } + */ + public static int BLIS_PACK_REV_IF_LOWER_NUM_BITS() { + return BLIS_PACK_REV_IF_LOWER_NUM_BITS; + } + private static final int BLIS_PACK_BUFFER_NUM_BITS = (int)2L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_BUFFER_NUM_BITS 2 + * } + */ + public static int BLIS_PACK_BUFFER_NUM_BITS() { + return BLIS_PACK_BUFFER_NUM_BITS; + } + private static final int BLIS_STRUC_NUM_BITS = (int)2L; + /** + * {@snippet lang=c : + * #define BLIS_STRUC_NUM_BITS 2 + * } + */ + public static int BLIS_STRUC_NUM_BITS() { + return BLIS_STRUC_NUM_BITS; + } + private static final int BLIS_DATATYPE_SHIFT = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_DATATYPE_SHIFT 0 + * } + */ + public static int BLIS_DATATYPE_SHIFT() { + return BLIS_DATATYPE_SHIFT; + } + private static final int BLIS_BITVAL_REAL = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_REAL 0 + * } + */ + public static int BLIS_BITVAL_REAL() { + return BLIS_BITVAL_REAL; + } + private static final int BLIS_BITVAL_SINGLE_PREC = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_SINGLE_PREC 0 + * } + */ + public static int BLIS_BITVAL_SINGLE_PREC() { + return BLIS_BITVAL_SINGLE_PREC; + } + private static final int BLIS_BITVAL_FLOAT_TYPE = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_FLOAT_TYPE 0 + * } + */ + public static int BLIS_BITVAL_FLOAT_TYPE() { + return BLIS_BITVAL_FLOAT_TYPE; + } + private static final int BLIS_BITVAL_INT_TYPE = (int)4L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_INT_TYPE 4 + * } + */ + public static int BLIS_BITVAL_INT_TYPE() { + return BLIS_BITVAL_INT_TYPE; + } + private static final int BLIS_BITVAL_CONST_TYPE = (int)5L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_CONST_TYPE 5 + * } + */ + public static int BLIS_BITVAL_CONST_TYPE() { + return BLIS_BITVAL_CONST_TYPE; + } + private static final int BLIS_BITVAL_NO_TRANS = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_NO_TRANS 0 + * } + */ + public static int BLIS_BITVAL_NO_TRANS() { + return BLIS_BITVAL_NO_TRANS; + } + private static final int BLIS_BITVAL_NO_CONJ = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_NO_CONJ 0 + * } + */ + public static int BLIS_BITVAL_NO_CONJ() { + return BLIS_BITVAL_NO_CONJ; + } + private static final int BLIS_BITVAL_ZEROS = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_ZEROS 0 + * } + */ + public static int BLIS_BITVAL_ZEROS() { + return BLIS_BITVAL_ZEROS; + } + private static final int BLIS_BITVAL_NONUNIT_DIAG = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_NONUNIT_DIAG 0 + * } + */ + public static int BLIS_BITVAL_NONUNIT_DIAG() { + return BLIS_BITVAL_NONUNIT_DIAG; + } + private static final int BLIS_BITVAL_NOT_PACKED = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_NOT_PACKED 0 + * } + */ + public static int BLIS_BITVAL_NOT_PACKED() { + return BLIS_BITVAL_NOT_PACKED; + } + private static final int BLIS_BITVAL_PACK_FWD_IF_UPPER = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_PACK_FWD_IF_UPPER 0 + * } + */ + public static int BLIS_BITVAL_PACK_FWD_IF_UPPER() { + return BLIS_BITVAL_PACK_FWD_IF_UPPER; + } + private static final int BLIS_BITVAL_PACK_FWD_IF_LOWER = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_PACK_FWD_IF_LOWER 0 + * } + */ + public static int BLIS_BITVAL_PACK_FWD_IF_LOWER() { + return BLIS_BITVAL_PACK_FWD_IF_LOWER; + } + private static final int BLIS_BITVAL_BUFFER_FOR_A_BLOCK = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_BUFFER_FOR_A_BLOCK 0 + * } + */ + public static int BLIS_BITVAL_BUFFER_FOR_A_BLOCK() { + return BLIS_BITVAL_BUFFER_FOR_A_BLOCK; + } + private static final int BLIS_BITVAL_GENERAL = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_GENERAL 0 + * } + */ + public static int BLIS_BITVAL_GENERAL() { + return BLIS_BITVAL_GENERAL; + } + private static final int BLIS_NTYPE_KER_SHIFT = (int)28L; + /** + * {@snippet lang=c : + * #define BLIS_NTYPE_KER_SHIFT 28 + * } + */ + public static int BLIS_NTYPE_KER_SHIFT() { + return BLIS_NTYPE_KER_SHIFT; + } + private static final int BLIS_NUM_LOOPS = (int)6L; + /** + * {@snippet lang=c : + * #define BLIS_NUM_LOOPS 6 + * } + */ + public static int BLIS_NUM_LOOPS() { + return BLIS_NUM_LOOPS; + } + private static final int BLIS_MAX_SUB_NODES = (int)2L; + /** + * {@snippet lang=c : + * #define BLIS_MAX_SUB_NODES 2 + * } + */ + public static int BLIS_MAX_SUB_NODES() { + return BLIS_MAX_SUB_NODES; + } + private static final int bli_sssame = (int)1L; + /** + * {@snippet lang=c : + * #define bli_sssame 1 + * } + */ + public static int bli_sssame() { + return bli_sssame; + } + private static final int bli_sdsame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_sdsame 0 + * } + */ + public static int bli_sdsame() { + return bli_sdsame; + } + private static final int bli_scsame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_scsame 0 + * } + */ + public static int bli_scsame() { + return bli_scsame; + } + private static final int bli_szsame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_szsame 0 + * } + */ + public static int bli_szsame() { + return bli_szsame; + } + private static final int bli_dssame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_dssame 0 + * } + */ + public static int bli_dssame() { + return bli_dssame; + } + private static final int bli_ddsame = (int)1L; + /** + * {@snippet lang=c : + * #define bli_ddsame 1 + * } + */ + public static int bli_ddsame() { + return bli_ddsame; + } + private static final int bli_dcsame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_dcsame 0 + * } + */ + public static int bli_dcsame() { + return bli_dcsame; + } + private static final int bli_dzsame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_dzsame 0 + * } + */ + public static int bli_dzsame() { + return bli_dzsame; + } + private static final int bli_cssame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_cssame 0 + * } + */ + public static int bli_cssame() { + return bli_cssame; + } + private static final int bli_cdsame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_cdsame 0 + * } + */ + public static int bli_cdsame() { + return bli_cdsame; + } + private static final int bli_ccsame = (int)1L; + /** + * {@snippet lang=c : + * #define bli_ccsame 1 + * } + */ + public static int bli_ccsame() { + return bli_ccsame; + } + private static final int bli_czsame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_czsame 0 + * } + */ + public static int bli_czsame() { + return bli_czsame; + } + private static final int bli_zssame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_zssame 0 + * } + */ + public static int bli_zssame() { + return bli_zssame; + } + private static final int bli_zdsame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_zdsame 0 + * } + */ + public static int bli_zdsame() { + return bli_zdsame; + } + private static final int bli_zcsame = (int)0L; + /** + * {@snippet lang=c : + * #define bli_zcsame 0 + * } + */ + public static int bli_zcsame() { + return bli_zcsame; + } + private static final int bli_zzsame = (int)1L; + /** + * {@snippet lang=c : + * #define bli_zzsame 1 + * } + */ + public static int bli_zzsame() { + return bli_zzsame; + } + private static final int BLIS_SIMD_ALIGN_SIZE = (int)16L; + /** + * {@snippet lang=c : + * #define BLIS_SIMD_ALIGN_SIZE 16 + * } + */ + public static int BLIS_SIMD_ALIGN_SIZE() { + return BLIS_SIMD_ALIGN_SIZE; + } + private static final int BLIS_THREAD_RATIO_M = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_THREAD_RATIO_M 1 + * } + */ + public static int BLIS_THREAD_RATIO_M() { + return BLIS_THREAD_RATIO_M; + } + private static final int BLIS_THREAD_RATIO_N = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_THREAD_RATIO_N 1 + * } + */ + public static int BLIS_THREAD_RATIO_N() { + return BLIS_THREAD_RATIO_N; + } + private static final int BLIS_THREAD_MAX_IR = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_THREAD_MAX_IR 1 + * } + */ + public static int BLIS_THREAD_MAX_IR() { + return BLIS_THREAD_MAX_IR; + } + private static final int BLIS_THREAD_MAX_JR = (int)4L; + /** + * {@snippet lang=c : + * #define BLIS_THREAD_MAX_JR 4 + * } + */ + public static int BLIS_THREAD_MAX_JR() { + return BLIS_THREAD_MAX_JR; + } + private static final int BLIS_PAGE_SIZE = (int)4096L; + /** + * {@snippet lang=c : + * #define BLIS_PAGE_SIZE 4096 + * } + */ + public static int BLIS_PAGE_SIZE() { + return BLIS_PAGE_SIZE; + } + private static final int BLIS_SIMD_MAX_NUM_REGISTERS = (int)32L; + /** + * {@snippet lang=c : + * #define BLIS_SIMD_MAX_NUM_REGISTERS 32 + * } + */ + public static int BLIS_SIMD_MAX_NUM_REGISTERS() { + return BLIS_SIMD_MAX_NUM_REGISTERS; + } + private static final int BLIS_SIMD_MAX_SIZE = (int)64L; + /** + * {@snippet lang=c : + * #define BLIS_SIMD_MAX_SIZE 64 + * } + */ + public static int BLIS_SIMD_MAX_SIZE() { + return BLIS_SIMD_MAX_SIZE; + } + private static final int BLIS_POOL_ADDR_OFFSET_SIZE_A = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_POOL_ADDR_OFFSET_SIZE_A 0 + * } + */ + public static int BLIS_POOL_ADDR_OFFSET_SIZE_A() { + return BLIS_POOL_ADDR_OFFSET_SIZE_A; + } + private static final int BLIS_POOL_ADDR_OFFSET_SIZE_B = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_POOL_ADDR_OFFSET_SIZE_B 0 + * } + */ + public static int BLIS_POOL_ADDR_OFFSET_SIZE_B() { + return BLIS_POOL_ADDR_OFFSET_SIZE_B; + } + private static final int BLIS_POOL_ADDR_OFFSET_SIZE_C = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_POOL_ADDR_OFFSET_SIZE_C 0 + * } + */ + public static int BLIS_POOL_ADDR_OFFSET_SIZE_C() { + return BLIS_POOL_ADDR_OFFSET_SIZE_C; + } + private static final int BLIS_POOL_ADDR_OFFSET_SIZE_GEN = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_POOL_ADDR_OFFSET_SIZE_GEN 0 + * } + */ + public static int BLIS_POOL_ADDR_OFFSET_SIZE_GEN() { + return BLIS_POOL_ADDR_OFFSET_SIZE_GEN; + } + /** + * {@snippet lang=c : + * typedef unsigned long __darwin_pthread_key_t + * } + */ + public static final OfLong __darwin_pthread_key_t = blis_h.C_LONG; + /** + * {@snippet lang=c : + * typedef struct _opaque_pthread_t { + * long __sig; + * struct __darwin_pthread_handler_rec *__cleanup_stack; + * char __opaque[8176]; + * } *__darwin_pthread_t + * } + */ + public static final AddressLayout __darwin_pthread_t = blis_h.C_POINTER; + private static final int BLIS_NO_TRANSPOSE = (int)0L; + /** + * {@snippet lang=c : + * enum trans_t.BLIS_NO_TRANSPOSE = 0 + * } + */ + public static int BLIS_NO_TRANSPOSE() { + return BLIS_NO_TRANSPOSE; + } + private static final int BLIS_TRANSPOSE = (int)8L; + /** + * {@snippet lang=c : + * enum trans_t.BLIS_TRANSPOSE = 8 + * } + */ + public static int BLIS_TRANSPOSE() { + return BLIS_TRANSPOSE; + } + private static final int BLIS_CONJ_NO_TRANSPOSE = (int)16L; + /** + * {@snippet lang=c : + * enum trans_t.BLIS_CONJ_NO_TRANSPOSE = 16 + * } + */ + public static int BLIS_CONJ_NO_TRANSPOSE() { + return BLIS_CONJ_NO_TRANSPOSE; + } + private static final int BLIS_CONJ_TRANSPOSE = (int)24L; + /** + * {@snippet lang=c : + * enum trans_t.BLIS_CONJ_TRANSPOSE = 24 + * } + */ + public static int BLIS_CONJ_TRANSPOSE() { + return BLIS_CONJ_TRANSPOSE; + } + private static final int BLIS_NO_CONJUGATE = (int)0L; + /** + * {@snippet lang=c : + * enum conj_t.BLIS_NO_CONJUGATE = 0 + * } + */ + public static int BLIS_NO_CONJUGATE() { + return BLIS_NO_CONJUGATE; + } + private static final int BLIS_CONJUGATE = (int)16L; + /** + * {@snippet lang=c : + * enum conj_t.BLIS_CONJUGATE = 16 + * } + */ + public static int BLIS_CONJUGATE() { + return BLIS_CONJUGATE; + } + private static final int BLIS_ZEROS = (int)0L; + /** + * {@snippet lang=c : + * enum uplo_t.BLIS_ZEROS = 0 + * } + */ + public static int BLIS_ZEROS() { + return BLIS_ZEROS; + } + private static final int BLIS_LOWER = (int)192L; + /** + * {@snippet lang=c : + * enum uplo_t.BLIS_LOWER = 192 + * } + */ + public static int BLIS_LOWER() { + return BLIS_LOWER; + } + private static final int BLIS_UPPER = (int)96L; + /** + * {@snippet lang=c : + * enum uplo_t.BLIS_UPPER = 96 + * } + */ + public static int BLIS_UPPER() { + return BLIS_UPPER; + } + private static final int BLIS_DENSE = (int)224L; + /** + * {@snippet lang=c : + * enum uplo_t.BLIS_DENSE = 224 + * } + */ + public static int BLIS_DENSE() { + return BLIS_DENSE; + } + private static final int BLIS_LEFT = (int)0L; + /** + * {@snippet lang=c : + * enum side_t.BLIS_LEFT = 0 + * } + */ + public static int BLIS_LEFT() { + return BLIS_LEFT; + } + private static final int BLIS_RIGHT = (int)1L; + /** + * {@snippet lang=c : + * enum side_t.BLIS_RIGHT = 1 + * } + */ + public static int BLIS_RIGHT() { + return BLIS_RIGHT; + } + private static final int BLIS_NONUNIT_DIAG = (int)0L; + /** + * {@snippet lang=c : + * enum diag_t.BLIS_NONUNIT_DIAG = 0 + * } + */ + public static int BLIS_NONUNIT_DIAG() { + return BLIS_NONUNIT_DIAG; + } + private static final int BLIS_UNIT_DIAG = (int)256L; + /** + * {@snippet lang=c : + * enum diag_t.BLIS_UNIT_DIAG = 256 + * } + */ + public static int BLIS_UNIT_DIAG() { + return BLIS_UNIT_DIAG; + } + private static final int BLIS_NO_INVERT_DIAG = (int)0L; + /** + * {@snippet lang=c : + * enum invdiag_t.BLIS_NO_INVERT_DIAG = 0 + * } + */ + public static int BLIS_NO_INVERT_DIAG() { + return BLIS_NO_INVERT_DIAG; + } + private static final int BLIS_INVERT_DIAG = (int)512L; + /** + * {@snippet lang=c : + * enum invdiag_t.BLIS_INVERT_DIAG = 512 + * } + */ + public static int BLIS_INVERT_DIAG() { + return BLIS_INVERT_DIAG; + } + private static final int BLIS_GENERAL = (int)0L; + /** + * {@snippet lang=c : + * enum struc_t.BLIS_GENERAL = 0 + * } + */ + public static int BLIS_GENERAL() { + return BLIS_GENERAL; + } + private static final int BLIS_HERMITIAN = (int)1048576L; + /** + * {@snippet lang=c : + * enum struc_t.BLIS_HERMITIAN = 1048576 + * } + */ + public static int BLIS_HERMITIAN() { + return BLIS_HERMITIAN; + } + private static final int BLIS_SYMMETRIC = (int)2097152L; + /** + * {@snippet lang=c : + * enum struc_t.BLIS_SYMMETRIC = 2097152 + * } + */ + public static int BLIS_SYMMETRIC() { + return BLIS_SYMMETRIC; + } + private static final int BLIS_TRIANGULAR = (int)3145728L; + /** + * {@snippet lang=c : + * enum struc_t.BLIS_TRIANGULAR = 3145728 + * } + */ + public static int BLIS_TRIANGULAR() { + return BLIS_TRIANGULAR; + } + private static final int BLIS_FLOAT = (int)0L; + /** + * {@snippet lang=c : + * enum num_t.BLIS_FLOAT = 0 + * } + */ + public static int BLIS_FLOAT() { + return BLIS_FLOAT; + } + private static final int BLIS_DOUBLE = (int)2L; + /** + * {@snippet lang=c : + * enum num_t.BLIS_DOUBLE = 2 + * } + */ + public static int BLIS_DOUBLE() { + return BLIS_DOUBLE; + } + private static final int BLIS_SCOMPLEX = (int)1L; + /** + * {@snippet lang=c : + * enum num_t.BLIS_SCOMPLEX = 1 + * } + */ + public static int BLIS_SCOMPLEX() { + return BLIS_SCOMPLEX; + } + private static final int BLIS_DCOMPLEX = (int)3L; + /** + * {@snippet lang=c : + * enum num_t.BLIS_DCOMPLEX = 3 + * } + */ + public static int BLIS_DCOMPLEX() { + return BLIS_DCOMPLEX; + } + private static final int BLIS_INT = (int)4L; + /** + * {@snippet lang=c : + * enum num_t.BLIS_INT = 4 + * } + */ + public static int BLIS_INT() { + return BLIS_INT; + } + private static final int BLIS_CONSTANT = (int)5L; + /** + * {@snippet lang=c : + * enum num_t.BLIS_CONSTANT = 5 + * } + */ + public static int BLIS_CONSTANT() { + return BLIS_CONSTANT; + } + private static final int BLIS_DT_LO = (int)0L; + /** + * {@snippet lang=c : + * enum num_t.BLIS_DT_LO = 0 + * } + */ + public static int BLIS_DT_LO() { + return BLIS_DT_LO; + } + private static final int BLIS_DT_HI = (int)3L; + /** + * {@snippet lang=c : + * enum num_t.BLIS_DT_HI = 3 + * } + */ + public static int BLIS_DT_HI() { + return BLIS_DT_HI; + } + private static final int BLIS_REAL = (int)0L; + /** + * {@snippet lang=c : + * enum dom_t.BLIS_REAL = 0 + * } + */ + public static int BLIS_REAL() { + return BLIS_REAL; + } + private static final int BLIS_COMPLEX = (int)1L; + /** + * {@snippet lang=c : + * enum dom_t.BLIS_COMPLEX = 1 + * } + */ + public static int BLIS_COMPLEX() { + return BLIS_COMPLEX; + } + private static final int BLIS_SINGLE_PREC = (int)0L; + /** + * {@snippet lang=c : + * enum prec_t.BLIS_SINGLE_PREC = 0 + * } + */ + public static int BLIS_SINGLE_PREC() { + return BLIS_SINGLE_PREC; + } + private static final int BLIS_DOUBLE_PREC = (int)2L; + /** + * {@snippet lang=c : + * enum prec_t.BLIS_DOUBLE_PREC = 2 + * } + */ + public static int BLIS_DOUBLE_PREC() { + return BLIS_DOUBLE_PREC; + } + private static final int BLIS_NOT_PACKED = (int)0L; + /** + * {@snippet lang=c : + * enum pack_t.BLIS_NOT_PACKED = 0 + * } + */ + public static int BLIS_NOT_PACKED() { + return BLIS_NOT_PACKED; + } + private static final int BLIS_PACKED_UNSPEC = (int)32768L; + /** + * {@snippet lang=c : + * enum pack_t.BLIS_PACKED_UNSPEC = 32768 + * } + */ + public static int BLIS_PACKED_UNSPEC() { + return BLIS_PACKED_UNSPEC; + } + private static final int BLIS_PACKED_VECTOR = (int)32768L; + /** + * {@snippet lang=c : + * enum pack_t.BLIS_PACKED_VECTOR = 32768 + * } + */ + public static int BLIS_PACKED_VECTOR() { + return BLIS_PACKED_VECTOR; + } + private static final int BLIS_PACKED_MATRIX = (int)32768L; + /** + * {@snippet lang=c : + * enum pack_t.BLIS_PACKED_MATRIX = 32768 + * } + */ + public static int BLIS_PACKED_MATRIX() { + return BLIS_PACKED_MATRIX; + } + private static final int BLIS_PACKED_PANELS = (int)33792L; + /** + * {@snippet lang=c : + * enum pack_t.BLIS_PACKED_PANELS = 33792 + * } + */ + public static int BLIS_PACKED_PANELS() { + return BLIS_PACKED_PANELS; + } + private static final int BLIS_PACKED_PANELS_1E = (int)35840L; + /** + * {@snippet lang=c : + * enum pack_t.BLIS_PACKED_PANELS_1E = 35840 + * } + */ + public static int BLIS_PACKED_PANELS_1E() { + return BLIS_PACKED_PANELS_1E; + } + private static final int BLIS_PACKED_PANELS_1R = (int)37888L; + /** + * {@snippet lang=c : + * enum pack_t.BLIS_PACKED_PANELS_1R = 37888 + * } + */ + public static int BLIS_PACKED_PANELS_1R() { + return BLIS_PACKED_PANELS_1R; + } + private static final int BLIS_PACKED_PANELS_RO = (int)39936L; + /** + * {@snippet lang=c : + * enum pack_t.BLIS_PACKED_PANELS_RO = 39936 + * } + */ + public static int BLIS_PACKED_PANELS_RO() { + return BLIS_PACKED_PANELS_RO; + } + private static final int BLIS_NUM_PACK_SCHEMA_TYPES_ = (int)39937L; + /** + * {@snippet lang=c : + * enum pack_t.BLIS_NUM_PACK_SCHEMA_TYPES_ = 39937 + * } + */ + public static int BLIS_NUM_PACK_SCHEMA_TYPES_() { + return BLIS_NUM_PACK_SCHEMA_TYPES_; + } + private static final int BLIS_NUM_PACK_SCHEMA_TYPES = (int)4L; + /** + * {@snippet lang=c : + * enum pack_t.BLIS_NUM_PACK_SCHEMA_TYPES = 4 + * } + */ + public static int BLIS_NUM_PACK_SCHEMA_TYPES() { + return BLIS_NUM_PACK_SCHEMA_TYPES; + } + private static final int BLIS_PACK_FWD_IF_UPPER = (int)0L; + /** + * {@snippet lang=c : + * enum packord_t.BLIS_PACK_FWD_IF_UPPER = 0 + * } + */ + public static int BLIS_PACK_FWD_IF_UPPER() { + return BLIS_PACK_FWD_IF_UPPER; + } + private static final int BLIS_PACK_REV_IF_UPPER = (int)65536L; + /** + * {@snippet lang=c : + * enum packord_t.BLIS_PACK_REV_IF_UPPER = 65536 + * } + */ + public static int BLIS_PACK_REV_IF_UPPER() { + return BLIS_PACK_REV_IF_UPPER; + } + private static final int BLIS_PACK_FWD_IF_LOWER = (int)0L; + /** + * {@snippet lang=c : + * enum packord_t.BLIS_PACK_FWD_IF_LOWER = 0 + * } + */ + public static int BLIS_PACK_FWD_IF_LOWER() { + return BLIS_PACK_FWD_IF_LOWER; + } + private static final int BLIS_PACK_REV_IF_LOWER = (int)131072L; + /** + * {@snippet lang=c : + * enum packord_t.BLIS_PACK_REV_IF_LOWER = 131072 + * } + */ + public static int BLIS_PACK_REV_IF_LOWER() { + return BLIS_PACK_REV_IF_LOWER; + } + private static final int BLIS_BUFFER_FOR_A_BLOCK = (int)0L; + /** + * {@snippet lang=c : + * enum packbuf_t.BLIS_BUFFER_FOR_A_BLOCK = 0 + * } + */ + public static int BLIS_BUFFER_FOR_A_BLOCK() { + return BLIS_BUFFER_FOR_A_BLOCK; + } + private static final int BLIS_BUFFER_FOR_B_PANEL = (int)262144L; + /** + * {@snippet lang=c : + * enum packbuf_t.BLIS_BUFFER_FOR_B_PANEL = 262144 + * } + */ + public static int BLIS_BUFFER_FOR_B_PANEL() { + return BLIS_BUFFER_FOR_B_PANEL; + } + private static final int BLIS_BUFFER_FOR_C_PANEL = (int)524288L; + /** + * {@snippet lang=c : + * enum packbuf_t.BLIS_BUFFER_FOR_C_PANEL = 524288 + * } + */ + public static int BLIS_BUFFER_FOR_C_PANEL() { + return BLIS_BUFFER_FOR_C_PANEL; + } + private static final int BLIS_BUFFER_FOR_GEN_USE = (int)786432L; + /** + * {@snippet lang=c : + * enum packbuf_t.BLIS_BUFFER_FOR_GEN_USE = 786432 + * } + */ + public static int BLIS_BUFFER_FOR_GEN_USE() { + return BLIS_BUFFER_FOR_GEN_USE; + } + private static final int BLIS_FWD = (int)0L; + /** + * {@snippet lang=c : + * enum dir_t.BLIS_FWD = 0 + * } + */ + public static int BLIS_FWD() { + return BLIS_FWD; + } + private static final int BLIS_BWD = (int)1L; + /** + * {@snippet lang=c : + * enum dir_t.BLIS_BWD = 1 + * } + */ + public static int BLIS_BWD() { + return BLIS_BWD; + } + private static final int BLIS_SUBPART0 = (int)0L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART0 = 0 + * } + */ + public static int BLIS_SUBPART0() { + return BLIS_SUBPART0; + } + private static final int BLIS_SUBPART1 = (int)1L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART1 = 1 + * } + */ + public static int BLIS_SUBPART1() { + return BLIS_SUBPART1; + } + private static final int BLIS_SUBPART2 = (int)2L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART2 = 2 + * } + */ + public static int BLIS_SUBPART2() { + return BLIS_SUBPART2; + } + private static final int BLIS_SUBPART1AND0 = (int)3L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART1AND0 = 3 + * } + */ + public static int BLIS_SUBPART1AND0() { + return BLIS_SUBPART1AND0; + } + private static final int BLIS_SUBPART1AND2 = (int)4L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART1AND2 = 4 + * } + */ + public static int BLIS_SUBPART1AND2() { + return BLIS_SUBPART1AND2; + } + private static final int BLIS_SUBPART1A = (int)5L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART1A = 5 + * } + */ + public static int BLIS_SUBPART1A() { + return BLIS_SUBPART1A; + } + private static final int BLIS_SUBPART1B = (int)6L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART1B = 6 + * } + */ + public static int BLIS_SUBPART1B() { + return BLIS_SUBPART1B; + } + private static final int BLIS_SUBPART00 = (int)7L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART00 = 7 + * } + */ + public static int BLIS_SUBPART00() { + return BLIS_SUBPART00; + } + private static final int BLIS_SUBPART10 = (int)8L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART10 = 8 + * } + */ + public static int BLIS_SUBPART10() { + return BLIS_SUBPART10; + } + private static final int BLIS_SUBPART20 = (int)9L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART20 = 9 + * } + */ + public static int BLIS_SUBPART20() { + return BLIS_SUBPART20; + } + private static final int BLIS_SUBPART01 = (int)10L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART01 = 10 + * } + */ + public static int BLIS_SUBPART01() { + return BLIS_SUBPART01; + } + private static final int BLIS_SUBPART11 = (int)11L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART11 = 11 + * } + */ + public static int BLIS_SUBPART11() { + return BLIS_SUBPART11; + } + private static final int BLIS_SUBPART21 = (int)12L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART21 = 12 + * } + */ + public static int BLIS_SUBPART21() { + return BLIS_SUBPART21; + } + private static final int BLIS_SUBPART02 = (int)13L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART02 = 13 + * } + */ + public static int BLIS_SUBPART02() { + return BLIS_SUBPART02; + } + private static final int BLIS_SUBPART12 = (int)14L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART12 = 14 + * } + */ + public static int BLIS_SUBPART12() { + return BLIS_SUBPART12; + } + private static final int BLIS_SUBPART22 = (int)15L; + /** + * {@snippet lang=c : + * enum subpart_t.BLIS_SUBPART22 = 15 + * } + */ + public static int BLIS_SUBPART22() { + return BLIS_SUBPART22; + } + private static final int BLIS_M = (int)0L; + /** + * {@snippet lang=c : + * enum mdim_t.BLIS_M = 0 + * } + */ + public static int BLIS_M() { + return BLIS_M; + } + private static final int BLIS_N = (int)1L; + /** + * {@snippet lang=c : + * enum mdim_t.BLIS_N = 1 + * } + */ + public static int BLIS_N() { + return BLIS_N; + } + private static final int BLIS_MACH_EPS = (int)0L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_MACH_EPS = 0 + * } + */ + public static int BLIS_MACH_EPS() { + return BLIS_MACH_EPS; + } + private static final int BLIS_MACH_SFMIN = (int)1L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_MACH_SFMIN = 1 + * } + */ + public static int BLIS_MACH_SFMIN() { + return BLIS_MACH_SFMIN; + } + private static final int BLIS_MACH_BASE = (int)2L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_MACH_BASE = 2 + * } + */ + public static int BLIS_MACH_BASE() { + return BLIS_MACH_BASE; + } + private static final int BLIS_MACH_PREC = (int)3L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_MACH_PREC = 3 + * } + */ + public static int BLIS_MACH_PREC() { + return BLIS_MACH_PREC; + } + private static final int BLIS_MACH_NDIGMANT = (int)4L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_MACH_NDIGMANT = 4 + * } + */ + public static int BLIS_MACH_NDIGMANT() { + return BLIS_MACH_NDIGMANT; + } + private static final int BLIS_MACH_RND = (int)5L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_MACH_RND = 5 + * } + */ + public static int BLIS_MACH_RND() { + return BLIS_MACH_RND; + } + private static final int BLIS_MACH_EMIN = (int)6L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_MACH_EMIN = 6 + * } + */ + public static int BLIS_MACH_EMIN() { + return BLIS_MACH_EMIN; + } + private static final int BLIS_MACH_RMIN = (int)7L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_MACH_RMIN = 7 + * } + */ + public static int BLIS_MACH_RMIN() { + return BLIS_MACH_RMIN; + } + private static final int BLIS_MACH_EMAX = (int)8L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_MACH_EMAX = 8 + * } + */ + public static int BLIS_MACH_EMAX() { + return BLIS_MACH_EMAX; + } + private static final int BLIS_MACH_RMAX = (int)9L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_MACH_RMAX = 9 + * } + */ + public static int BLIS_MACH_RMAX() { + return BLIS_MACH_RMAX; + } + private static final int BLIS_MACH_EPS2 = (int)10L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_MACH_EPS2 = 10 + * } + */ + public static int BLIS_MACH_EPS2() { + return BLIS_MACH_EPS2; + } + private static final int BLIS_NUM_MACH_PARAMS = (int)11L; + /** + * {@snippet lang=c : + * enum machval_t.BLIS_NUM_MACH_PARAMS = 11 + * } + */ + public static int BLIS_NUM_MACH_PARAMS() { + return BLIS_NUM_MACH_PARAMS; + } + private static final int BLIS_1M = (int)0L; + /** + * {@snippet lang=c : + * enum ind_t.BLIS_1M = 0 + * } + */ + public static int BLIS_1M() { + return BLIS_1M; + } + private static final int BLIS_NAT = (int)1L; + /** + * {@snippet lang=c : + * enum ind_t.BLIS_NAT = 1 + * } + */ + public static int BLIS_NAT() { + return BLIS_NAT; + } + private static final int BLIS_IND_FIRST = (int)0L; + /** + * {@snippet lang=c : + * enum ind_t.BLIS_IND_FIRST = 0 + * } + */ + public static int BLIS_IND_FIRST() { + return BLIS_IND_FIRST; + } + private static final int BLIS_IND_LAST = (int)1L; + /** + * {@snippet lang=c : + * enum ind_t.BLIS_IND_LAST = 1 + * } + */ + public static int BLIS_IND_LAST() { + return BLIS_IND_LAST; + } + private static final int BLIS_NUM_IND_METHODS = (int)2L; + /** + * {@snippet lang=c : + * enum ind_t.BLIS_NUM_IND_METHODS = 2 + * } + */ + public static int BLIS_NUM_IND_METHODS() { + return BLIS_NUM_IND_METHODS; + } + private static final int BLIS_SINGLE = (int)0L; + /** + * {@snippet lang=c : + * enum timpl_t.BLIS_SINGLE = 0 + * } + */ + public static int BLIS_SINGLE() { + return BLIS_SINGLE; + } + private static final int BLIS_OPENMP = (int)1L; + /** + * {@snippet lang=c : + * enum timpl_t.BLIS_OPENMP = 1 + * } + */ + public static int BLIS_OPENMP() { + return BLIS_OPENMP; + } + private static final int BLIS_POSIX = (int)2L; + /** + * {@snippet lang=c : + * enum timpl_t.BLIS_POSIX = 2 + * } + */ + public static int BLIS_POSIX() { + return BLIS_POSIX; + } + private static final int BLIS_HPX = (int)3L; + /** + * {@snippet lang=c : + * enum timpl_t.BLIS_HPX = 3 + * } + */ + public static int BLIS_HPX() { + return BLIS_HPX; + } + private static final int BLIS_NUM_THREAD_IMPLS = (int)4L; + /** + * {@snippet lang=c : + * enum timpl_t.BLIS_NUM_THREAD_IMPLS = 4 + * } + */ + public static int BLIS_NUM_THREAD_IMPLS() { + return BLIS_NUM_THREAD_IMPLS; + } + private static final int BLIS_ADDV_KER = (int)0L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_ADDV_KER = 0 + * } + */ + public static int BLIS_ADDV_KER() { + return BLIS_ADDV_KER; + } + private static final int BLIS_AMAXV_KER = (int)1L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_AMAXV_KER = 1 + * } + */ + public static int BLIS_AMAXV_KER() { + return BLIS_AMAXV_KER; + } + private static final int BLIS_AXPBYV_KER = (int)2L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_AXPBYV_KER = 2 + * } + */ + public static int BLIS_AXPBYV_KER() { + return BLIS_AXPBYV_KER; + } + private static final int BLIS_AXPYV_KER = (int)3L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_AXPYV_KER = 3 + * } + */ + public static int BLIS_AXPYV_KER() { + return BLIS_AXPYV_KER; + } + private static final int BLIS_COPYV_KER = (int)4L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_COPYV_KER = 4 + * } + */ + public static int BLIS_COPYV_KER() { + return BLIS_COPYV_KER; + } + private static final int BLIS_DOTV_KER = (int)5L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_DOTV_KER = 5 + * } + */ + public static int BLIS_DOTV_KER() { + return BLIS_DOTV_KER; + } + private static final int BLIS_DOTXV_KER = (int)6L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_DOTXV_KER = 6 + * } + */ + public static int BLIS_DOTXV_KER() { + return BLIS_DOTXV_KER; + } + private static final int BLIS_INVERTV_KER = (int)7L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_INVERTV_KER = 7 + * } + */ + public static int BLIS_INVERTV_KER() { + return BLIS_INVERTV_KER; + } + private static final int BLIS_INVSCALV_KER = (int)8L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_INVSCALV_KER = 8 + * } + */ + public static int BLIS_INVSCALV_KER() { + return BLIS_INVSCALV_KER; + } + private static final int BLIS_SCALV_KER = (int)9L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_SCALV_KER = 9 + * } + */ + public static int BLIS_SCALV_KER() { + return BLIS_SCALV_KER; + } + private static final int BLIS_SCAL2V_KER = (int)10L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_SCAL2V_KER = 10 + * } + */ + public static int BLIS_SCAL2V_KER() { + return BLIS_SCAL2V_KER; + } + private static final int BLIS_SETV_KER = (int)11L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_SETV_KER = 11 + * } + */ + public static int BLIS_SETV_KER() { + return BLIS_SETV_KER; + } + private static final int BLIS_SUBV_KER = (int)12L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_SUBV_KER = 12 + * } + */ + public static int BLIS_SUBV_KER() { + return BLIS_SUBV_KER; + } + private static final int BLIS_SWAPV_KER = (int)13L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_SWAPV_KER = 13 + * } + */ + public static int BLIS_SWAPV_KER() { + return BLIS_SWAPV_KER; + } + private static final int BLIS_XPBYV_KER = (int)14L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_XPBYV_KER = 14 + * } + */ + public static int BLIS_XPBYV_KER() { + return BLIS_XPBYV_KER; + } + private static final int BLIS_AXPY2V_KER = (int)15L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_AXPY2V_KER = 15 + * } + */ + public static int BLIS_AXPY2V_KER() { + return BLIS_AXPY2V_KER; + } + private static final int BLIS_DOTAXPYV_KER = (int)16L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_DOTAXPYV_KER = 16 + * } + */ + public static int BLIS_DOTAXPYV_KER() { + return BLIS_DOTAXPYV_KER; + } + private static final int BLIS_AXPYF_KER = (int)17L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_AXPYF_KER = 17 + * } + */ + public static int BLIS_AXPYF_KER() { + return BLIS_AXPYF_KER; + } + private static final int BLIS_DOTXF_KER = (int)18L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_DOTXF_KER = 18 + * } + */ + public static int BLIS_DOTXF_KER() { + return BLIS_DOTXF_KER; + } + private static final int BLIS_DOTXAXPYF_KER = (int)19L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_DOTXAXPYF_KER = 19 + * } + */ + public static int BLIS_DOTXAXPYF_KER() { + return BLIS_DOTXAXPYF_KER; + } + private static final int BLIS_GEMMTRSM_L_UKR = (int)20L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMTRSM_L_UKR = 20 + * } + */ + public static int BLIS_GEMMTRSM_L_UKR() { + return BLIS_GEMMTRSM_L_UKR; + } + private static final int BLIS_GEMMTRSM_U_UKR = (int)21L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMTRSM_U_UKR = 21 + * } + */ + public static int BLIS_GEMMTRSM_U_UKR() { + return BLIS_GEMMTRSM_U_UKR; + } + private static final int BLIS_TRSM_L_UKR = (int)22L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_TRSM_L_UKR = 22 + * } + */ + public static int BLIS_TRSM_L_UKR() { + return BLIS_TRSM_L_UKR; + } + private static final int BLIS_TRSM_U_UKR = (int)23L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_TRSM_U_UKR = 23 + * } + */ + public static int BLIS_TRSM_U_UKR() { + return BLIS_TRSM_U_UKR; + } + private static final int BLIS_GEMMTRSM1M_L_UKR = (int)24L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMTRSM1M_L_UKR = 24 + * } + */ + public static int BLIS_GEMMTRSM1M_L_UKR() { + return BLIS_GEMMTRSM1M_L_UKR; + } + private static final int BLIS_GEMMTRSM1M_U_UKR = (int)25L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMTRSM1M_U_UKR = 25 + * } + */ + public static int BLIS_GEMMTRSM1M_U_UKR() { + return BLIS_GEMMTRSM1M_U_UKR; + } + private static final int BLIS_GEMMSUP_RRR_UKR = (int)26L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMSUP_RRR_UKR = 26 + * } + */ + public static int BLIS_GEMMSUP_RRR_UKR() { + return BLIS_GEMMSUP_RRR_UKR; + } + private static final int BLIS_GEMMSUP_RRC_UKR = (int)27L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMSUP_RRC_UKR = 27 + * } + */ + public static int BLIS_GEMMSUP_RRC_UKR() { + return BLIS_GEMMSUP_RRC_UKR; + } + private static final int BLIS_GEMMSUP_RCR_UKR = (int)28L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMSUP_RCR_UKR = 28 + * } + */ + public static int BLIS_GEMMSUP_RCR_UKR() { + return BLIS_GEMMSUP_RCR_UKR; + } + private static final int BLIS_GEMMSUP_RCC_UKR = (int)29L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMSUP_RCC_UKR = 29 + * } + */ + public static int BLIS_GEMMSUP_RCC_UKR() { + return BLIS_GEMMSUP_RCC_UKR; + } + private static final int BLIS_GEMMSUP_CRR_UKR = (int)30L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMSUP_CRR_UKR = 30 + * } + */ + public static int BLIS_GEMMSUP_CRR_UKR() { + return BLIS_GEMMSUP_CRR_UKR; + } + private static final int BLIS_GEMMSUP_CRC_UKR = (int)31L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMSUP_CRC_UKR = 31 + * } + */ + public static int BLIS_GEMMSUP_CRC_UKR() { + return BLIS_GEMMSUP_CRC_UKR; + } + private static final int BLIS_GEMMSUP_CCR_UKR = (int)32L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMSUP_CCR_UKR = 32 + * } + */ + public static int BLIS_GEMMSUP_CCR_UKR() { + return BLIS_GEMMSUP_CCR_UKR; + } + private static final int BLIS_GEMMSUP_CCC_UKR = (int)33L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMSUP_CCC_UKR = 33 + * } + */ + public static int BLIS_GEMMSUP_CCC_UKR() { + return BLIS_GEMMSUP_CCC_UKR; + } + private static final int BLIS_GEMMSUP_XXX_UKR = (int)34L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMMSUP_XXX_UKR = 34 + * } + */ + public static int BLIS_GEMMSUP_XXX_UKR() { + return BLIS_GEMMSUP_XXX_UKR; + } + private static final int BLIS_NUM_UKRS_ = (int)35L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_NUM_UKRS_ = 35 + * } + */ + public static int BLIS_NUM_UKRS_() { + return BLIS_NUM_UKRS_; + } + private static final int BLIS_NUM_UKRS = (int)35L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_NUM_UKRS = 35 + * } + */ + public static int BLIS_NUM_UKRS() { + return BLIS_NUM_UKRS; + } + private static final int BLIS_PACKM_KER = (int)268435456L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_PACKM_KER = 268435456 + * } + */ + public static int BLIS_PACKM_KER() { + return BLIS_PACKM_KER; + } + private static final int BLIS_PACKM_1ER_KER = (int)268435457L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_PACKM_1ER_KER = 268435457 + * } + */ + public static int BLIS_PACKM_1ER_KER() { + return BLIS_PACKM_1ER_KER; + } + private static final int BLIS_PACKM_RO_KER = (int)268435458L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_PACKM_RO_KER = 268435458 + * } + */ + public static int BLIS_PACKM_RO_KER() { + return BLIS_PACKM_RO_KER; + } + private static final int BLIS_PACKM_DIAG_KER = (int)268435459L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_PACKM_DIAG_KER = 268435459 + * } + */ + public static int BLIS_PACKM_DIAG_KER() { + return BLIS_PACKM_DIAG_KER; + } + private static final int BLIS_PACKM_DIAG_1ER_KER = (int)268435460L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_PACKM_DIAG_1ER_KER = 268435460 + * } + */ + public static int BLIS_PACKM_DIAG_1ER_KER() { + return BLIS_PACKM_DIAG_1ER_KER; + } + private static final int BLIS_PACKM_DIAG_RO_KER = (int)268435461L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_PACKM_DIAG_RO_KER = 268435461 + * } + */ + public static int BLIS_PACKM_DIAG_RO_KER() { + return BLIS_PACKM_DIAG_RO_KER; + } + private static final int BLIS_UNPACKM_KER = (int)268435462L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_UNPACKM_KER = 268435462 + * } + */ + public static int BLIS_UNPACKM_KER() { + return BLIS_UNPACKM_KER; + } + private static final int BLIS_GEMM_UKR = (int)268435463L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMM_UKR = 268435463 + * } + */ + public static int BLIS_GEMM_UKR() { + return BLIS_GEMM_UKR; + } + private static final int BLIS_GEMM1M_UKR = (int)268435464L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMM1M_UKR = 268435464 + * } + */ + public static int BLIS_GEMM1M_UKR() { + return BLIS_GEMM1M_UKR; + } + private static final int BLIS_GEMM_CCR_UKR = (int)268435465L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMM_CCR_UKR = 268435465 + * } + */ + public static int BLIS_GEMM_CCR_UKR() { + return BLIS_GEMM_CCR_UKR; + } + private static final int BLIS_GEMM_RCC_UKR = (int)268435466L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMM_RCC_UKR = 268435466 + * } + */ + public static int BLIS_GEMM_RCC_UKR() { + return BLIS_GEMM_RCC_UKR; + } + private static final int BLIS_GEMM_CRR_UKR = (int)268435467L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_GEMM_CRR_UKR = 268435467 + * } + */ + public static int BLIS_GEMM_CRR_UKR() { + return BLIS_GEMM_CRR_UKR; + } + private static final int BLIS_NUM_UKR2S_ = (int)268435468L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_NUM_UKR2S_ = 268435468 + * } + */ + public static int BLIS_NUM_UKR2S_() { + return BLIS_NUM_UKR2S_; + } + private static final int BLIS_NUM_UKR2S = (int)12L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_NUM_UKR2S = 12 + * } + */ + public static int BLIS_NUM_UKR2S() { + return BLIS_NUM_UKR2S; + } + private static final int BLIS_UKRS_END_ = (int)-1L; + /** + * {@snippet lang=c : + * enum ukr_t.BLIS_UKRS_END_ = -1 + * } + */ + public static int BLIS_UKRS_END_() { + return BLIS_UKRS_END_; + } + private static final int BLIS_GEMM_UKR_ROW_PREF = (int)0L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMM_UKR_ROW_PREF = 0 + * } + */ + public static int BLIS_GEMM_UKR_ROW_PREF() { + return BLIS_GEMM_UKR_ROW_PREF; + } + private static final int BLIS_GEMMTRSM_L_UKR_ROW_PREF = (int)1L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMMTRSM_L_UKR_ROW_PREF = 1 + * } + */ + public static int BLIS_GEMMTRSM_L_UKR_ROW_PREF() { + return BLIS_GEMMTRSM_L_UKR_ROW_PREF; + } + private static final int BLIS_GEMMTRSM_U_UKR_ROW_PREF = (int)2L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMMTRSM_U_UKR_ROW_PREF = 2 + * } + */ + public static int BLIS_GEMMTRSM_U_UKR_ROW_PREF() { + return BLIS_GEMMTRSM_U_UKR_ROW_PREF; + } + private static final int BLIS_TRSM_L_UKR_ROW_PREF = (int)3L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_TRSM_L_UKR_ROW_PREF = 3 + * } + */ + public static int BLIS_TRSM_L_UKR_ROW_PREF() { + return BLIS_TRSM_L_UKR_ROW_PREF; + } + private static final int BLIS_TRSM_U_UKR_ROW_PREF = (int)4L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_TRSM_U_UKR_ROW_PREF = 4 + * } + */ + public static int BLIS_TRSM_U_UKR_ROW_PREF() { + return BLIS_TRSM_U_UKR_ROW_PREF; + } + private static final int BLIS_GEMMSUP_RRR_UKR_ROW_PREF = (int)5L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMMSUP_RRR_UKR_ROW_PREF = 5 + * } + */ + public static int BLIS_GEMMSUP_RRR_UKR_ROW_PREF() { + return BLIS_GEMMSUP_RRR_UKR_ROW_PREF; + } + private static final int BLIS_GEMMSUP_RRC_UKR_ROW_PREF = (int)6L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMMSUP_RRC_UKR_ROW_PREF = 6 + * } + */ + public static int BLIS_GEMMSUP_RRC_UKR_ROW_PREF() { + return BLIS_GEMMSUP_RRC_UKR_ROW_PREF; + } + private static final int BLIS_GEMMSUP_RCR_UKR_ROW_PREF = (int)7L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMMSUP_RCR_UKR_ROW_PREF = 7 + * } + */ + public static int BLIS_GEMMSUP_RCR_UKR_ROW_PREF() { + return BLIS_GEMMSUP_RCR_UKR_ROW_PREF; + } + private static final int BLIS_GEMMSUP_RCC_UKR_ROW_PREF = (int)8L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMMSUP_RCC_UKR_ROW_PREF = 8 + * } + */ + public static int BLIS_GEMMSUP_RCC_UKR_ROW_PREF() { + return BLIS_GEMMSUP_RCC_UKR_ROW_PREF; + } + private static final int BLIS_GEMMSUP_CRR_UKR_ROW_PREF = (int)9L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMMSUP_CRR_UKR_ROW_PREF = 9 + * } + */ + public static int BLIS_GEMMSUP_CRR_UKR_ROW_PREF() { + return BLIS_GEMMSUP_CRR_UKR_ROW_PREF; + } + private static final int BLIS_GEMMSUP_CRC_UKR_ROW_PREF = (int)10L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMMSUP_CRC_UKR_ROW_PREF = 10 + * } + */ + public static int BLIS_GEMMSUP_CRC_UKR_ROW_PREF() { + return BLIS_GEMMSUP_CRC_UKR_ROW_PREF; + } + private static final int BLIS_GEMMSUP_CCR_UKR_ROW_PREF = (int)11L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMMSUP_CCR_UKR_ROW_PREF = 11 + * } + */ + public static int BLIS_GEMMSUP_CCR_UKR_ROW_PREF() { + return BLIS_GEMMSUP_CCR_UKR_ROW_PREF; + } + private static final int BLIS_GEMMSUP_CCC_UKR_ROW_PREF = (int)12L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMMSUP_CCC_UKR_ROW_PREF = 12 + * } + */ + public static int BLIS_GEMMSUP_CCC_UKR_ROW_PREF() { + return BLIS_GEMMSUP_CCC_UKR_ROW_PREF; + } + private static final int BLIS_GEMMSUP_XXX_UKR_ROW_PREF = (int)13L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_GEMMSUP_XXX_UKR_ROW_PREF = 13 + * } + */ + public static int BLIS_GEMMSUP_XXX_UKR_ROW_PREF() { + return BLIS_GEMMSUP_XXX_UKR_ROW_PREF; + } + private static final int BLIS_NUM_UKR_PREFS = (int)14L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_NUM_UKR_PREFS = 14 + * } + */ + public static int BLIS_NUM_UKR_PREFS() { + return BLIS_NUM_UKR_PREFS; + } + private static final int BLIS_UKR_PREFS_END_ = (int)-1L; + /** + * {@snippet lang=c : + * enum ukr_pref_t.BLIS_UKR_PREFS_END_ = -1 + * } + */ + public static int BLIS_UKR_PREFS_END_() { + return BLIS_UKR_PREFS_END_; + } + private static final int BLIS_REFERENCE_UKERNEL = (int)0L; + /** + * {@snippet lang=c : + * enum kimpl_t.BLIS_REFERENCE_UKERNEL = 0 + * } + */ + public static int BLIS_REFERENCE_UKERNEL() { + return BLIS_REFERENCE_UKERNEL; + } + private static final int BLIS_VIRTUAL_UKERNEL = (int)1L; + /** + * {@snippet lang=c : + * enum kimpl_t.BLIS_VIRTUAL_UKERNEL = 1 + * } + */ + public static int BLIS_VIRTUAL_UKERNEL() { + return BLIS_VIRTUAL_UKERNEL; + } + private static final int BLIS_OPTIMIZED_UKERNEL = (int)2L; + /** + * {@snippet lang=c : + * enum kimpl_t.BLIS_OPTIMIZED_UKERNEL = 2 + * } + */ + public static int BLIS_OPTIMIZED_UKERNEL() { + return BLIS_OPTIMIZED_UKERNEL; + } + private static final int BLIS_NOTAPPLIC_UKERNEL = (int)3L; + /** + * {@snippet lang=c : + * enum kimpl_t.BLIS_NOTAPPLIC_UKERNEL = 3 + * } + */ + public static int BLIS_NOTAPPLIC_UKERNEL() { + return BLIS_NOTAPPLIC_UKERNEL; + } + private static final int BLIS_NUM_UKR_IMPL_TYPES = (int)4L; + /** + * {@snippet lang=c : + * enum kimpl_t.BLIS_NUM_UKR_IMPL_TYPES = 4 + * } + */ + public static int BLIS_NUM_UKR_IMPL_TYPES() { + return BLIS_NUM_UKR_IMPL_TYPES; + } + private static final int BLIS_RRR = (int)0L; + /** + * {@snippet lang=c : + * enum stor3_t.BLIS_RRR = 0 + * } + */ + public static int BLIS_RRR() { + return BLIS_RRR; + } + private static final int BLIS_RRC = (int)1L; + /** + * {@snippet lang=c : + * enum stor3_t.BLIS_RRC = 1 + * } + */ + public static int BLIS_RRC() { + return BLIS_RRC; + } + private static final int BLIS_RCR = (int)2L; + /** + * {@snippet lang=c : + * enum stor3_t.BLIS_RCR = 2 + * } + */ + public static int BLIS_RCR() { + return BLIS_RCR; + } + private static final int BLIS_RCC = (int)3L; + /** + * {@snippet lang=c : + * enum stor3_t.BLIS_RCC = 3 + * } + */ + public static int BLIS_RCC() { + return BLIS_RCC; + } + private static final int BLIS_CRR = (int)4L; + /** + * {@snippet lang=c : + * enum stor3_t.BLIS_CRR = 4 + * } + */ + public static int BLIS_CRR() { + return BLIS_CRR; + } + private static final int BLIS_CRC = (int)5L; + /** + * {@snippet lang=c : + * enum stor3_t.BLIS_CRC = 5 + * } + */ + public static int BLIS_CRC() { + return BLIS_CRC; + } + private static final int BLIS_CCR = (int)6L; + /** + * {@snippet lang=c : + * enum stor3_t.BLIS_CCR = 6 + * } + */ + public static int BLIS_CCR() { + return BLIS_CCR; + } + private static final int BLIS_CCC = (int)7L; + /** + * {@snippet lang=c : + * enum stor3_t.BLIS_CCC = 7 + * } + */ + public static int BLIS_CCC() { + return BLIS_CCC; + } + private static final int BLIS_XXX = (int)8L; + /** + * {@snippet lang=c : + * enum stor3_t.BLIS_XXX = 8 + * } + */ + public static int BLIS_XXX() { + return BLIS_XXX; + } + private static final int BLIS_NUM_3OP_RC_COMBOS = (int)9L; + /** + * {@snippet lang=c : + * enum stor3_t.BLIS_NUM_3OP_RC_COMBOS = 9 + * } + */ + public static int BLIS_NUM_3OP_RC_COMBOS() { + return BLIS_NUM_3OP_RC_COMBOS; + } + private static final int BLIS_GEMM = (int)0L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_GEMM = 0 + * } + */ + public static int BLIS_GEMM() { + return BLIS_GEMM; + } + private static final int BLIS_GEMMT = (int)1L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_GEMMT = 1 + * } + */ + public static int BLIS_GEMMT() { + return BLIS_GEMMT; + } + private static final int BLIS_HEMM = (int)2L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_HEMM = 2 + * } + */ + public static int BLIS_HEMM() { + return BLIS_HEMM; + } + private static final int BLIS_HERK = (int)3L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_HERK = 3 + * } + */ + public static int BLIS_HERK() { + return BLIS_HERK; + } + private static final int BLIS_HER2K = (int)4L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_HER2K = 4 + * } + */ + public static int BLIS_HER2K() { + return BLIS_HER2K; + } + private static final int BLIS_SYMM = (int)5L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_SYMM = 5 + * } + */ + public static int BLIS_SYMM() { + return BLIS_SYMM; + } + private static final int BLIS_SYRK = (int)6L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_SYRK = 6 + * } + */ + public static int BLIS_SYRK() { + return BLIS_SYRK; + } + private static final int BLIS_SYR2K = (int)7L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_SYR2K = 7 + * } + */ + public static int BLIS_SYR2K() { + return BLIS_SYR2K; + } + private static final int BLIS_TRMM3 = (int)8L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_TRMM3 = 8 + * } + */ + public static int BLIS_TRMM3() { + return BLIS_TRMM3; + } + private static final int BLIS_TRMM = (int)9L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_TRMM = 9 + * } + */ + public static int BLIS_TRMM() { + return BLIS_TRMM; + } + private static final int BLIS_TRSM = (int)10L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_TRSM = 10 + * } + */ + public static int BLIS_TRSM() { + return BLIS_TRSM; + } + private static final int BLIS_NOID = (int)11L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_NOID = 11 + * } + */ + public static int BLIS_NOID() { + return BLIS_NOID; + } + private static final int BLIS_NUM_LEVEL3_OPS = (int)11L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_NUM_LEVEL3_OPS = 11 + * } + */ + public static int BLIS_NUM_LEVEL3_OPS() { + return BLIS_NUM_LEVEL3_OPS; + } + private static final int BLIS_LEVEL3_OPS_END_ = (int)-1L; + /** + * {@snippet lang=c : + * enum opid_t.BLIS_LEVEL3_OPS_END_ = -1 + * } + */ + public static int BLIS_LEVEL3_OPS_END_() { + return BLIS_LEVEL3_OPS_END_; + } + private static final int BLIS_KR = (int)0L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_KR = 0 + * } + */ + public static int BLIS_KR() { + return BLIS_KR; + } + private static final int BLIS_MR = (int)1L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_MR = 1 + * } + */ + public static int BLIS_MR() { + return BLIS_MR; + } + private static final int BLIS_NR = (int)2L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_NR = 2 + * } + */ + public static int BLIS_NR() { + return BLIS_NR; + } + private static final int BLIS_MC = (int)3L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_MC = 3 + * } + */ + public static int BLIS_MC() { + return BLIS_MC; + } + private static final int BLIS_KC = (int)4L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_KC = 4 + * } + */ + public static int BLIS_KC() { + return BLIS_KC; + } + private static final int BLIS_NC = (int)5L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_NC = 5 + * } + */ + public static int BLIS_NC() { + return BLIS_NC; + } + private static final int BLIS_BBM = (int)6L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_BBM = 6 + * } + */ + public static int BLIS_BBM() { + return BLIS_BBM; + } + private static final int BLIS_BBN = (int)7L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_BBN = 7 + * } + */ + public static int BLIS_BBN() { + return BLIS_BBN; + } + private static final int BLIS_M2 = (int)8L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_M2 = 8 + * } + */ + public static int BLIS_M2() { + return BLIS_M2; + } + private static final int BLIS_N2 = (int)9L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_N2 = 9 + * } + */ + public static int BLIS_N2() { + return BLIS_N2; + } + private static final int BLIS_AF = (int)10L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_AF = 10 + * } + */ + public static int BLIS_AF() { + return BLIS_AF; + } + private static final int BLIS_DF = (int)11L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_DF = 11 + * } + */ + public static int BLIS_DF() { + return BLIS_DF; + } + private static final int BLIS_XF = (int)12L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_XF = 12 + * } + */ + public static int BLIS_XF() { + return BLIS_XF; + } + private static final int BLIS_MT = (int)13L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_MT = 13 + * } + */ + public static int BLIS_MT() { + return BLIS_MT; + } + private static final int BLIS_NT = (int)14L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_NT = 14 + * } + */ + public static int BLIS_NT() { + return BLIS_NT; + } + private static final int BLIS_KT = (int)15L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_KT = 15 + * } + */ + public static int BLIS_KT() { + return BLIS_KT; + } + private static final int BLIS_KR_SUP = (int)16L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_KR_SUP = 16 + * } + */ + public static int BLIS_KR_SUP() { + return BLIS_KR_SUP; + } + private static final int BLIS_MR_SUP = (int)17L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_MR_SUP = 17 + * } + */ + public static int BLIS_MR_SUP() { + return BLIS_MR_SUP; + } + private static final int BLIS_NR_SUP = (int)18L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_NR_SUP = 18 + * } + */ + public static int BLIS_NR_SUP() { + return BLIS_NR_SUP; + } + private static final int BLIS_MC_SUP = (int)19L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_MC_SUP = 19 + * } + */ + public static int BLIS_MC_SUP() { + return BLIS_MC_SUP; + } + private static final int BLIS_KC_SUP = (int)20L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_KC_SUP = 20 + * } + */ + public static int BLIS_KC_SUP() { + return BLIS_KC_SUP; + } + private static final int BLIS_NC_SUP = (int)21L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_NC_SUP = 21 + * } + */ + public static int BLIS_NC_SUP() { + return BLIS_NC_SUP; + } + private static final int BLIS_NO_PART = (int)22L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_NO_PART = 22 + * } + */ + public static int BLIS_NO_PART() { + return BLIS_NO_PART; + } + private static final int BLIS_NUM_BLKSZS = (int)22L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_NUM_BLKSZS = 22 + * } + */ + public static int BLIS_NUM_BLKSZS() { + return BLIS_NUM_BLKSZS; + } + private static final int BLIS_BLKSZS_END_ = (int)-1L; + /** + * {@snippet lang=c : + * enum bszid_t.BLIS_BLKSZS_END_ = -1 + * } + */ + public static int BLIS_BLKSZS_END_() { + return BLIS_BLKSZS_END_; + } + private static final int BLIS_THREAD_NONE = (int)0L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/include//bli_type_defs.h:940:1).BLIS_THREAD_NONE = 0 + * } + */ + public static int BLIS_THREAD_NONE() { + return BLIS_THREAD_NONE; + } + private static final int BLIS_THREAD_KR = (int)1L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/include//bli_type_defs.h:940:1).BLIS_THREAD_KR = 1 + * } + */ + public static int BLIS_THREAD_KR() { + return BLIS_THREAD_KR; + } + private static final int BLIS_THREAD_MR = (int)2L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/include//bli_type_defs.h:940:1).BLIS_THREAD_MR = 2 + * } + */ + public static int BLIS_THREAD_MR() { + return BLIS_THREAD_MR; + } + private static final int BLIS_THREAD_NR = (int)4L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/include//bli_type_defs.h:940:1).BLIS_THREAD_NR = 4 + * } + */ + public static int BLIS_THREAD_NR() { + return BLIS_THREAD_NR; + } + private static final int BLIS_THREAD_MC = (int)8L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/include//bli_type_defs.h:940:1).BLIS_THREAD_MC = 8 + * } + */ + public static int BLIS_THREAD_MC() { + return BLIS_THREAD_MC; + } + private static final int BLIS_THREAD_KC = (int)16L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/include//bli_type_defs.h:940:1).BLIS_THREAD_KC = 16 + * } + */ + public static int BLIS_THREAD_KC() { + return BLIS_THREAD_KC; + } + private static final int BLIS_THREAD_NC = (int)32L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/include//bli_type_defs.h:940:1).BLIS_THREAD_NC = 32 + * } + */ + public static int BLIS_THREAD_NC() { + return BLIS_THREAD_NC; + } + private static final int BLIS_ARCH_SKX = (int)0L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_SKX = 0 + * } + */ + public static int BLIS_ARCH_SKX() { + return BLIS_ARCH_SKX; + } + private static final int BLIS_ARCH_KNL = (int)1L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_KNL = 1 + * } + */ + public static int BLIS_ARCH_KNL() { + return BLIS_ARCH_KNL; + } + private static final int BLIS_ARCH_KNC = (int)2L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_KNC = 2 + * } + */ + public static int BLIS_ARCH_KNC() { + return BLIS_ARCH_KNC; + } + private static final int BLIS_ARCH_HASWELL = (int)3L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_HASWELL = 3 + * } + */ + public static int BLIS_ARCH_HASWELL() { + return BLIS_ARCH_HASWELL; + } + private static final int BLIS_ARCH_SANDYBRIDGE = (int)4L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_SANDYBRIDGE = 4 + * } + */ + public static int BLIS_ARCH_SANDYBRIDGE() { + return BLIS_ARCH_SANDYBRIDGE; + } + private static final int BLIS_ARCH_PENRYN = (int)5L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_PENRYN = 5 + * } + */ + public static int BLIS_ARCH_PENRYN() { + return BLIS_ARCH_PENRYN; + } + private static final int BLIS_ARCH_ZEN3 = (int)6L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_ZEN3 = 6 + * } + */ + public static int BLIS_ARCH_ZEN3() { + return BLIS_ARCH_ZEN3; + } + private static final int BLIS_ARCH_ZEN2 = (int)7L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_ZEN2 = 7 + * } + */ + public static int BLIS_ARCH_ZEN2() { + return BLIS_ARCH_ZEN2; + } + private static final int BLIS_ARCH_ZEN = (int)8L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_ZEN = 8 + * } + */ + public static int BLIS_ARCH_ZEN() { + return BLIS_ARCH_ZEN; + } + private static final int BLIS_ARCH_EXCAVATOR = (int)9L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_EXCAVATOR = 9 + * } + */ + public static int BLIS_ARCH_EXCAVATOR() { + return BLIS_ARCH_EXCAVATOR; + } + private static final int BLIS_ARCH_STEAMROLLER = (int)10L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_STEAMROLLER = 10 + * } + */ + public static int BLIS_ARCH_STEAMROLLER() { + return BLIS_ARCH_STEAMROLLER; + } + private static final int BLIS_ARCH_PILEDRIVER = (int)11L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_PILEDRIVER = 11 + * } + */ + public static int BLIS_ARCH_PILEDRIVER() { + return BLIS_ARCH_PILEDRIVER; + } + private static final int BLIS_ARCH_BULLDOZER = (int)12L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_BULLDOZER = 12 + * } + */ + public static int BLIS_ARCH_BULLDOZER() { + return BLIS_ARCH_BULLDOZER; + } + private static final int BLIS_ARCH_ARMSVE = (int)13L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_ARMSVE = 13 + * } + */ + public static int BLIS_ARCH_ARMSVE() { + return BLIS_ARCH_ARMSVE; + } + private static final int BLIS_ARCH_A64FX = (int)14L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_A64FX = 14 + * } + */ + public static int BLIS_ARCH_A64FX() { + return BLIS_ARCH_A64FX; + } + private static final int BLIS_ARCH_ALTRAMAX = (int)15L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_ALTRAMAX = 15 + * } + */ + public static int BLIS_ARCH_ALTRAMAX() { + return BLIS_ARCH_ALTRAMAX; + } + private static final int BLIS_ARCH_ALTRA = (int)16L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_ALTRA = 16 + * } + */ + public static int BLIS_ARCH_ALTRA() { + return BLIS_ARCH_ALTRA; + } + private static final int BLIS_ARCH_FIRESTORM = (int)17L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_FIRESTORM = 17 + * } + */ + public static int BLIS_ARCH_FIRESTORM() { + return BLIS_ARCH_FIRESTORM; + } + private static final int BLIS_ARCH_THUNDERX2 = (int)18L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_THUNDERX2 = 18 + * } + */ + public static int BLIS_ARCH_THUNDERX2() { + return BLIS_ARCH_THUNDERX2; + } + private static final int BLIS_ARCH_CORTEXA57 = (int)19L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_CORTEXA57 = 19 + * } + */ + public static int BLIS_ARCH_CORTEXA57() { + return BLIS_ARCH_CORTEXA57; + } + private static final int BLIS_ARCH_CORTEXA53 = (int)20L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_CORTEXA53 = 20 + * } + */ + public static int BLIS_ARCH_CORTEXA53() { + return BLIS_ARCH_CORTEXA53; + } + private static final int BLIS_ARCH_CORTEXA15 = (int)21L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_CORTEXA15 = 21 + * } + */ + public static int BLIS_ARCH_CORTEXA15() { + return BLIS_ARCH_CORTEXA15; + } + private static final int BLIS_ARCH_CORTEXA9 = (int)22L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_CORTEXA9 = 22 + * } + */ + public static int BLIS_ARCH_CORTEXA9() { + return BLIS_ARCH_CORTEXA9; + } + private static final int BLIS_ARCH_POWER10 = (int)23L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_POWER10 = 23 + * } + */ + public static int BLIS_ARCH_POWER10() { + return BLIS_ARCH_POWER10; + } + private static final int BLIS_ARCH_POWER9 = (int)24L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_POWER9 = 24 + * } + */ + public static int BLIS_ARCH_POWER9() { + return BLIS_ARCH_POWER9; + } + private static final int BLIS_ARCH_POWER7 = (int)25L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_POWER7 = 25 + * } + */ + public static int BLIS_ARCH_POWER7() { + return BLIS_ARCH_POWER7; + } + private static final int BLIS_ARCH_BGQ = (int)26L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_BGQ = 26 + * } + */ + public static int BLIS_ARCH_BGQ() { + return BLIS_ARCH_BGQ; + } + private static final int BLIS_ARCH_RV32I = (int)27L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_RV32I = 27 + * } + */ + public static int BLIS_ARCH_RV32I() { + return BLIS_ARCH_RV32I; + } + private static final int BLIS_ARCH_RV64I = (int)28L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_RV64I = 28 + * } + */ + public static int BLIS_ARCH_RV64I() { + return BLIS_ARCH_RV64I; + } + private static final int BLIS_ARCH_RV32IV = (int)29L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_RV32IV = 29 + * } + */ + public static int BLIS_ARCH_RV32IV() { + return BLIS_ARCH_RV32IV; + } + private static final int BLIS_ARCH_RV64IV = (int)30L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_RV64IV = 30 + * } + */ + public static int BLIS_ARCH_RV64IV() { + return BLIS_ARCH_RV64IV; + } + private static final int BLIS_ARCH_SIFIVE_X280 = (int)31L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_SIFIVE_X280 = 31 + * } + */ + public static int BLIS_ARCH_SIFIVE_X280() { + return BLIS_ARCH_SIFIVE_X280; + } + private static final int BLIS_ARCH_GENERIC = (int)32L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_ARCH_GENERIC = 32 + * } + */ + public static int BLIS_ARCH_GENERIC() { + return BLIS_ARCH_GENERIC; + } + private static final int BLIS_NUM_ARCHS = (int)33L; + /** + * {@snippet lang=c : + * enum arch_t.BLIS_NUM_ARCHS = 33 + * } + */ + public static int BLIS_NUM_ARCHS() { + return BLIS_NUM_ARCHS; + } + private static final int BLIS_NO_ERROR_CHECKING = (int)0L; + /** + * {@snippet lang=c : + * enum errlev_t.BLIS_NO_ERROR_CHECKING = 0 + * } + */ + public static int BLIS_NO_ERROR_CHECKING() { + return BLIS_NO_ERROR_CHECKING; + } + private static final int BLIS_FULL_ERROR_CHECKING = (int)1L; + /** + * {@snippet lang=c : + * enum errlev_t.BLIS_FULL_ERROR_CHECKING = 1 + * } + */ + public static int BLIS_FULL_ERROR_CHECKING() { + return BLIS_FULL_ERROR_CHECKING; + } + private static final int BLIS_SUCCESS = (int)-1L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_SUCCESS = -1 + * } + */ + public static int BLIS_SUCCESS() { + return BLIS_SUCCESS; + } + private static final int BLIS_FAILURE = (int)-2L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_FAILURE = -2 + * } + */ + public static int BLIS_FAILURE() { + return BLIS_FAILURE; + } + private static final int BLIS_ERROR_CODE_MIN = (int)-9L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_ERROR_CODE_MIN = -9 + * } + */ + public static int BLIS_ERROR_CODE_MIN() { + return BLIS_ERROR_CODE_MIN; + } + private static final int BLIS_INVALID_ERROR_CHECKING_LEVEL = (int)-10L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_ERROR_CHECKING_LEVEL = -10 + * } + */ + public static int BLIS_INVALID_ERROR_CHECKING_LEVEL() { + return BLIS_INVALID_ERROR_CHECKING_LEVEL; + } + private static final int BLIS_UNDEFINED_ERROR_CODE = (int)-11L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_UNDEFINED_ERROR_CODE = -11 + * } + */ + public static int BLIS_UNDEFINED_ERROR_CODE() { + return BLIS_UNDEFINED_ERROR_CODE; + } + private static final int BLIS_NULL_POINTER = (int)-12L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_NULL_POINTER = -12 + * } + */ + public static int BLIS_NULL_POINTER() { + return BLIS_NULL_POINTER; + } + private static final int BLIS_NOT_YET_IMPLEMENTED = (int)-13L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_NOT_YET_IMPLEMENTED = -13 + * } + */ + public static int BLIS_NOT_YET_IMPLEMENTED() { + return BLIS_NOT_YET_IMPLEMENTED; + } + private static final int BLIS_OUT_OF_BOUNDS = (int)-14L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_OUT_OF_BOUNDS = -14 + * } + */ + public static int BLIS_OUT_OF_BOUNDS() { + return BLIS_OUT_OF_BOUNDS; + } + private static final int BLIS_LOCK_FAILURE = (int)-15L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_LOCK_FAILURE = -15 + * } + */ + public static int BLIS_LOCK_FAILURE() { + return BLIS_LOCK_FAILURE; + } + private static final int BLIS_INVALID_SIDE = (int)-20L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_SIDE = -20 + * } + */ + public static int BLIS_INVALID_SIDE() { + return BLIS_INVALID_SIDE; + } + private static final int BLIS_INVALID_UPLO = (int)-21L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_UPLO = -21 + * } + */ + public static int BLIS_INVALID_UPLO() { + return BLIS_INVALID_UPLO; + } + private static final int BLIS_INVALID_TRANS = (int)-22L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_TRANS = -22 + * } + */ + public static int BLIS_INVALID_TRANS() { + return BLIS_INVALID_TRANS; + } + private static final int BLIS_INVALID_CONJ = (int)-23L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_CONJ = -23 + * } + */ + public static int BLIS_INVALID_CONJ() { + return BLIS_INVALID_CONJ; + } + private static final int BLIS_INVALID_DIAG = (int)-24L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_DIAG = -24 + * } + */ + public static int BLIS_INVALID_DIAG() { + return BLIS_INVALID_DIAG; + } + private static final int BLIS_INVALID_MACHVAL = (int)-25L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_MACHVAL = -25 + * } + */ + public static int BLIS_INVALID_MACHVAL() { + return BLIS_INVALID_MACHVAL; + } + private static final int BLIS_EXPECTED_NONUNIT_DIAG = (int)-26L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_NONUNIT_DIAG = -26 + * } + */ + public static int BLIS_EXPECTED_NONUNIT_DIAG() { + return BLIS_EXPECTED_NONUNIT_DIAG; + } + private static final int BLIS_INVALID_DATATYPE = (int)-30L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_DATATYPE = -30 + * } + */ + public static int BLIS_INVALID_DATATYPE() { + return BLIS_INVALID_DATATYPE; + } + private static final int BLIS_EXPECTED_FLOATING_POINT_DATATYPE = (int)-31L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_FLOATING_POINT_DATATYPE = -31 + * } + */ + public static int BLIS_EXPECTED_FLOATING_POINT_DATATYPE() { + return BLIS_EXPECTED_FLOATING_POINT_DATATYPE; + } + private static final int BLIS_EXPECTED_NONINTEGER_DATATYPE = (int)-32L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_NONINTEGER_DATATYPE = -32 + * } + */ + public static int BLIS_EXPECTED_NONINTEGER_DATATYPE() { + return BLIS_EXPECTED_NONINTEGER_DATATYPE; + } + private static final int BLIS_EXPECTED_NONCONSTANT_DATATYPE = (int)-33L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_NONCONSTANT_DATATYPE = -33 + * } + */ + public static int BLIS_EXPECTED_NONCONSTANT_DATATYPE() { + return BLIS_EXPECTED_NONCONSTANT_DATATYPE; + } + private static final int BLIS_EXPECTED_REAL_DATATYPE = (int)-34L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_REAL_DATATYPE = -34 + * } + */ + public static int BLIS_EXPECTED_REAL_DATATYPE() { + return BLIS_EXPECTED_REAL_DATATYPE; + } + private static final int BLIS_EXPECTED_INTEGER_DATATYPE = (int)-35L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_INTEGER_DATATYPE = -35 + * } + */ + public static int BLIS_EXPECTED_INTEGER_DATATYPE() { + return BLIS_EXPECTED_INTEGER_DATATYPE; + } + private static final int BLIS_INCONSISTENT_DATATYPES = (int)-36L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INCONSISTENT_DATATYPES = -36 + * } + */ + public static int BLIS_INCONSISTENT_DATATYPES() { + return BLIS_INCONSISTENT_DATATYPES; + } + private static final int BLIS_EXPECTED_REAL_PROJ_OF = (int)-37L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_REAL_PROJ_OF = -37 + * } + */ + public static int BLIS_EXPECTED_REAL_PROJ_OF() { + return BLIS_EXPECTED_REAL_PROJ_OF; + } + private static final int BLIS_EXPECTED_REAL_VALUED_OBJECT = (int)-38L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_REAL_VALUED_OBJECT = -38 + * } + */ + public static int BLIS_EXPECTED_REAL_VALUED_OBJECT() { + return BLIS_EXPECTED_REAL_VALUED_OBJECT; + } + private static final int BLIS_INCONSISTENT_PRECISIONS = (int)-39L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INCONSISTENT_PRECISIONS = -39 + * } + */ + public static int BLIS_INCONSISTENT_PRECISIONS() { + return BLIS_INCONSISTENT_PRECISIONS; + } + private static final int BLIS_NONCONFORMAL_DIMENSIONS = (int)-40L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_NONCONFORMAL_DIMENSIONS = -40 + * } + */ + public static int BLIS_NONCONFORMAL_DIMENSIONS() { + return BLIS_NONCONFORMAL_DIMENSIONS; + } + private static final int BLIS_EXPECTED_SCALAR_OBJECT = (int)-41L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_SCALAR_OBJECT = -41 + * } + */ + public static int BLIS_EXPECTED_SCALAR_OBJECT() { + return BLIS_EXPECTED_SCALAR_OBJECT; + } + private static final int BLIS_EXPECTED_VECTOR_OBJECT = (int)-42L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_VECTOR_OBJECT = -42 + * } + */ + public static int BLIS_EXPECTED_VECTOR_OBJECT() { + return BLIS_EXPECTED_VECTOR_OBJECT; + } + private static final int BLIS_UNEQUAL_VECTOR_LENGTHS = (int)-43L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_UNEQUAL_VECTOR_LENGTHS = -43 + * } + */ + public static int BLIS_UNEQUAL_VECTOR_LENGTHS() { + return BLIS_UNEQUAL_VECTOR_LENGTHS; + } + private static final int BLIS_EXPECTED_SQUARE_OBJECT = (int)-44L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_SQUARE_OBJECT = -44 + * } + */ + public static int BLIS_EXPECTED_SQUARE_OBJECT() { + return BLIS_EXPECTED_SQUARE_OBJECT; + } + private static final int BLIS_UNEXPECTED_OBJECT_LENGTH = (int)-45L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_UNEXPECTED_OBJECT_LENGTH = -45 + * } + */ + public static int BLIS_UNEXPECTED_OBJECT_LENGTH() { + return BLIS_UNEXPECTED_OBJECT_LENGTH; + } + private static final int BLIS_UNEXPECTED_OBJECT_WIDTH = (int)-46L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_UNEXPECTED_OBJECT_WIDTH = -46 + * } + */ + public static int BLIS_UNEXPECTED_OBJECT_WIDTH() { + return BLIS_UNEXPECTED_OBJECT_WIDTH; + } + private static final int BLIS_UNEXPECTED_VECTOR_DIM = (int)-47L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_UNEXPECTED_VECTOR_DIM = -47 + * } + */ + public static int BLIS_UNEXPECTED_VECTOR_DIM() { + return BLIS_UNEXPECTED_VECTOR_DIM; + } + private static final int BLIS_UNEXPECTED_DIAG_OFFSET = (int)-48L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_UNEXPECTED_DIAG_OFFSET = -48 + * } + */ + public static int BLIS_UNEXPECTED_DIAG_OFFSET() { + return BLIS_UNEXPECTED_DIAG_OFFSET; + } + private static final int BLIS_NEGATIVE_DIMENSION = (int)-49L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_NEGATIVE_DIMENSION = -49 + * } + */ + public static int BLIS_NEGATIVE_DIMENSION() { + return BLIS_NEGATIVE_DIMENSION; + } + private static final int BLIS_INVALID_ROW_STRIDE = (int)-50L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_ROW_STRIDE = -50 + * } + */ + public static int BLIS_INVALID_ROW_STRIDE() { + return BLIS_INVALID_ROW_STRIDE; + } + private static final int BLIS_INVALID_COL_STRIDE = (int)-51L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_COL_STRIDE = -51 + * } + */ + public static int BLIS_INVALID_COL_STRIDE() { + return BLIS_INVALID_COL_STRIDE; + } + private static final int BLIS_INVALID_DIM_STRIDE_COMBINATION = (int)-52L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_DIM_STRIDE_COMBINATION = -52 + * } + */ + public static int BLIS_INVALID_DIM_STRIDE_COMBINATION() { + return BLIS_INVALID_DIM_STRIDE_COMBINATION; + } + private static final int BLIS_EXPECTED_GENERAL_OBJECT = (int)-60L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_GENERAL_OBJECT = -60 + * } + */ + public static int BLIS_EXPECTED_GENERAL_OBJECT() { + return BLIS_EXPECTED_GENERAL_OBJECT; + } + private static final int BLIS_EXPECTED_HERMITIAN_OBJECT = (int)-61L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_HERMITIAN_OBJECT = -61 + * } + */ + public static int BLIS_EXPECTED_HERMITIAN_OBJECT() { + return BLIS_EXPECTED_HERMITIAN_OBJECT; + } + private static final int BLIS_EXPECTED_SYMMETRIC_OBJECT = (int)-62L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_SYMMETRIC_OBJECT = -62 + * } + */ + public static int BLIS_EXPECTED_SYMMETRIC_OBJECT() { + return BLIS_EXPECTED_SYMMETRIC_OBJECT; + } + private static final int BLIS_EXPECTED_TRIANGULAR_OBJECT = (int)-63L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_TRIANGULAR_OBJECT = -63 + * } + */ + public static int BLIS_EXPECTED_TRIANGULAR_OBJECT() { + return BLIS_EXPECTED_TRIANGULAR_OBJECT; + } + private static final int BLIS_EXPECTED_UPPER_OR_LOWER_OBJECT = (int)-70L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_UPPER_OR_LOWER_OBJECT = -70 + * } + */ + public static int BLIS_EXPECTED_UPPER_OR_LOWER_OBJECT() { + return BLIS_EXPECTED_UPPER_OR_LOWER_OBJECT; + } + private static final int BLIS_INVALID_3x1_SUBPART = (int)-80L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_3x1_SUBPART = -80 + * } + */ + public static int BLIS_INVALID_3x1_SUBPART() { + return BLIS_INVALID_3x1_SUBPART; + } + private static final int BLIS_INVALID_1x3_SUBPART = (int)-81L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_1x3_SUBPART = -81 + * } + */ + public static int BLIS_INVALID_1x3_SUBPART() { + return BLIS_INVALID_1x3_SUBPART; + } + private static final int BLIS_INVALID_3x3_SUBPART = (int)-82L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_3x3_SUBPART = -82 + * } + */ + public static int BLIS_INVALID_3x3_SUBPART() { + return BLIS_INVALID_3x3_SUBPART; + } + private static final int BLIS_UNEXPECTED_NULL_CONTROL_TREE = (int)-90L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_UNEXPECTED_NULL_CONTROL_TREE = -90 + * } + */ + public static int BLIS_UNEXPECTED_NULL_CONTROL_TREE() { + return BLIS_UNEXPECTED_NULL_CONTROL_TREE; + } + private static final int BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_UNPACK = (int)-100L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_UNPACK = -100 + * } + */ + public static int BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_UNPACK() { + return BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_UNPACK; + } + private static final int BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_PART = (int)-101L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_PART = -101 + * } + */ + public static int BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_PART() { + return BLIS_PACK_SCHEMA_NOT_SUPPORTED_FOR_PART; + } + private static final int BLIS_EXPECTED_NONNULL_OBJECT_BUFFER = (int)-110L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_NONNULL_OBJECT_BUFFER = -110 + * } + */ + public static int BLIS_EXPECTED_NONNULL_OBJECT_BUFFER() { + return BLIS_EXPECTED_NONNULL_OBJECT_BUFFER; + } + private static final int BLIS_MALLOC_RETURNED_NULL = (int)-120L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_MALLOC_RETURNED_NULL = -120 + * } + */ + public static int BLIS_MALLOC_RETURNED_NULL() { + return BLIS_MALLOC_RETURNED_NULL; + } + private static final int BLIS_INVALID_PACKBUF = (int)-130L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_PACKBUF = -130 + * } + */ + public static int BLIS_INVALID_PACKBUF() { + return BLIS_INVALID_PACKBUF; + } + private static final int BLIS_EXHAUSTED_CONTIG_MEMORY_POOL = (int)-131L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXHAUSTED_CONTIG_MEMORY_POOL = -131 + * } + */ + public static int BLIS_EXHAUSTED_CONTIG_MEMORY_POOL() { + return BLIS_EXHAUSTED_CONTIG_MEMORY_POOL; + } + private static final int BLIS_INSUFFICIENT_STACK_BUF_SIZE = (int)-132L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INSUFFICIENT_STACK_BUF_SIZE = -132 + * } + */ + public static int BLIS_INSUFFICIENT_STACK_BUF_SIZE() { + return BLIS_INSUFFICIENT_STACK_BUF_SIZE; + } + private static final int BLIS_ALIGNMENT_NOT_POWER_OF_TWO = (int)-133L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_ALIGNMENT_NOT_POWER_OF_TWO = -133 + * } + */ + public static int BLIS_ALIGNMENT_NOT_POWER_OF_TWO() { + return BLIS_ALIGNMENT_NOT_POWER_OF_TWO; + } + private static final int BLIS_ALIGNMENT_NOT_MULT_OF_PTR_SIZE = (int)-134L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_ALIGNMENT_NOT_MULT_OF_PTR_SIZE = -134 + * } + */ + public static int BLIS_ALIGNMENT_NOT_MULT_OF_PTR_SIZE() { + return BLIS_ALIGNMENT_NOT_MULT_OF_PTR_SIZE; + } + private static final int BLIS_EXPECTED_OBJECT_ALIAS = (int)-140L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_EXPECTED_OBJECT_ALIAS = -140 + * } + */ + public static int BLIS_EXPECTED_OBJECT_ALIAS() { + return BLIS_EXPECTED_OBJECT_ALIAS; + } + private static final int BLIS_INVALID_ARCH_ID = (int)-150L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_ARCH_ID = -150 + * } + */ + public static int BLIS_INVALID_ARCH_ID() { + return BLIS_INVALID_ARCH_ID; + } + private static final int BLIS_UNINITIALIZED_GKS_CNTX = (int)-151L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_UNINITIALIZED_GKS_CNTX = -151 + * } + */ + public static int BLIS_UNINITIALIZED_GKS_CNTX() { + return BLIS_UNINITIALIZED_GKS_CNTX; + } + private static final int BLIS_INVALID_UKR_ID = (int)-152L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_INVALID_UKR_ID = -152 + * } + */ + public static int BLIS_INVALID_UKR_ID() { + return BLIS_INVALID_UKR_ID; + } + private static final int BLIS_MC_DEF_NONMULTIPLE_OF_MR = (int)-160L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_MC_DEF_NONMULTIPLE_OF_MR = -160 + * } + */ + public static int BLIS_MC_DEF_NONMULTIPLE_OF_MR() { + return BLIS_MC_DEF_NONMULTIPLE_OF_MR; + } + private static final int BLIS_MC_MAX_NONMULTIPLE_OF_MR = (int)-161L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_MC_MAX_NONMULTIPLE_OF_MR = -161 + * } + */ + public static int BLIS_MC_MAX_NONMULTIPLE_OF_MR() { + return BLIS_MC_MAX_NONMULTIPLE_OF_MR; + } + private static final int BLIS_NC_DEF_NONMULTIPLE_OF_NR = (int)-162L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_NC_DEF_NONMULTIPLE_OF_NR = -162 + * } + */ + public static int BLIS_NC_DEF_NONMULTIPLE_OF_NR() { + return BLIS_NC_DEF_NONMULTIPLE_OF_NR; + } + private static final int BLIS_NC_MAX_NONMULTIPLE_OF_NR = (int)-163L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_NC_MAX_NONMULTIPLE_OF_NR = -163 + * } + */ + public static int BLIS_NC_MAX_NONMULTIPLE_OF_NR() { + return BLIS_NC_MAX_NONMULTIPLE_OF_NR; + } + private static final int BLIS_KC_DEF_NONMULTIPLE_OF_KR = (int)-164L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_KC_DEF_NONMULTIPLE_OF_KR = -164 + * } + */ + public static int BLIS_KC_DEF_NONMULTIPLE_OF_KR() { + return BLIS_KC_DEF_NONMULTIPLE_OF_KR; + } + private static final int BLIS_KC_MAX_NONMULTIPLE_OF_KR = (int)-165L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_KC_MAX_NONMULTIPLE_OF_KR = -165 + * } + */ + public static int BLIS_KC_MAX_NONMULTIPLE_OF_KR() { + return BLIS_KC_MAX_NONMULTIPLE_OF_KR; + } + private static final int BLIS_MR_NOT_EVEN_FOR_REAL_TYPE = (int)-166L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_MR_NOT_EVEN_FOR_REAL_TYPE = -166 + * } + */ + public static int BLIS_MR_NOT_EVEN_FOR_REAL_TYPE() { + return BLIS_MR_NOT_EVEN_FOR_REAL_TYPE; + } + private static final int BLIS_PACKMR_NOT_EVEN_FOR_REAL_TYPE = (int)-167L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_PACKMR_NOT_EVEN_FOR_REAL_TYPE = -167 + * } + */ + public static int BLIS_PACKMR_NOT_EVEN_FOR_REAL_TYPE() { + return BLIS_PACKMR_NOT_EVEN_FOR_REAL_TYPE; + } + private static final int BLIS_NR_NOT_EVEN_FOR_REAL_TYPE = (int)-168L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_NR_NOT_EVEN_FOR_REAL_TYPE = -168 + * } + */ + public static int BLIS_NR_NOT_EVEN_FOR_REAL_TYPE() { + return BLIS_NR_NOT_EVEN_FOR_REAL_TYPE; + } + private static final int BLIS_PACKNR_NOT_EVEN_FOR_REAL_TYPE = (int)-169L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_PACKNR_NOT_EVEN_FOR_REAL_TYPE = -169 + * } + */ + public static int BLIS_PACKNR_NOT_EVEN_FOR_REAL_TYPE() { + return BLIS_PACKNR_NOT_EVEN_FOR_REAL_TYPE; + } + private static final int BLIS_ERROR_CODE_MAX = (int)-170L; + /** + * {@snippet lang=c : + * enum err_t.BLIS_ERROR_CODE_MAX = -170 + * } + */ + public static int BLIS_ERROR_CODE_MAX() { + return BLIS_ERROR_CODE_MAX; + } + + private static class BLIS_TWO$constants { + public static final GroupLayout LAYOUT = obj_s.layout(); + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("BLIS_TWO").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_TWO + * } + */ + public static GroupLayout BLIS_TWO$layout() { + return BLIS_TWO$constants.LAYOUT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_TWO + * } + */ + public static MemorySegment BLIS_TWO() { + return BLIS_TWO$constants.SEGMENT; + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_TWO + * } + */ + public static void BLIS_TWO(MemorySegment varValue) { + MemorySegment.copy(varValue, 0L, BLIS_TWO$constants.SEGMENT, 0L, BLIS_TWO$constants.LAYOUT.byteSize()); + } + + private static class BLIS_ONE$constants { + public static final GroupLayout LAYOUT = obj_s.layout(); + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("BLIS_ONE").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_ONE + * } + */ + public static GroupLayout BLIS_ONE$layout() { + return BLIS_ONE$constants.LAYOUT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_ONE + * } + */ + public static MemorySegment BLIS_ONE() { + return BLIS_ONE$constants.SEGMENT; + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_ONE + * } + */ + public static void BLIS_ONE(MemorySegment varValue) { + MemorySegment.copy(varValue, 0L, BLIS_ONE$constants.SEGMENT, 0L, BLIS_ONE$constants.LAYOUT.byteSize()); + } + + private static class BLIS_ZERO$constants { + public static final GroupLayout LAYOUT = obj_s.layout(); + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("BLIS_ZERO").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_ZERO + * } + */ + public static GroupLayout BLIS_ZERO$layout() { + return BLIS_ZERO$constants.LAYOUT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_ZERO + * } + */ + public static MemorySegment BLIS_ZERO() { + return BLIS_ZERO$constants.SEGMENT; + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_ZERO + * } + */ + public static void BLIS_ZERO(MemorySegment varValue) { + MemorySegment.copy(varValue, 0L, BLIS_ZERO$constants.SEGMENT, 0L, BLIS_ZERO$constants.LAYOUT.byteSize()); + } + + private static class BLIS_MINUS_ONE$constants { + public static final GroupLayout LAYOUT = obj_s.layout(); + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("BLIS_MINUS_ONE").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_MINUS_ONE + * } + */ + public static GroupLayout BLIS_MINUS_ONE$layout() { + return BLIS_MINUS_ONE$constants.LAYOUT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_MINUS_ONE + * } + */ + public static MemorySegment BLIS_MINUS_ONE() { + return BLIS_MINUS_ONE$constants.SEGMENT; + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_MINUS_ONE + * } + */ + public static void BLIS_MINUS_ONE(MemorySegment varValue) { + MemorySegment.copy(varValue, 0L, BLIS_MINUS_ONE$constants.SEGMENT, 0L, BLIS_MINUS_ONE$constants.LAYOUT.byteSize()); + } + + private static class BLIS_MINUS_TWO$constants { + public static final GroupLayout LAYOUT = obj_s.layout(); + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("BLIS_MINUS_TWO").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_MINUS_TWO + * } + */ + public static GroupLayout BLIS_MINUS_TWO$layout() { + return BLIS_MINUS_TWO$constants.LAYOUT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_MINUS_TWO + * } + */ + public static MemorySegment BLIS_MINUS_TWO() { + return BLIS_MINUS_TWO$constants.SEGMENT; + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_MINUS_TWO + * } + */ + public static void BLIS_MINUS_TWO(MemorySegment varValue) { + MemorySegment.copy(varValue, 0L, BLIS_MINUS_TWO$constants.SEGMENT, 0L, BLIS_MINUS_TWO$constants.LAYOUT.byteSize()); + } + + private static class BLIS_ONE_I$constants { + public static final GroupLayout LAYOUT = obj_s.layout(); + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("BLIS_ONE_I").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_ONE_I + * } + */ + public static GroupLayout BLIS_ONE_I$layout() { + return BLIS_ONE_I$constants.LAYOUT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_ONE_I + * } + */ + public static MemorySegment BLIS_ONE_I() { + return BLIS_ONE_I$constants.SEGMENT; + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_ONE_I + * } + */ + public static void BLIS_ONE_I(MemorySegment varValue) { + MemorySegment.copy(varValue, 0L, BLIS_ONE_I$constants.SEGMENT, 0L, BLIS_ONE_I$constants.LAYOUT.byteSize()); + } + + private static class BLIS_MINUS_ONE_I$constants { + public static final GroupLayout LAYOUT = obj_s.layout(); + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("BLIS_MINUS_ONE_I").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_MINUS_ONE_I + * } + */ + public static GroupLayout BLIS_MINUS_ONE_I$layout() { + return BLIS_MINUS_ONE_I$constants.LAYOUT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_MINUS_ONE_I + * } + */ + public static MemorySegment BLIS_MINUS_ONE_I() { + return BLIS_MINUS_ONE_I$constants.SEGMENT; + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_MINUS_ONE_I + * } + */ + public static void BLIS_MINUS_ONE_I(MemorySegment varValue) { + MemorySegment.copy(varValue, 0L, BLIS_MINUS_ONE_I$constants.SEGMENT, 0L, BLIS_MINUS_ONE_I$constants.LAYOUT.byteSize()); + } + + private static class BLIS_NAN$constants { + public static final GroupLayout LAYOUT = obj_s.layout(); + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("BLIS_NAN").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_NAN + * } + */ + public static GroupLayout BLIS_NAN$layout() { + return BLIS_NAN$constants.LAYOUT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_NAN + * } + */ + public static MemorySegment BLIS_NAN() { + return BLIS_NAN$constants.SEGMENT; + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern const obj_t BLIS_NAN + * } + */ + public static void BLIS_NAN(MemorySegment varValue) { + MemorySegment.copy(varValue, 0L, BLIS_NAN$constants.SEGMENT, 0L, BLIS_NAN$constants.LAYOUT.byteSize()); + } + + private static class BLIS_SINGLE_COMM$constants { + public static final GroupLayout LAYOUT = thrcomm_s.layout(); + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("BLIS_SINGLE_COMM").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern thrcomm_t BLIS_SINGLE_COMM + * } + */ + public static GroupLayout BLIS_SINGLE_COMM$layout() { + return BLIS_SINGLE_COMM$constants.LAYOUT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern thrcomm_t BLIS_SINGLE_COMM + * } + */ + public static MemorySegment BLIS_SINGLE_COMM() { + return BLIS_SINGLE_COMM$constants.SEGMENT; + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern thrcomm_t BLIS_SINGLE_COMM + * } + */ + public static void BLIS_SINGLE_COMM(MemorySegment varValue) { + MemorySegment.copy(varValue, 0L, BLIS_SINGLE_COMM$constants.SEGMENT, 0L, BLIS_SINGLE_COMM$constants.LAYOUT.byteSize()); + } + + private static class bli_obj_create_check { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_create_check"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_create_check(num_t dt, dim_t m, dim_t n, inc_t rs, inc_t cs, const obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_create_check$descriptor() { + return bli_obj_create_check.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_create_check(num_t dt, dim_t m, dim_t n, inc_t rs, inc_t cs, const obj_t *obj) + * } + */ + public static MethodHandle bli_obj_create_check$handle() { + return bli_obj_create_check.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_create_check(num_t dt, dim_t m, dim_t n, inc_t rs, inc_t cs, const obj_t *obj) + * } + */ + public static MemorySegment bli_obj_create_check$address() { + return bli_obj_create_check.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_create_check(num_t dt, dim_t m, dim_t n, inc_t rs, inc_t cs, const obj_t *obj) + * } + */ + public static void bli_obj_create_check(int dt, long m, long n, long rs, long cs, MemorySegment obj) { + var mh$ = bli_obj_create_check.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_create_check", dt, m, n, rs, cs, obj); + } + mh$.invokeExact(dt, m, n, rs, cs, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_create_without_buffer_check { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_create_without_buffer_check"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_create_without_buffer_check(num_t dt, dim_t m, dim_t n, const obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_create_without_buffer_check$descriptor() { + return bli_obj_create_without_buffer_check.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_create_without_buffer_check(num_t dt, dim_t m, dim_t n, const obj_t *obj) + * } + */ + public static MethodHandle bli_obj_create_without_buffer_check$handle() { + return bli_obj_create_without_buffer_check.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_create_without_buffer_check(num_t dt, dim_t m, dim_t n, const obj_t *obj) + * } + */ + public static MemorySegment bli_obj_create_without_buffer_check$address() { + return bli_obj_create_without_buffer_check.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_create_without_buffer_check(num_t dt, dim_t m, dim_t n, const obj_t *obj) + * } + */ + public static void bli_obj_create_without_buffer_check(int dt, long m, long n, MemorySegment obj) { + var mh$ = bli_obj_create_without_buffer_check.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_create_without_buffer_check", dt, m, n, obj); + } + mh$.invokeExact(dt, m, n, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_alloc_buffer_check { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_alloc_buffer_check"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_alloc_buffer_check(inc_t rs, inc_t cs, inc_t is, const obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_alloc_buffer_check$descriptor() { + return bli_obj_alloc_buffer_check.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_alloc_buffer_check(inc_t rs, inc_t cs, inc_t is, const obj_t *obj) + * } + */ + public static MethodHandle bli_obj_alloc_buffer_check$handle() { + return bli_obj_alloc_buffer_check.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_alloc_buffer_check(inc_t rs, inc_t cs, inc_t is, const obj_t *obj) + * } + */ + public static MemorySegment bli_obj_alloc_buffer_check$address() { + return bli_obj_alloc_buffer_check.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_alloc_buffer_check(inc_t rs, inc_t cs, inc_t is, const obj_t *obj) + * } + */ + public static void bli_obj_alloc_buffer_check(long rs, long cs, long is, MemorySegment obj) { + var mh$ = bli_obj_alloc_buffer_check.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_alloc_buffer_check", rs, cs, is, obj); + } + mh$.invokeExact(rs, cs, is, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_attach_buffer_check { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_attach_buffer_check"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_attach_buffer_check(const void *p, inc_t rs, inc_t cs, inc_t is, const obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_attach_buffer_check$descriptor() { + return bli_obj_attach_buffer_check.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_attach_buffer_check(const void *p, inc_t rs, inc_t cs, inc_t is, const obj_t *obj) + * } + */ + public static MethodHandle bli_obj_attach_buffer_check$handle() { + return bli_obj_attach_buffer_check.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_attach_buffer_check(const void *p, inc_t rs, inc_t cs, inc_t is, const obj_t *obj) + * } + */ + public static MemorySegment bli_obj_attach_buffer_check$address() { + return bli_obj_attach_buffer_check.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_attach_buffer_check(const void *p, inc_t rs, inc_t cs, inc_t is, const obj_t *obj) + * } + */ + public static void bli_obj_attach_buffer_check(MemorySegment p, long rs, long cs, long is, MemorySegment obj) { + var mh$ = bli_obj_attach_buffer_check.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_attach_buffer_check", p, rs, cs, is, obj); + } + mh$.invokeExact(p, rs, cs, is, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_create_scalar_check { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_create_scalar_check"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_create_scalar_check(num_t dt, const obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_create_scalar_check$descriptor() { + return bli_obj_create_scalar_check.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_create_scalar_check(num_t dt, const obj_t *obj) + * } + */ + public static MethodHandle bli_obj_create_scalar_check$handle() { + return bli_obj_create_scalar_check.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_create_scalar_check(num_t dt, const obj_t *obj) + * } + */ + public static MemorySegment bli_obj_create_scalar_check$address() { + return bli_obj_create_scalar_check.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_create_scalar_check(num_t dt, const obj_t *obj) + * } + */ + public static void bli_obj_create_scalar_check(int dt, MemorySegment obj) { + var mh$ = bli_obj_create_scalar_check.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_create_scalar_check", dt, obj); + } + mh$.invokeExact(dt, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_free_check { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_free_check"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_free_check(const obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_free_check$descriptor() { + return bli_obj_free_check.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_free_check(const obj_t *obj) + * } + */ + public static MethodHandle bli_obj_free_check$handle() { + return bli_obj_free_check.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_free_check(const obj_t *obj) + * } + */ + public static MemorySegment bli_obj_free_check$address() { + return bli_obj_free_check.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_free_check(const obj_t *obj) + * } + */ + public static void bli_obj_free_check(MemorySegment obj) { + var mh$ = bli_obj_free_check.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_free_check", obj); + } + mh$.invokeExact(obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_create_const_check { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_DOUBLE, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_create_const_check"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_create_const_check(double value, const obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_create_const_check$descriptor() { + return bli_obj_create_const_check.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_create_const_check(double value, const obj_t *obj) + * } + */ + public static MethodHandle bli_obj_create_const_check$handle() { + return bli_obj_create_const_check.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_create_const_check(double value, const obj_t *obj) + * } + */ + public static MemorySegment bli_obj_create_const_check$address() { + return bli_obj_create_const_check.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_create_const_check(double value, const obj_t *obj) + * } + */ + public static void bli_obj_create_const_check(double value, MemorySegment obj) { + var mh$ = bli_obj_create_const_check.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_create_const_check", value, obj); + } + mh$.invokeExact(value, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_create_const_copy_of_check { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_create_const_copy_of_check"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_create_const_copy_of_check(const obj_t *a, const obj_t *b) + * } + */ + public static FunctionDescriptor bli_obj_create_const_copy_of_check$descriptor() { + return bli_obj_create_const_copy_of_check.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_create_const_copy_of_check(const obj_t *a, const obj_t *b) + * } + */ + public static MethodHandle bli_obj_create_const_copy_of_check$handle() { + return bli_obj_create_const_copy_of_check.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_create_const_copy_of_check(const obj_t *a, const obj_t *b) + * } + */ + public static MemorySegment bli_obj_create_const_copy_of_check$address() { + return bli_obj_create_const_copy_of_check.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_create_const_copy_of_check(const obj_t *a, const obj_t *b) + * } + */ + public static void bli_obj_create_const_copy_of_check(MemorySegment a, MemorySegment b) { + var mh$ = bli_obj_create_const_copy_of_check.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_create_const_copy_of_check", a, b); + } + mh$.invokeExact(a, b); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_print_check { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_print_check"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_print_check(const char *label, const obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_print_check$descriptor() { + return bli_obj_print_check.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_print_check(const char *label, const obj_t *obj) + * } + */ + public static MethodHandle bli_obj_print_check$handle() { + return bli_obj_print_check.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_print_check(const char *label, const obj_t *obj) + * } + */ + public static MemorySegment bli_obj_print_check$address() { + return bli_obj_print_check.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_print_check(const char *label, const obj_t *obj) + * } + */ + public static void bli_obj_print_check(MemorySegment label, MemorySegment obj) { + var mh$ = bli_obj_print_check.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_print_check", label, obj); + } + mh$.invokeExact(label, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_create { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_create"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_create(num_t dt, dim_t m, dim_t n, inc_t rs, inc_t cs, obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_create$descriptor() { + return bli_obj_create.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_create(num_t dt, dim_t m, dim_t n, inc_t rs, inc_t cs, obj_t *obj) + * } + */ + public static MethodHandle bli_obj_create$handle() { + return bli_obj_create.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_create(num_t dt, dim_t m, dim_t n, inc_t rs, inc_t cs, obj_t *obj) + * } + */ + public static MemorySegment bli_obj_create$address() { + return bli_obj_create.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_create(num_t dt, dim_t m, dim_t n, inc_t rs, inc_t cs, obj_t *obj) + * } + */ + public static void bli_obj_create(int dt, long m, long n, long rs, long cs, MemorySegment obj) { + var mh$ = bli_obj_create.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_create", dt, m, n, rs, cs, obj); + } + mh$.invokeExact(dt, m, n, rs, cs, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_create_with_attached_buffer { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_create_with_attached_buffer"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_create_with_attached_buffer(num_t dt, dim_t m, dim_t n, void *p, inc_t rs, inc_t cs, obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_create_with_attached_buffer$descriptor() { + return bli_obj_create_with_attached_buffer.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_create_with_attached_buffer(num_t dt, dim_t m, dim_t n, void *p, inc_t rs, inc_t cs, obj_t *obj) + * } + */ + public static MethodHandle bli_obj_create_with_attached_buffer$handle() { + return bli_obj_create_with_attached_buffer.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_create_with_attached_buffer(num_t dt, dim_t m, dim_t n, void *p, inc_t rs, inc_t cs, obj_t *obj) + * } + */ + public static MemorySegment bli_obj_create_with_attached_buffer$address() { + return bli_obj_create_with_attached_buffer.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_create_with_attached_buffer(num_t dt, dim_t m, dim_t n, void *p, inc_t rs, inc_t cs, obj_t *obj) + * } + */ + public static void bli_obj_create_with_attached_buffer(int dt, long m, long n, MemorySegment p, long rs, long cs, MemorySegment obj) { + var mh$ = bli_obj_create_with_attached_buffer.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_create_with_attached_buffer", dt, m, n, p, rs, cs, obj); + } + mh$.invokeExact(dt, m, n, p, rs, cs, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_create_without_buffer { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_create_without_buffer"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_create_without_buffer(num_t dt, dim_t m, dim_t n, obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_create_without_buffer$descriptor() { + return bli_obj_create_without_buffer.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_create_without_buffer(num_t dt, dim_t m, dim_t n, obj_t *obj) + * } + */ + public static MethodHandle bli_obj_create_without_buffer$handle() { + return bli_obj_create_without_buffer.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_create_without_buffer(num_t dt, dim_t m, dim_t n, obj_t *obj) + * } + */ + public static MemorySegment bli_obj_create_without_buffer$address() { + return bli_obj_create_without_buffer.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_create_without_buffer(num_t dt, dim_t m, dim_t n, obj_t *obj) + * } + */ + public static void bli_obj_create_without_buffer(int dt, long m, long n, MemorySegment obj) { + var mh$ = bli_obj_create_without_buffer.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_create_without_buffer", dt, m, n, obj); + } + mh$.invokeExact(dt, m, n, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_alloc_buffer { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_alloc_buffer"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_alloc_buffer(inc_t rs, inc_t cs, inc_t is, obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_alloc_buffer$descriptor() { + return bli_obj_alloc_buffer.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_alloc_buffer(inc_t rs, inc_t cs, inc_t is, obj_t *obj) + * } + */ + public static MethodHandle bli_obj_alloc_buffer$handle() { + return bli_obj_alloc_buffer.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_alloc_buffer(inc_t rs, inc_t cs, inc_t is, obj_t *obj) + * } + */ + public static MemorySegment bli_obj_alloc_buffer$address() { + return bli_obj_alloc_buffer.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_alloc_buffer(inc_t rs, inc_t cs, inc_t is, obj_t *obj) + * } + */ + public static void bli_obj_alloc_buffer(long rs, long cs, long is, MemorySegment obj) { + var mh$ = bli_obj_alloc_buffer.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_alloc_buffer", rs, cs, is, obj); + } + mh$.invokeExact(rs, cs, is, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_attach_buffer { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_attach_buffer"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_attach_buffer(void *p, inc_t rs, inc_t cs, inc_t is, obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_attach_buffer$descriptor() { + return bli_obj_attach_buffer.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_attach_buffer(void *p, inc_t rs, inc_t cs, inc_t is, obj_t *obj) + * } + */ + public static MethodHandle bli_obj_attach_buffer$handle() { + return bli_obj_attach_buffer.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_attach_buffer(void *p, inc_t rs, inc_t cs, inc_t is, obj_t *obj) + * } + */ + public static MemorySegment bli_obj_attach_buffer$address() { + return bli_obj_attach_buffer.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_attach_buffer(void *p, inc_t rs, inc_t cs, inc_t is, obj_t *obj) + * } + */ + public static void bli_obj_attach_buffer(MemorySegment p, long rs, long cs, long is, MemorySegment obj) { + var mh$ = bli_obj_attach_buffer.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_attach_buffer", p, rs, cs, is, obj); + } + mh$.invokeExact(p, rs, cs, is, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_create_1x1 { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_create_1x1"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_create_1x1(num_t dt, obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_create_1x1$descriptor() { + return bli_obj_create_1x1.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_create_1x1(num_t dt, obj_t *obj) + * } + */ + public static MethodHandle bli_obj_create_1x1$handle() { + return bli_obj_create_1x1.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_create_1x1(num_t dt, obj_t *obj) + * } + */ + public static MemorySegment bli_obj_create_1x1$address() { + return bli_obj_create_1x1.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_create_1x1(num_t dt, obj_t *obj) + * } + */ + public static void bli_obj_create_1x1(int dt, MemorySegment obj) { + var mh$ = bli_obj_create_1x1.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_create_1x1", dt, obj); + } + mh$.invokeExact(dt, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_create_1x1_with_attached_buffer { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_create_1x1_with_attached_buffer"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_create_1x1_with_attached_buffer(num_t dt, void *p, obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_create_1x1_with_attached_buffer$descriptor() { + return bli_obj_create_1x1_with_attached_buffer.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_create_1x1_with_attached_buffer(num_t dt, void *p, obj_t *obj) + * } + */ + public static MethodHandle bli_obj_create_1x1_with_attached_buffer$handle() { + return bli_obj_create_1x1_with_attached_buffer.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_create_1x1_with_attached_buffer(num_t dt, void *p, obj_t *obj) + * } + */ + public static MemorySegment bli_obj_create_1x1_with_attached_buffer$address() { + return bli_obj_create_1x1_with_attached_buffer.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_create_1x1_with_attached_buffer(num_t dt, void *p, obj_t *obj) + * } + */ + public static void bli_obj_create_1x1_with_attached_buffer(int dt, MemorySegment p, MemorySegment obj) { + var mh$ = bli_obj_create_1x1_with_attached_buffer.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_create_1x1_with_attached_buffer", dt, p, obj); + } + mh$.invokeExact(dt, p, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_create_conf_to { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_create_conf_to"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_create_conf_to(const obj_t *s, obj_t *d) + * } + */ + public static FunctionDescriptor bli_obj_create_conf_to$descriptor() { + return bli_obj_create_conf_to.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_create_conf_to(const obj_t *s, obj_t *d) + * } + */ + public static MethodHandle bli_obj_create_conf_to$handle() { + return bli_obj_create_conf_to.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_create_conf_to(const obj_t *s, obj_t *d) + * } + */ + public static MemorySegment bli_obj_create_conf_to$address() { + return bli_obj_create_conf_to.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_create_conf_to(const obj_t *s, obj_t *d) + * } + */ + public static void bli_obj_create_conf_to(MemorySegment s, MemorySegment d) { + var mh$ = bli_obj_create_conf_to.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_create_conf_to", s, d); + } + mh$.invokeExact(s, d); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_free(obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_free$descriptor() { + return bli_obj_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_free(obj_t *obj) + * } + */ + public static MethodHandle bli_obj_free$handle() { + return bli_obj_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_free(obj_t *obj) + * } + */ + public static MemorySegment bli_obj_free$address() { + return bli_obj_free.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_free(obj_t *obj) + * } + */ + public static void bli_obj_free(MemorySegment obj) { + var mh$ = bli_obj_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_free", obj); + } + mh$.invokeExact(obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_print { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_print"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_print(const char *label, const obj_t *obj) + * } + */ + public static FunctionDescriptor bli_obj_print$descriptor() { + return bli_obj_print.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_print(const char *label, const obj_t *obj) + * } + */ + public static MethodHandle bli_obj_print$handle() { + return bli_obj_print.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_print(const char *label, const obj_t *obj) + * } + */ + public static MemorySegment bli_obj_print$address() { + return bli_obj_print.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_print(const char *label, const obj_t *obj) + * } + */ + public static void bli_obj_print(MemorySegment label, MemorySegment obj) { + var mh$ = bli_obj_print.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_print", label, obj); + } + mh$.invokeExact(label, obj); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_scalar_init_detached { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_scalar_init_detached"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_scalar_init_detached(num_t dt, obj_t *beta) + * } + */ + public static FunctionDescriptor bli_obj_scalar_init_detached$descriptor() { + return bli_obj_scalar_init_detached.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_scalar_init_detached(num_t dt, obj_t *beta) + * } + */ + public static MethodHandle bli_obj_scalar_init_detached$handle() { + return bli_obj_scalar_init_detached.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_scalar_init_detached(num_t dt, obj_t *beta) + * } + */ + public static MemorySegment bli_obj_scalar_init_detached$address() { + return bli_obj_scalar_init_detached.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_scalar_init_detached(num_t dt, obj_t *beta) + * } + */ + public static void bli_obj_scalar_init_detached(int dt, MemorySegment beta) { + var mh$ = bli_obj_scalar_init_detached.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_scalar_init_detached", dt, beta); + } + mh$.invokeExact(dt, beta); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_scalar_init_detached_copy_of { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_scalar_init_detached_copy_of"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_scalar_init_detached_copy_of(num_t dt, conj_t conj, const obj_t *alpha, obj_t *beta) + * } + */ + public static FunctionDescriptor bli_obj_scalar_init_detached_copy_of$descriptor() { + return bli_obj_scalar_init_detached_copy_of.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_scalar_init_detached_copy_of(num_t dt, conj_t conj, const obj_t *alpha, obj_t *beta) + * } + */ + public static MethodHandle bli_obj_scalar_init_detached_copy_of$handle() { + return bli_obj_scalar_init_detached_copy_of.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_scalar_init_detached_copy_of(num_t dt, conj_t conj, const obj_t *alpha, obj_t *beta) + * } + */ + public static MemorySegment bli_obj_scalar_init_detached_copy_of$address() { + return bli_obj_scalar_init_detached_copy_of.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_scalar_init_detached_copy_of(num_t dt, conj_t conj, const obj_t *alpha, obj_t *beta) + * } + */ + public static void bli_obj_scalar_init_detached_copy_of(int dt, int conj, MemorySegment alpha, MemorySegment beta) { + var mh$ = bli_obj_scalar_init_detached_copy_of.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_scalar_init_detached_copy_of", dt, conj, alpha, beta); + } + mh$.invokeExact(dt, conj, alpha, beta); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_scalar_detach { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_scalar_detach"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_scalar_detach(const obj_t *a, obj_t *alpha) + * } + */ + public static FunctionDescriptor bli_obj_scalar_detach$descriptor() { + return bli_obj_scalar_detach.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_scalar_detach(const obj_t *a, obj_t *alpha) + * } + */ + public static MethodHandle bli_obj_scalar_detach$handle() { + return bli_obj_scalar_detach.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_scalar_detach(const obj_t *a, obj_t *alpha) + * } + */ + public static MemorySegment bli_obj_scalar_detach$address() { + return bli_obj_scalar_detach.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_scalar_detach(const obj_t *a, obj_t *alpha) + * } + */ + public static void bli_obj_scalar_detach(MemorySegment a, MemorySegment alpha) { + var mh$ = bli_obj_scalar_detach.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_scalar_detach", a, alpha); + } + mh$.invokeExact(a, alpha); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_scalar_attach { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_scalar_attach"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_scalar_attach(conj_t conj, const obj_t *alpha, obj_t *a) + * } + */ + public static FunctionDescriptor bli_obj_scalar_attach$descriptor() { + return bli_obj_scalar_attach.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_scalar_attach(conj_t conj, const obj_t *alpha, obj_t *a) + * } + */ + public static MethodHandle bli_obj_scalar_attach$handle() { + return bli_obj_scalar_attach.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_scalar_attach(conj_t conj, const obj_t *alpha, obj_t *a) + * } + */ + public static MemorySegment bli_obj_scalar_attach$address() { + return bli_obj_scalar_attach.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_scalar_attach(conj_t conj, const obj_t *alpha, obj_t *a) + * } + */ + public static void bli_obj_scalar_attach(int conj, MemorySegment alpha, MemorySegment a) { + var mh$ = bli_obj_scalar_attach.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_scalar_attach", conj, alpha, a); + } + mh$.invokeExact(conj, alpha, a); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_scalar_cast_to { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_scalar_cast_to"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_scalar_cast_to(num_t dt, obj_t *a) + * } + */ + public static FunctionDescriptor bli_obj_scalar_cast_to$descriptor() { + return bli_obj_scalar_cast_to.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_scalar_cast_to(num_t dt, obj_t *a) + * } + */ + public static MethodHandle bli_obj_scalar_cast_to$handle() { + return bli_obj_scalar_cast_to.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_scalar_cast_to(num_t dt, obj_t *a) + * } + */ + public static MemorySegment bli_obj_scalar_cast_to$address() { + return bli_obj_scalar_cast_to.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_scalar_cast_to(num_t dt, obj_t *a) + * } + */ + public static void bli_obj_scalar_cast_to(int dt, MemorySegment a) { + var mh$ = bli_obj_scalar_cast_to.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_scalar_cast_to", dt, a); + } + mh$.invokeExact(dt, a); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_scalar_apply_scalar { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_scalar_apply_scalar"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_scalar_apply_scalar(const obj_t *alpha, obj_t *a) + * } + */ + public static FunctionDescriptor bli_obj_scalar_apply_scalar$descriptor() { + return bli_obj_scalar_apply_scalar.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_scalar_apply_scalar(const obj_t *alpha, obj_t *a) + * } + */ + public static MethodHandle bli_obj_scalar_apply_scalar$handle() { + return bli_obj_scalar_apply_scalar.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_scalar_apply_scalar(const obj_t *alpha, obj_t *a) + * } + */ + public static MemorySegment bli_obj_scalar_apply_scalar$address() { + return bli_obj_scalar_apply_scalar.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_scalar_apply_scalar(const obj_t *alpha, obj_t *a) + * } + */ + public static void bli_obj_scalar_apply_scalar(MemorySegment alpha, MemorySegment a) { + var mh$ = bli_obj_scalar_apply_scalar.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_scalar_apply_scalar", alpha, a); + } + mh$.invokeExact(alpha, a); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_scalar_reset { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_scalar_reset"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_obj_scalar_reset(obj_t *a) + * } + */ + public static FunctionDescriptor bli_obj_scalar_reset$descriptor() { + return bli_obj_scalar_reset.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_obj_scalar_reset(obj_t *a) + * } + */ + public static MethodHandle bli_obj_scalar_reset$handle() { + return bli_obj_scalar_reset.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_obj_scalar_reset(obj_t *a) + * } + */ + public static MemorySegment bli_obj_scalar_reset$address() { + return bli_obj_scalar_reset.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_obj_scalar_reset(obj_t *a) + * } + */ + public static void bli_obj_scalar_reset(MemorySegment a) { + var mh$ = bli_obj_scalar_reset.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_scalar_reset", a); + } + mh$.invokeExact(a); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_scalar_has_nonzero_imag { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + blis_h.C_BOOL, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_scalar_has_nonzero_imag"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * bool bli_obj_scalar_has_nonzero_imag(obj_t *a) + * } + */ + public static FunctionDescriptor bli_obj_scalar_has_nonzero_imag$descriptor() { + return bli_obj_scalar_has_nonzero_imag.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * bool bli_obj_scalar_has_nonzero_imag(obj_t *a) + * } + */ + public static MethodHandle bli_obj_scalar_has_nonzero_imag$handle() { + return bli_obj_scalar_has_nonzero_imag.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * bool bli_obj_scalar_has_nonzero_imag(obj_t *a) + * } + */ + public static MemorySegment bli_obj_scalar_has_nonzero_imag$address() { + return bli_obj_scalar_has_nonzero_imag.ADDR; + } + + /** + * {@snippet lang=c : + * bool bli_obj_scalar_has_nonzero_imag(obj_t *a) + * } + */ + public static boolean bli_obj_scalar_has_nonzero_imag(MemorySegment a) { + var mh$ = bli_obj_scalar_has_nonzero_imag.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_scalar_has_nonzero_imag", a); + } + return (boolean)mh$.invokeExact(a); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_scalar_equals { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + blis_h.C_BOOL, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_scalar_equals"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * bool bli_obj_scalar_equals(const obj_t *a, const obj_t *beta) + * } + */ + public static FunctionDescriptor bli_obj_scalar_equals$descriptor() { + return bli_obj_scalar_equals.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * bool bli_obj_scalar_equals(const obj_t *a, const obj_t *beta) + * } + */ + public static MethodHandle bli_obj_scalar_equals$handle() { + return bli_obj_scalar_equals.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * bool bli_obj_scalar_equals(const obj_t *a, const obj_t *beta) + * } + */ + public static MemorySegment bli_obj_scalar_equals$address() { + return bli_obj_scalar_equals.ADDR; + } + + /** + * {@snippet lang=c : + * bool bli_obj_scalar_equals(const obj_t *a, const obj_t *beta) + * } + */ + public static boolean bli_obj_scalar_equals(MemorySegment a, MemorySegment beta) { + var mh$ = bli_obj_scalar_equals.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_scalar_equals", a, beta); + } + return (boolean)mh$.invokeExact(a, beta); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_equals { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + blis_h.C_BOOL, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_equals"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * bool bli_obj_equals(const obj_t *a, const obj_t *b) + * } + */ + public static FunctionDescriptor bli_obj_equals$descriptor() { + return bli_obj_equals.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * bool bli_obj_equals(const obj_t *a, const obj_t *b) + * } + */ + public static MethodHandle bli_obj_equals$handle() { + return bli_obj_equals.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * bool bli_obj_equals(const obj_t *a, const obj_t *b) + * } + */ + public static MemorySegment bli_obj_equals$address() { + return bli_obj_equals.ADDR; + } + + /** + * {@snippet lang=c : + * bool bli_obj_equals(const obj_t *a, const obj_t *b) + * } + */ + public static boolean bli_obj_equals(MemorySegment a, MemorySegment b) { + var mh$ = bli_obj_equals.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_equals", a, b); + } + return (boolean)mh$.invokeExact(a, b); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_imag_equals { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + blis_h.C_BOOL, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_imag_equals"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * bool bli_obj_imag_equals(const obj_t *a, const obj_t *b) + * } + */ + public static FunctionDescriptor bli_obj_imag_equals$descriptor() { + return bli_obj_imag_equals.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * bool bli_obj_imag_equals(const obj_t *a, const obj_t *b) + * } + */ + public static MethodHandle bli_obj_imag_equals$handle() { + return bli_obj_imag_equals.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * bool bli_obj_imag_equals(const obj_t *a, const obj_t *b) + * } + */ + public static MemorySegment bli_obj_imag_equals$address() { + return bli_obj_imag_equals.ADDR; + } + + /** + * {@snippet lang=c : + * bool bli_obj_imag_equals(const obj_t *a, const obj_t *b) + * } + */ + public static boolean bli_obj_imag_equals(MemorySegment a, MemorySegment b) { + var mh$ = bli_obj_imag_equals.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_imag_equals", a, b); + } + return (boolean)mh$.invokeExact(a, b); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_obj_imag_is_zero { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + blis_h.C_BOOL, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_obj_imag_is_zero"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * bool bli_obj_imag_is_zero(const obj_t *a) + * } + */ + public static FunctionDescriptor bli_obj_imag_is_zero$descriptor() { + return bli_obj_imag_is_zero.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * bool bli_obj_imag_is_zero(const obj_t *a) + * } + */ + public static MethodHandle bli_obj_imag_is_zero$handle() { + return bli_obj_imag_is_zero.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * bool bli_obj_imag_is_zero(const obj_t *a) + * } + */ + public static MemorySegment bli_obj_imag_is_zero$address() { + return bli_obj_imag_is_zero.ADDR; + } + + /** + * {@snippet lang=c : + * bool bli_obj_imag_is_zero(const obj_t *a) + * } + */ + public static boolean bli_obj_imag_is_zero(MemorySegment a) { + var mh$ = bli_obj_imag_is_zero.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_obj_imag_is_zero", a); + } + return (boolean)mh$.invokeExact(a); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + private static final int VENDOR_ARM = (int)0L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/base//bli_cpuid.h:169:1).VENDOR_ARM = 0 + * } + */ + public static int VENDOR_ARM() { + return VENDOR_ARM; + } + private static final int VENDOR_IBM = (int)1L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/base//bli_cpuid.h:169:1).VENDOR_IBM = 1 + * } + */ + public static int VENDOR_IBM() { + return VENDOR_IBM; + } + private static final int VENDOR_UNKNOWN = (int)2L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/base//bli_cpuid.h:169:1).VENDOR_UNKNOWN = 2 + * } + */ + public static int VENDOR_UNKNOWN() { + return VENDOR_UNKNOWN; + } + private static final int MODEL_ARMV7 = (int)0L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/base//bli_cpuid.h:175:1).MODEL_ARMV7 = 0 + * } + */ + public static int MODEL_ARMV7() { + return MODEL_ARMV7; + } + private static final int MODEL_ARMV8 = (int)1L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/base//bli_cpuid.h:175:1).MODEL_ARMV8 = 1 + * } + */ + public static int MODEL_ARMV8() { + return MODEL_ARMV8; + } + private static final int MODEL_POWER7 = (int)2L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/base//bli_cpuid.h:175:1).MODEL_POWER7 = 2 + * } + */ + public static int MODEL_POWER7() { + return MODEL_POWER7; + } + private static final int MODEL_POWER9 = (int)3L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/base//bli_cpuid.h:175:1).MODEL_POWER9 = 3 + * } + */ + public static int MODEL_POWER9() { + return MODEL_POWER9; + } + private static final int MODEL_POWER10 = (int)4L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/base//bli_cpuid.h:175:1).MODEL_POWER10 = 4 + * } + */ + public static int MODEL_POWER10() { + return MODEL_POWER10; + } + private static final int MODEL_UNKNOWN = (int)5L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/base//bli_cpuid.h:175:1).MODEL_UNKNOWN = 5 + * } + */ + public static int MODEL_UNKNOWN() { + return MODEL_UNKNOWN; + } + private static final int FEATURE_NEON = (int)1L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/base//bli_cpuid.h:184:1).FEATURE_NEON = 1 + * } + */ + public static int FEATURE_NEON() { + return FEATURE_NEON; + } + private static final int FEATURE_SVE = (int)2L; + /** + * {@snippet lang=c : + * enum enum (unnamed at ./frame/base//bli_cpuid.h:184:1).FEATURE_SVE = 2 + * } + */ + public static int FEATURE_SVE() { + return FEATURE_SVE; + } + + private static class bli_addv_check { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_addv_check"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_addv_check(const obj_t *x, const obj_t *y) + * } + */ + public static FunctionDescriptor bli_addv_check$descriptor() { + return bli_addv_check.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_addv_check(const obj_t *x, const obj_t *y) + * } + */ + public static MethodHandle bli_addv_check$handle() { + return bli_addv_check.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_addv_check(const obj_t *x, const obj_t *y) + * } + */ + public static MemorySegment bli_addv_check$address() { + return bli_addv_check.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_addv_check(const obj_t *x, const obj_t *y) + * } + */ + public static void bli_addv_check(MemorySegment x, MemorySegment y) { + var mh$ = bli_addv_check.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_addv_check", x, y); + } + mh$.invokeExact(x, y); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_addv_ex { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_addv_ex"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_addv_ex(const obj_t *x, const obj_t *y, const cntx_t *cntx, const rntm_t *rntm) + * } + */ + public static FunctionDescriptor bli_addv_ex$descriptor() { + return bli_addv_ex.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_addv_ex(const obj_t *x, const obj_t *y, const cntx_t *cntx, const rntm_t *rntm) + * } + */ + public static MethodHandle bli_addv_ex$handle() { + return bli_addv_ex.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_addv_ex(const obj_t *x, const obj_t *y, const cntx_t *cntx, const rntm_t *rntm) + * } + */ + public static MemorySegment bli_addv_ex$address() { + return bli_addv_ex.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_addv_ex(const obj_t *x, const obj_t *y, const cntx_t *cntx, const rntm_t *rntm) + * } + */ + public static void bli_addv_ex(MemorySegment x, MemorySegment y, MemorySegment cntx, MemorySegment rntm) { + var mh$ = bli_addv_ex.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_addv_ex", x, y, cntx, rntm); + } + mh$.invokeExact(x, y, cntx, rntm); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_addv { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_addv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_addv(const obj_t *x, const obj_t *y) + * } + */ + public static FunctionDescriptor bli_addv$descriptor() { + return bli_addv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_addv(const obj_t *x, const obj_t *y) + * } + */ + public static MethodHandle bli_addv$handle() { + return bli_addv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_addv(const obj_t *x, const obj_t *y) + * } + */ + public static MemorySegment bli_addv$address() { + return bli_addv.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_addv(const obj_t *x, const obj_t *y) + * } + */ + public static void bli_addv(MemorySegment x, MemorySegment y) { + var mh$ = bli_addv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_addv", x, y); + } + mh$.invokeExact(x, y); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_addv_ex_qfp { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + blis_h.C_POINTER, + blis_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_addv_ex_qfp"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * addv_ex_vft bli_addv_ex_qfp(num_t dt) + * } + */ + public static FunctionDescriptor bli_addv_ex_qfp$descriptor() { + return bli_addv_ex_qfp.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * addv_ex_vft bli_addv_ex_qfp(num_t dt) + * } + */ + public static MethodHandle bli_addv_ex_qfp$handle() { + return bli_addv_ex_qfp.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * addv_ex_vft bli_addv_ex_qfp(num_t dt) + * } + */ + public static MemorySegment bli_addv_ex_qfp$address() { + return bli_addv_ex_qfp.ADDR; + } + + /** + * {@snippet lang=c : + * addv_ex_vft bli_addv_ex_qfp(num_t dt) + * } + */ + public static MemorySegment bli_addv_ex_qfp(int dt) { + var mh$ = bli_addv_ex_qfp.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_addv_ex_qfp", dt); + } + return (MemorySegment)mh$.invokeExact(dt); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bli_addd { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bli_addd"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void bli_addd(const obj_t *x, const obj_t *y) + * } + */ + public static FunctionDescriptor bli_addd$descriptor() { + return bli_addd.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void bli_addd(const obj_t *x, const obj_t *y) + * } + */ + public static MethodHandle bli_addd$handle() { + return bli_addd.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void bli_addd(const obj_t *x, const obj_t *y) + * } + */ + public static MemorySegment bli_addd$address() { + return bli_addd.ADDR; + } + + /** + * {@snippet lang=c : + * void bli_addd(const obj_t *x, const obj_t *y) + * } + */ + public static void bli_addd(MemorySegment x, MemorySegment y) { + var mh$ = bli_addd.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bli_addd", x, y); + } + mh$.invokeExact(x, y); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + private static final int CblasRowMajor = (int)101L; + /** + * {@snippet lang=c : + * enum CBLAS_ORDER.CblasRowMajor = 101 + * } + */ + public static int CblasRowMajor() { + return CblasRowMajor; + } + private static final int CblasColMajor = (int)102L; + /** + * {@snippet lang=c : + * enum CBLAS_ORDER.CblasColMajor = 102 + * } + */ + public static int CblasColMajor() { + return CblasColMajor; + } + private static final int CblasNoTrans = (int)111L; + /** + * {@snippet lang=c : + * enum CBLAS_TRANSPOSE.CblasNoTrans = 111 + * } + */ + public static int CblasNoTrans() { + return CblasNoTrans; + } + private static final int CblasTrans = (int)112L; + /** + * {@snippet lang=c : + * enum CBLAS_TRANSPOSE.CblasTrans = 112 + * } + */ + public static int CblasTrans() { + return CblasTrans; + } + private static final int CblasConjTrans = (int)113L; + /** + * {@snippet lang=c : + * enum CBLAS_TRANSPOSE.CblasConjTrans = 113 + * } + */ + public static int CblasConjTrans() { + return CblasConjTrans; + } + private static final int CblasUpper = (int)121L; + /** + * {@snippet lang=c : + * enum CBLAS_UPLO.CblasUpper = 121 + * } + */ + public static int CblasUpper() { + return CblasUpper; + } + private static final int CblasLower = (int)122L; + /** + * {@snippet lang=c : + * enum CBLAS_UPLO.CblasLower = 122 + * } + */ + public static int CblasLower() { + return CblasLower; + } + private static final int CblasNonUnit = (int)131L; + /** + * {@snippet lang=c : + * enum CBLAS_DIAG.CblasNonUnit = 131 + * } + */ + public static int CblasNonUnit() { + return CblasNonUnit; + } + private static final int CblasUnit = (int)132L; + /** + * {@snippet lang=c : + * enum CBLAS_DIAG.CblasUnit = 132 + * } + */ + public static int CblasUnit() { + return CblasUnit; + } + private static final int CblasLeft = (int)141L; + /** + * {@snippet lang=c : + * enum CBLAS_SIDE.CblasLeft = 141 + * } + */ + public static int CblasLeft() { + return CblasLeft; + } + private static final int CblasRight = (int)142L; + /** + * {@snippet lang=c : + * enum CBLAS_SIDE.CblasRight = 142 + * } + */ + public static int CblasRight() { + return CblasRight; + } + /** + * {@snippet lang=c : + * #define BLIS_VERSION_STRING "2.0" + * } + */ + public static MemorySegment BLIS_VERSION_STRING() { + class Holder { + static final MemorySegment BLIS_VERSION_STRING + = blis_h.LIBRARY_ARENA.allocateFrom("2.0"); + } + return Holder.BLIS_VERSION_STRING; + } + private static final long _POSIX_C_SOURCE = 200809L; + /** + * {@snippet lang=c : + * #define _POSIX_C_SOURCE 200809 + * } + */ + public static long _POSIX_C_SOURCE() { + return _POSIX_C_SOURCE; + } + private static final long BLIS_MAX_TYPE_SIZE = 16L; + /** + * {@snippet lang=c : + * #define BLIS_MAX_TYPE_SIZE 16 + * } + */ + public static long BLIS_MAX_TYPE_SIZE() { + return BLIS_MAX_TYPE_SIZE; + } + private static final int BLIS_DATATYPE_NUM_BITS = (int)3L; + /** + * {@snippet lang=c : + * #define BLIS_DATATYPE_NUM_BITS 3 + * } + */ + public static int BLIS_DATATYPE_NUM_BITS() { + return BLIS_DATATYPE_NUM_BITS; + } + private static final int BLIS_CONJTRANS_NUM_BITS = (int)2L; + /** + * {@snippet lang=c : + * #define BLIS_CONJTRANS_NUM_BITS 2 + * } + */ + public static int BLIS_CONJTRANS_NUM_BITS() { + return BLIS_CONJTRANS_NUM_BITS; + } + private static final int BLIS_UPLO_NUM_BITS = (int)3L; + /** + * {@snippet lang=c : + * #define BLIS_UPLO_NUM_BITS 3 + * } + */ + public static int BLIS_UPLO_NUM_BITS() { + return BLIS_UPLO_NUM_BITS; + } + private static final int BLIS_PACK_SCHEMA_NUM_BITS = (int)6L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_SCHEMA_NUM_BITS 6 + * } + */ + public static int BLIS_PACK_SCHEMA_NUM_BITS() { + return BLIS_PACK_SCHEMA_NUM_BITS; + } + private static final int BLIS_DOMAIN_SHIFT = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_DOMAIN_SHIFT 0 + * } + */ + public static int BLIS_DOMAIN_SHIFT() { + return BLIS_DOMAIN_SHIFT; + } + private static final int BLIS_PRECISION_SHIFT = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_PRECISION_SHIFT 1 + * } + */ + public static int BLIS_PRECISION_SHIFT() { + return BLIS_PRECISION_SHIFT; + } + private static final int BLIS_CONJTRANS_SHIFT = (int)3L; + /** + * {@snippet lang=c : + * #define BLIS_CONJTRANS_SHIFT 3 + * } + */ + public static int BLIS_CONJTRANS_SHIFT() { + return BLIS_CONJTRANS_SHIFT; + } + private static final int BLIS_TRANS_SHIFT = (int)3L; + /** + * {@snippet lang=c : + * #define BLIS_TRANS_SHIFT 3 + * } + */ + public static int BLIS_TRANS_SHIFT() { + return BLIS_TRANS_SHIFT; + } + private static final int BLIS_CONJ_SHIFT = (int)4L; + /** + * {@snippet lang=c : + * #define BLIS_CONJ_SHIFT 4 + * } + */ + public static int BLIS_CONJ_SHIFT() { + return BLIS_CONJ_SHIFT; + } + private static final int BLIS_UPLO_SHIFT = (int)5L; + /** + * {@snippet lang=c : + * #define BLIS_UPLO_SHIFT 5 + * } + */ + public static int BLIS_UPLO_SHIFT() { + return BLIS_UPLO_SHIFT; + } + private static final int BLIS_UPPER_SHIFT = (int)5L; + /** + * {@snippet lang=c : + * #define BLIS_UPPER_SHIFT 5 + * } + */ + public static int BLIS_UPPER_SHIFT() { + return BLIS_UPPER_SHIFT; + } + private static final int BLIS_DIAG_SHIFT = (int)6L; + /** + * {@snippet lang=c : + * #define BLIS_DIAG_SHIFT 6 + * } + */ + public static int BLIS_DIAG_SHIFT() { + return BLIS_DIAG_SHIFT; + } + private static final int BLIS_LOWER_SHIFT = (int)7L; + /** + * {@snippet lang=c : + * #define BLIS_LOWER_SHIFT 7 + * } + */ + public static int BLIS_LOWER_SHIFT() { + return BLIS_LOWER_SHIFT; + } + private static final int BLIS_UNIT_DIAG_SHIFT = (int)8L; + /** + * {@snippet lang=c : + * #define BLIS_UNIT_DIAG_SHIFT 8 + * } + */ + public static int BLIS_UNIT_DIAG_SHIFT() { + return BLIS_UNIT_DIAG_SHIFT; + } + private static final int BLIS_INVERT_DIAG_SHIFT = (int)9L; + /** + * {@snippet lang=c : + * #define BLIS_INVERT_DIAG_SHIFT 9 + * } + */ + public static int BLIS_INVERT_DIAG_SHIFT() { + return BLIS_INVERT_DIAG_SHIFT; + } + private static final int BLIS_PACK_SCHEMA_SHIFT = (int)10L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_SCHEMA_SHIFT 10 + * } + */ + public static int BLIS_PACK_SCHEMA_SHIFT() { + return BLIS_PACK_SCHEMA_SHIFT; + } + private static final int BLIS_PACK_PANEL_SHIFT = (int)10L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_PANEL_SHIFT 10 + * } + */ + public static int BLIS_PACK_PANEL_SHIFT() { + return BLIS_PACK_PANEL_SHIFT; + } + private static final int BLIS_PACK_FORMAT_SHIFT = (int)11L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_FORMAT_SHIFT 11 + * } + */ + public static int BLIS_PACK_FORMAT_SHIFT() { + return BLIS_PACK_FORMAT_SHIFT; + } + private static final int BLIS_PACK_SHIFT = (int)15L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_SHIFT 15 + * } + */ + public static int BLIS_PACK_SHIFT() { + return BLIS_PACK_SHIFT; + } + private static final int BLIS_PACK_REV_IF_UPPER_SHIFT = (int)16L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_REV_IF_UPPER_SHIFT 16 + * } + */ + public static int BLIS_PACK_REV_IF_UPPER_SHIFT() { + return BLIS_PACK_REV_IF_UPPER_SHIFT; + } + private static final int BLIS_PACK_REV_IF_LOWER_SHIFT = (int)17L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_REV_IF_LOWER_SHIFT 17 + * } + */ + public static int BLIS_PACK_REV_IF_LOWER_SHIFT() { + return BLIS_PACK_REV_IF_LOWER_SHIFT; + } + private static final int BLIS_PACK_BUFFER_SHIFT = (int)18L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_BUFFER_SHIFT 18 + * } + */ + public static int BLIS_PACK_BUFFER_SHIFT() { + return BLIS_PACK_BUFFER_SHIFT; + } + private static final int BLIS_STRUC_SHIFT = (int)20L; + /** + * {@snippet lang=c : + * #define BLIS_STRUC_SHIFT 20 + * } + */ + public static int BLIS_STRUC_SHIFT() { + return BLIS_STRUC_SHIFT; + } + private static final int BLIS_COMP_PREC_SHIFT = (int)22L; + /** + * {@snippet lang=c : + * #define BLIS_COMP_PREC_SHIFT 22 + * } + */ + public static int BLIS_COMP_PREC_SHIFT() { + return BLIS_COMP_PREC_SHIFT; + } + private static final int BLIS_SCALAR_DT_SHIFT = (int)24L; + /** + * {@snippet lang=c : + * #define BLIS_SCALAR_DT_SHIFT 24 + * } + */ + public static int BLIS_SCALAR_DT_SHIFT() { + return BLIS_SCALAR_DT_SHIFT; + } + private static final int BLIS_SCALAR_DOMAIN_SHIFT = (int)24L; + /** + * {@snippet lang=c : + * #define BLIS_SCALAR_DOMAIN_SHIFT 24 + * } + */ + public static int BLIS_SCALAR_DOMAIN_SHIFT() { + return BLIS_SCALAR_DOMAIN_SHIFT; + } + private static final int BLIS_SCALAR_PREC_SHIFT = (int)25L; + /** + * {@snippet lang=c : + * #define BLIS_SCALAR_PREC_SHIFT 25 + * } + */ + public static int BLIS_SCALAR_PREC_SHIFT() { + return BLIS_SCALAR_PREC_SHIFT; + } + private static final int BLIS_INFO_NUM_BITS = (int)27L; + /** + * {@snippet lang=c : + * #define BLIS_INFO_NUM_BITS 27 + * } + */ + public static int BLIS_INFO_NUM_BITS() { + return BLIS_INFO_NUM_BITS; + } + private static final int BLIS_DATATYPE_BITS = (int)7L; + /** + * {@snippet lang=c : + * #define BLIS_DATATYPE_BITS 7 + * } + */ + public static int BLIS_DATATYPE_BITS() { + return BLIS_DATATYPE_BITS; + } + private static final int BLIS_DOMAIN_BIT = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_DOMAIN_BIT 1 + * } + */ + public static int BLIS_DOMAIN_BIT() { + return BLIS_DOMAIN_BIT; + } + private static final int BLIS_PRECISION_BIT = (int)6L; + /** + * {@snippet lang=c : + * #define BLIS_PRECISION_BIT 6 + * } + */ + public static int BLIS_PRECISION_BIT() { + return BLIS_PRECISION_BIT; + } + private static final int BLIS_CONJTRANS_BITS = (int)24L; + /** + * {@snippet lang=c : + * #define BLIS_CONJTRANS_BITS 24 + * } + */ + public static int BLIS_CONJTRANS_BITS() { + return BLIS_CONJTRANS_BITS; + } + private static final int BLIS_TRANS_BIT = (int)8L; + /** + * {@snippet lang=c : + * #define BLIS_TRANS_BIT 8 + * } + */ + public static int BLIS_TRANS_BIT() { + return BLIS_TRANS_BIT; + } + private static final int BLIS_CONJ_BIT = (int)16L; + /** + * {@snippet lang=c : + * #define BLIS_CONJ_BIT 16 + * } + */ + public static int BLIS_CONJ_BIT() { + return BLIS_CONJ_BIT; + } + private static final int BLIS_UPLO_BITS = (int)224L; + /** + * {@snippet lang=c : + * #define BLIS_UPLO_BITS 224 + * } + */ + public static int BLIS_UPLO_BITS() { + return BLIS_UPLO_BITS; + } + private static final int BLIS_UPPER_BIT = (int)32L; + /** + * {@snippet lang=c : + * #define BLIS_UPPER_BIT 32 + * } + */ + public static int BLIS_UPPER_BIT() { + return BLIS_UPPER_BIT; + } + private static final int BLIS_DIAG_BIT = (int)64L; + /** + * {@snippet lang=c : + * #define BLIS_DIAG_BIT 64 + * } + */ + public static int BLIS_DIAG_BIT() { + return BLIS_DIAG_BIT; + } + private static final int BLIS_LOWER_BIT = (int)128L; + /** + * {@snippet lang=c : + * #define BLIS_LOWER_BIT 128 + * } + */ + public static int BLIS_LOWER_BIT() { + return BLIS_LOWER_BIT; + } + private static final int BLIS_UNIT_DIAG_BIT = (int)256L; + /** + * {@snippet lang=c : + * #define BLIS_UNIT_DIAG_BIT 256 + * } + */ + public static int BLIS_UNIT_DIAG_BIT() { + return BLIS_UNIT_DIAG_BIT; + } + private static final int BLIS_INVERT_DIAG_BIT = (int)512L; + /** + * {@snippet lang=c : + * #define BLIS_INVERT_DIAG_BIT 512 + * } + */ + public static int BLIS_INVERT_DIAG_BIT() { + return BLIS_INVERT_DIAG_BIT; + } + private static final int BLIS_PACK_SCHEMA_BITS = (int)64512L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_SCHEMA_BITS 64512 + * } + */ + public static int BLIS_PACK_SCHEMA_BITS() { + return BLIS_PACK_SCHEMA_BITS; + } + private static final int BLIS_PACK_PANEL_BIT = (int)1024L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_PANEL_BIT 1024 + * } + */ + public static int BLIS_PACK_PANEL_BIT() { + return BLIS_PACK_PANEL_BIT; + } + private static final int BLIS_PACK_FORMAT_BITS = (int)30720L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_FORMAT_BITS 30720 + * } + */ + public static int BLIS_PACK_FORMAT_BITS() { + return BLIS_PACK_FORMAT_BITS; + } + private static final int BLIS_PACK_BIT = (int)32768L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_BIT 32768 + * } + */ + public static int BLIS_PACK_BIT() { + return BLIS_PACK_BIT; + } + private static final int BLIS_PACK_REV_IF_UPPER_BIT = (int)65536L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_REV_IF_UPPER_BIT 65536 + * } + */ + public static int BLIS_PACK_REV_IF_UPPER_BIT() { + return BLIS_PACK_REV_IF_UPPER_BIT; + } + private static final int BLIS_PACK_REV_IF_LOWER_BIT = (int)131072L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_REV_IF_LOWER_BIT 131072 + * } + */ + public static int BLIS_PACK_REV_IF_LOWER_BIT() { + return BLIS_PACK_REV_IF_LOWER_BIT; + } + private static final int BLIS_PACK_BUFFER_BITS = (int)786432L; + /** + * {@snippet lang=c : + * #define BLIS_PACK_BUFFER_BITS 786432 + * } + */ + public static int BLIS_PACK_BUFFER_BITS() { + return BLIS_PACK_BUFFER_BITS; + } + private static final int BLIS_STRUC_BITS = (int)3145728L; + /** + * {@snippet lang=c : + * #define BLIS_STRUC_BITS 3145728 + * } + */ + public static int BLIS_STRUC_BITS() { + return BLIS_STRUC_BITS; + } + private static final int BLIS_COMP_PREC_BIT = (int)12582912L; + /** + * {@snippet lang=c : + * #define BLIS_COMP_PREC_BIT 12582912 + * } + */ + public static int BLIS_COMP_PREC_BIT() { + return BLIS_COMP_PREC_BIT; + } + private static final int BLIS_SCALAR_DT_BITS = (int)117440512L; + /** + * {@snippet lang=c : + * #define BLIS_SCALAR_DT_BITS 117440512 + * } + */ + public static int BLIS_SCALAR_DT_BITS() { + return BLIS_SCALAR_DT_BITS; + } + private static final int BLIS_SCALAR_DOMAIN_BIT = (int)16777216L; + /** + * {@snippet lang=c : + * #define BLIS_SCALAR_DOMAIN_BIT 16777216 + * } + */ + public static int BLIS_SCALAR_DOMAIN_BIT() { + return BLIS_SCALAR_DOMAIN_BIT; + } + private static final int BLIS_SCALAR_PREC_BIT = (int)100663296L; + /** + * {@snippet lang=c : + * #define BLIS_SCALAR_PREC_BIT 100663296 + * } + */ + public static int BLIS_SCALAR_PREC_BIT() { + return BLIS_SCALAR_PREC_BIT; + } + private static final int BLIS_BITVAL_COMPLEX = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_COMPLEX 1 + * } + */ + public static int BLIS_BITVAL_COMPLEX() { + return BLIS_BITVAL_COMPLEX; + } + private static final int BLIS_BITVAL_DOUBLE_PREC = (int)2L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_DOUBLE_PREC 2 + * } + */ + public static int BLIS_BITVAL_DOUBLE_PREC() { + return BLIS_BITVAL_DOUBLE_PREC; + } + private static final int BLIS_BITVAL_SCOMPLEX_TYPE = (int)1L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_SCOMPLEX_TYPE 1 + * } + */ + public static int BLIS_BITVAL_SCOMPLEX_TYPE() { + return BLIS_BITVAL_SCOMPLEX_TYPE; + } + private static final int BLIS_BITVAL_DOUBLE_TYPE = (int)2L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_DOUBLE_TYPE 2 + * } + */ + public static int BLIS_BITVAL_DOUBLE_TYPE() { + return BLIS_BITVAL_DOUBLE_TYPE; + } + private static final int BLIS_BITVAL_DCOMPLEX_TYPE = (int)3L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_DCOMPLEX_TYPE 3 + * } + */ + public static int BLIS_BITVAL_DCOMPLEX_TYPE() { + return BLIS_BITVAL_DCOMPLEX_TYPE; + } + private static final int BLIS_BITVAL_TRANS = (int)8L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_TRANS 8 + * } + */ + public static int BLIS_BITVAL_TRANS() { + return BLIS_BITVAL_TRANS; + } + private static final int BLIS_BITVAL_CONJ = (int)16L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_CONJ 16 + * } + */ + public static int BLIS_BITVAL_CONJ() { + return BLIS_BITVAL_CONJ; + } + private static final int BLIS_BITVAL_CONJ_TRANS = (int)24L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_CONJ_TRANS 24 + * } + */ + public static int BLIS_BITVAL_CONJ_TRANS() { + return BLIS_BITVAL_CONJ_TRANS; + } + private static final int BLIS_BITVAL_UPPER = (int)96L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_UPPER 96 + * } + */ + public static int BLIS_BITVAL_UPPER() { + return BLIS_BITVAL_UPPER; + } + private static final int BLIS_BITVAL_LOWER = (int)192L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_LOWER 192 + * } + */ + public static int BLIS_BITVAL_LOWER() { + return BLIS_BITVAL_LOWER; + } + private static final int BLIS_BITVAL_DENSE = (int)224L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_DENSE 224 + * } + */ + public static int BLIS_BITVAL_DENSE() { + return BLIS_BITVAL_DENSE; + } + private static final int BLIS_BITVAL_UNIT_DIAG = (int)256L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_UNIT_DIAG 256 + * } + */ + public static int BLIS_BITVAL_UNIT_DIAG() { + return BLIS_BITVAL_UNIT_DIAG; + } + private static final int BLIS_BITVAL_INVERT_DIAG = (int)512L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_INVERT_DIAG 512 + * } + */ + public static int BLIS_BITVAL_INVERT_DIAG() { + return BLIS_BITVAL_INVERT_DIAG; + } + private static final int BLIS_BITVAL_1E = (int)2048L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_1E 2048 + * } + */ + public static int BLIS_BITVAL_1E() { + return BLIS_BITVAL_1E; + } + private static final int BLIS_BITVAL_1R = (int)4096L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_1R 4096 + * } + */ + public static int BLIS_BITVAL_1R() { + return BLIS_BITVAL_1R; + } + private static final int BLIS_BITVAL_RO = (int)6144L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_RO 6144 + * } + */ + public static int BLIS_BITVAL_RO() { + return BLIS_BITVAL_RO; + } + private static final int BLIS_BITVAL_PACKED_UNSPEC = (int)32768L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_PACKED_UNSPEC 32768 + * } + */ + public static int BLIS_BITVAL_PACKED_UNSPEC() { + return BLIS_BITVAL_PACKED_UNSPEC; + } + private static final int BLIS_BITVAL_PACKED_PANELS = (int)33792L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_PACKED_PANELS 33792 + * } + */ + public static int BLIS_BITVAL_PACKED_PANELS() { + return BLIS_BITVAL_PACKED_PANELS; + } + private static final int BLIS_BITVAL_PACKED_PANELS_1E = (int)35840L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_PACKED_PANELS_1E 35840 + * } + */ + public static int BLIS_BITVAL_PACKED_PANELS_1E() { + return BLIS_BITVAL_PACKED_PANELS_1E; + } + private static final int BLIS_BITVAL_PACKED_PANELS_1R = (int)37888L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_PACKED_PANELS_1R 37888 + * } + */ + public static int BLIS_BITVAL_PACKED_PANELS_1R() { + return BLIS_BITVAL_PACKED_PANELS_1R; + } + private static final int BLIS_BITVAL_PACKED_PANELS_RO = (int)39936L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_PACKED_PANELS_RO 39936 + * } + */ + public static int BLIS_BITVAL_PACKED_PANELS_RO() { + return BLIS_BITVAL_PACKED_PANELS_RO; + } + private static final int BLIS_BITVAL_PACK_REV_IF_UPPER = (int)65536L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_PACK_REV_IF_UPPER 65536 + * } + */ + public static int BLIS_BITVAL_PACK_REV_IF_UPPER() { + return BLIS_BITVAL_PACK_REV_IF_UPPER; + } + private static final int BLIS_BITVAL_PACK_REV_IF_LOWER = (int)131072L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_PACK_REV_IF_LOWER 131072 + * } + */ + public static int BLIS_BITVAL_PACK_REV_IF_LOWER() { + return BLIS_BITVAL_PACK_REV_IF_LOWER; + } + private static final int BLIS_BITVAL_BUFFER_FOR_B_PANEL = (int)262144L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_BUFFER_FOR_B_PANEL 262144 + * } + */ + public static int BLIS_BITVAL_BUFFER_FOR_B_PANEL() { + return BLIS_BITVAL_BUFFER_FOR_B_PANEL; + } + private static final int BLIS_BITVAL_BUFFER_FOR_C_PANEL = (int)524288L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_BUFFER_FOR_C_PANEL 524288 + * } + */ + public static int BLIS_BITVAL_BUFFER_FOR_C_PANEL() { + return BLIS_BITVAL_BUFFER_FOR_C_PANEL; + } + private static final int BLIS_BITVAL_BUFFER_FOR_GEN_USE = (int)786432L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_BUFFER_FOR_GEN_USE 786432 + * } + */ + public static int BLIS_BITVAL_BUFFER_FOR_GEN_USE() { + return BLIS_BITVAL_BUFFER_FOR_GEN_USE; + } + private static final int BLIS_BITVAL_HERMITIAN = (int)1048576L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_HERMITIAN 1048576 + * } + */ + public static int BLIS_BITVAL_HERMITIAN() { + return BLIS_BITVAL_HERMITIAN; + } + private static final int BLIS_BITVAL_SYMMETRIC = (int)2097152L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_SYMMETRIC 2097152 + * } + */ + public static int BLIS_BITVAL_SYMMETRIC() { + return BLIS_BITVAL_SYMMETRIC; + } + private static final int BLIS_BITVAL_TRIANGULAR = (int)3145728L; + /** + * {@snippet lang=c : + * #define BLIS_BITVAL_TRIANGULAR 3145728 + * } + */ + public static int BLIS_BITVAL_TRIANGULAR() { + return BLIS_BITVAL_TRIANGULAR; + } + private static final int BLIS_MACH_PARAM_FIRST = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_MACH_PARAM_FIRST 0 + * } + */ + public static int BLIS_MACH_PARAM_FIRST() { + return BLIS_MACH_PARAM_FIRST; + } + private static final int BLIS_MACH_PARAM_LAST = (int)10L; + /** + * {@snippet lang=c : + * #define BLIS_MACH_PARAM_LAST 10 + * } + */ + public static int BLIS_MACH_PARAM_LAST() { + return BLIS_MACH_PARAM_LAST; + } + private static final int bli_1m = (int)0L; + /** + * {@snippet lang=c : + * #define bli_1m 0 + * } + */ + public static int bli_1m() { + return bli_1m; + } + private static final int bli_nat = (int)1L; + /** + * {@snippet lang=c : + * #define bli_nat 1 + * } + */ + public static int bli_nat() { + return bli_nat; + } + private static final int BLIS_NTYPE_KER_BITS = (int)4026531840L; + /** + * {@snippet lang=c : + * #define BLIS_NTYPE_KER_BITS 4026531840 + * } + */ + public static int BLIS_NTYPE_KER_BITS() { + return BLIS_NTYPE_KER_BITS; + } + private static final int BLIS_1TYPE_KER = (int)0L; + /** + * {@snippet lang=c : + * #define BLIS_1TYPE_KER 0 + * } + */ + public static int BLIS_1TYPE_KER() { + return BLIS_1TYPE_KER; + } + private static final int BLIS_2TYPE_KER = (int)268435456L; + /** + * {@snippet lang=c : + * #define BLIS_2TYPE_KER 268435456 + * } + */ + public static int BLIS_2TYPE_KER() { + return BLIS_2TYPE_KER; + } + private static final int BLIS_3TYPE_KER = (int)536870912L; + /** + * {@snippet lang=c : + * #define BLIS_3TYPE_KER 536870912 + * } + */ + public static int BLIS_3TYPE_KER() { + return BLIS_3TYPE_KER; + } + private static final int BLIS_VA_END = (int)4294967295L; + /** + * {@snippet lang=c : + * #define BLIS_VA_END 4294967295 + * } + */ + public static int BLIS_VA_END() { + return BLIS_VA_END; + } + /** + * {@snippet lang=c : + * #define BLIS_FUNC_PREFIX_STR "bli" + * } + */ + public static MemorySegment BLIS_FUNC_PREFIX_STR() { + class Holder { + static final MemorySegment BLIS_FUNC_PREFIX_STR + = blis_h.LIBRARY_ARENA.allocateFrom("bli"); + } + return Holder.BLIS_FUNC_PREFIX_STR; + } + private static final int bli_stype = (int)0L; + /** + * {@snippet lang=c : + * #define bli_stype 0 + * } + */ + public static int bli_stype() { + return bli_stype; + } + private static final int bli_dtype = (int)2L; + /** + * {@snippet lang=c : + * #define bli_dtype 2 + * } + */ + public static int bli_dtype() { + return bli_dtype; + } + private static final int bli_ctype = (int)1L; + /** + * {@snippet lang=c : + * #define bli_ctype 1 + * } + */ + public static int bli_ctype() { + return bli_ctype; + } + private static final int bli_ztype = (int)3L; + /** + * {@snippet lang=c : + * #define bli_ztype 3 + * } + */ + public static int bli_ztype() { + return bli_ztype; + } + private static final float bli_stwo = 2.0f; + /** + * {@snippet lang=c : + * #define bli_stwo 2.0 + * } + */ + public static float bli_stwo() { + return bli_stwo; + } + private static final float bli_sone = 1.0f; + /** + * {@snippet lang=c : + * #define bli_sone 1.0 + * } + */ + public static float bli_sone() { + return bli_sone; + } + private static final float bli_szero = 0.0f; + /** + * {@snippet lang=c : + * #define bli_szero 0.0 + * } + */ + public static float bli_szero() { + return bli_szero; + } + private static final float bli_smone = -1.0f; + /** + * {@snippet lang=c : + * #define bli_smone -1.0 + * } + */ + public static float bli_smone() { + return bli_smone; + } + private static final float bli_smtwo = -2.0f; + /** + * {@snippet lang=c : + * #define bli_smtwo -2.0 + * } + */ + public static float bli_smtwo() { + return bli_smtwo; + } + private static final double bli_dtwo = 2.0d; + /** + * {@snippet lang=c : + * #define bli_dtwo 2.0 + * } + */ + public static double bli_dtwo() { + return bli_dtwo; + } + private static final double bli_done = 1.0d; + /** + * {@snippet lang=c : + * #define bli_done 1.0 + * } + */ + public static double bli_done() { + return bli_done; + } + private static final double bli_dzero = 0.0d; + /** + * {@snippet lang=c : + * #define bli_dzero 0.0 + * } + */ + public static double bli_dzero() { + return bli_dzero; + } + private static final double bli_dmone = -1.0d; + /** + * {@snippet lang=c : + * #define bli_dmone -1.0 + * } + */ + public static double bli_dmone() { + return bli_dmone; + } + private static final double bli_dmtwo = -2.0d; + /** + * {@snippet lang=c : + * #define bli_dmtwo -2.0 + * } + */ + public static double bli_dmtwo() { + return bli_dmtwo; + } + private static final int BLIS_STACK_BUF_MAX_SIZE = (int)8192L; + /** + * {@snippet lang=c : + * #define BLIS_STACK_BUF_MAX_SIZE 8192 + * } + */ + public static int BLIS_STACK_BUF_MAX_SIZE() { + return BLIS_STACK_BUF_MAX_SIZE; + } + private static final int BLIS_STACK_BUF_ALIGN_SIZE = (int)16L; + /** + * {@snippet lang=c : + * #define BLIS_STACK_BUF_ALIGN_SIZE 16 + * } + */ + public static int BLIS_STACK_BUF_ALIGN_SIZE() { + return BLIS_STACK_BUF_ALIGN_SIZE; + } + private static final int BLIS_HEAP_ADDR_ALIGN_SIZE = (int)16L; + /** + * {@snippet lang=c : + * #define BLIS_HEAP_ADDR_ALIGN_SIZE 16 + * } + */ + public static int BLIS_HEAP_ADDR_ALIGN_SIZE() { + return BLIS_HEAP_ADDR_ALIGN_SIZE; + } + private static final int BLIS_HEAP_STRIDE_ALIGN_SIZE = (int)16L; + /** + * {@snippet lang=c : + * #define BLIS_HEAP_STRIDE_ALIGN_SIZE 16 + * } + */ + public static int BLIS_HEAP_STRIDE_ALIGN_SIZE() { + return BLIS_HEAP_STRIDE_ALIGN_SIZE; + } + private static final int BLIS_POOL_ADDR_ALIGN_SIZE_A = (int)4096L; + /** + * {@snippet lang=c : + * #define BLIS_POOL_ADDR_ALIGN_SIZE_A 4096 + * } + */ + public static int BLIS_POOL_ADDR_ALIGN_SIZE_A() { + return BLIS_POOL_ADDR_ALIGN_SIZE_A; + } + private static final int BLIS_POOL_ADDR_ALIGN_SIZE_B = (int)4096L; + /** + * {@snippet lang=c : + * #define BLIS_POOL_ADDR_ALIGN_SIZE_B 4096 + * } + */ + public static int BLIS_POOL_ADDR_ALIGN_SIZE_B() { + return BLIS_POOL_ADDR_ALIGN_SIZE_B; + } + private static final int BLIS_POOL_ADDR_ALIGN_SIZE_C = (int)4096L; + /** + * {@snippet lang=c : + * #define BLIS_POOL_ADDR_ALIGN_SIZE_C 4096 + * } + */ + public static int BLIS_POOL_ADDR_ALIGN_SIZE_C() { + return BLIS_POOL_ADDR_ALIGN_SIZE_C; + } + private static final int BLIS_POOL_ADDR_ALIGN_SIZE_GEN = (int)4096L; + /** + * {@snippet lang=c : + * #define BLIS_POOL_ADDR_ALIGN_SIZE_GEN 4096 + * } + */ + public static int BLIS_POOL_ADDR_ALIGN_SIZE_GEN() { + return BLIS_POOL_ADDR_ALIGN_SIZE_GEN; + } + private static final int TRUE_ = (int)1L; + /** + * {@snippet lang=c : + * #define TRUE_ 1 + * } + */ + public static int TRUE_() { + return TRUE_; + } + private static final int FALSE_ = (int)0L; + /** + * {@snippet lang=c : + * #define FALSE_ 0 + * } + */ + public static int FALSE_() { + return FALSE_; + } + private static final int BLIS_MAX_BLAS_FUNC_STR_LENGTH = (int)8L; + /** + * {@snippet lang=c : + * #define BLIS_MAX_BLAS_FUNC_STR_LENGTH 8 + * } + */ + public static int BLIS_MAX_BLAS_FUNC_STR_LENGTH() { + return BLIS_MAX_BLAS_FUNC_STR_LENGTH; + } +} + diff --git a/generated/src/blis_typed/blksz_s.java b/generated/src/blis_typed/blksz_s.java new file mode 100644 index 00000000..741e2129 --- /dev/null +++ b/generated/src/blis_typed/blksz_s.java @@ -0,0 +1,239 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct blksz_s { + * dim_t v[4]; + * dim_t e[4]; + * } + * } + */ +public class blksz_s { + + blksz_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(4, blis_h.C_LONG_LONG).withName("v"), + MemoryLayout.sequenceLayout(4, blis_h.C_LONG_LONG).withName("e") + ).withName("blksz_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout v$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("v")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t v[4] + * } + */ + public static final SequenceLayout v$layout() { + return v$LAYOUT; + } + + private static final long v$OFFSET = $LAYOUT.byteOffset(groupElement("v")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t v[4] + * } + */ + public static final long v$offset() { + return v$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t v[4] + * } + */ + public static MemorySegment v(MemorySegment struct) { + return struct.asSlice(v$OFFSET, v$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t v[4] + * } + */ + public static void v(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, v$OFFSET, v$LAYOUT.byteSize()); + } + + private static long[] v$DIMS = { 4 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * dim_t v[4] + * } + */ + public static long[] v$dimensions() { + return v$DIMS; + } + private static final VarHandle v$ELEM_HANDLE = v$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * dim_t v[4] + * } + */ + public static long v(MemorySegment struct, long index0) { + return (long)v$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * dim_t v[4] + * } + */ + public static void v(MemorySegment struct, long index0, long fieldValue) { + v$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout e$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("e")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t e[4] + * } + */ + public static final SequenceLayout e$layout() { + return e$LAYOUT; + } + + private static final long e$OFFSET = $LAYOUT.byteOffset(groupElement("e")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t e[4] + * } + */ + public static final long e$offset() { + return e$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t e[4] + * } + */ + public static MemorySegment e(MemorySegment struct) { + return struct.asSlice(e$OFFSET, e$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t e[4] + * } + */ + public static void e(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, e$OFFSET, e$LAYOUT.byteSize()); + } + + private static long[] e$DIMS = { 4 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * dim_t e[4] + * } + */ + public static long[] e$dimensions() { + return e$DIMS; + } + private static final VarHandle e$ELEM_HANDLE = e$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * dim_t e[4] + * } + */ + public static long e(MemorySegment struct, long index0) { + return (long)e$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * dim_t e[4] + * } + */ + public static void e(MemorySegment struct, long index0, long fieldValue) { + e$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/cntl_s.java b/generated/src/blis_typed/cntl_s.java new file mode 100644 index 00000000..e1702052 --- /dev/null +++ b/generated/src/blis_typed/cntl_s.java @@ -0,0 +1,392 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.util.function.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct cntl_s { + * void_fp var_func; + * struct { + * dim_t ways; + * struct cntl_s *sub_node; + * } sub_nodes[2]; + * } + * } + */ +public class cntl_s { + + cntl_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_POINTER.withName("var_func"), + MemoryLayout.sequenceLayout(2, cntl_s.SubNodeStruct.layout()).withName("sub_nodes") + ).withName("cntl_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout var_func$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("var_func")); + + /** + * Layout for field: + * {@snippet lang=c : + * void_fp var_func + * } + */ + public static final AddressLayout var_func$layout() { + return var_func$LAYOUT; + } + + private static final long var_func$OFFSET = $LAYOUT.byteOffset(groupElement("var_func")); + + /** + * Offset for field: + * {@snippet lang=c : + * void_fp var_func + * } + */ + public static final long var_func$offset() { + return var_func$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void_fp var_func + * } + */ + public static MemorySegment var_func(MemorySegment struct) { + return struct.get(var_func$LAYOUT, var_func$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void_fp var_func + * } + */ + public static void var_func(MemorySegment struct, MemorySegment fieldValue) { + struct.set(var_func$LAYOUT, var_func$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * struct { + * dim_t ways; + * struct cntl_s *sub_node; + * } + * } + */ + public static class SubNodeStruct { + + SubNodeStruct() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG_LONG.withName("ways"), + blis_h.C_POINTER.withName("sub_node") + ).withName("SubNodeStruct"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong ways$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ways")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t ways + * } + */ + public static final OfLong ways$layout() { + return ways$LAYOUT; + } + + private static final long ways$OFFSET = $LAYOUT.byteOffset(groupElement("ways")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t ways + * } + */ + public static final long ways$offset() { + return ways$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t ways + * } + */ + public static long ways(MemorySegment struct) { + return struct.get(ways$LAYOUT, ways$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t ways + * } + */ + public static void ways(MemorySegment struct, long fieldValue) { + struct.set(ways$LAYOUT, ways$OFFSET, fieldValue); + } + + private static final AddressLayout sub_node$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("sub_node")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct cntl_s *sub_node + * } + */ + public static final AddressLayout sub_node$layout() { + return sub_node$LAYOUT; + } + + private static final long sub_node$OFFSET = $LAYOUT.byteOffset(groupElement("sub_node")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct cntl_s *sub_node + * } + */ + public static final long sub_node$offset() { + return sub_node$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct cntl_s *sub_node + * } + */ + public static MemorySegment sub_node(MemorySegment struct) { + return struct.get(sub_node$LAYOUT, sub_node$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct cntl_s *sub_node + * } + */ + public static void sub_node(MemorySegment struct, MemorySegment fieldValue) { + struct.set(sub_node$LAYOUT, sub_node$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } + } + + private static final SequenceLayout sub_nodes$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("sub_nodes")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct { + * dim_t ways; + * struct cntl_s *sub_node; + * } sub_nodes[2] + * } + */ + public static final SequenceLayout sub_nodes$layout() { + return sub_nodes$LAYOUT; + } + + private static final long sub_nodes$OFFSET = $LAYOUT.byteOffset(groupElement("sub_nodes")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct { + * dim_t ways; + * struct cntl_s *sub_node; + * } sub_nodes[2] + * } + */ + public static final long sub_nodes$offset() { + return sub_nodes$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct { + * dim_t ways; + * struct cntl_s *sub_node; + * } sub_nodes[2] + * } + */ + public static MemorySegment sub_nodes(MemorySegment struct) { + return struct.asSlice(sub_nodes$OFFSET, sub_nodes$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct { + * dim_t ways; + * struct cntl_s *sub_node; + * } sub_nodes[2] + * } + */ + public static void sub_nodes(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, sub_nodes$OFFSET, sub_nodes$LAYOUT.byteSize()); + } + + private static long[] sub_nodes$DIMS = { 2 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * struct { + * dim_t ways; + * struct cntl_s *sub_node; + * } sub_nodes[2] + * } + */ + public static long[] sub_nodes$dimensions() { + return sub_nodes$DIMS; + } + private static final MethodHandle sub_nodes$ELEM_HANDLE = sub_nodes$LAYOUT.sliceHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * struct { + * dim_t ways; + * struct cntl_s *sub_node; + * } sub_nodes[2] + * } + */ + public static MemorySegment sub_nodes(MemorySegment struct, long index0) { + try { + return (MemorySegment)sub_nodes$ELEM_HANDLE.invokeExact(struct, 0L, index0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * struct { + * dim_t ways; + * struct cntl_s *sub_node; + * } sub_nodes[2] + * } + */ + public static void sub_nodes(MemorySegment struct, long index0, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, sub_nodes(struct, index0), 0L, cntl_s.SubNodeStruct.layout().byteSize()); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/cntx_s.java b/generated/src/blis_typed/cntx_s.java new file mode 100644 index 00000000..8bd9902a --- /dev/null +++ b/generated/src/blis_typed/cntx_s.java @@ -0,0 +1,357 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct cntx_s { + * stck_t blkszs; + * stck_t bmults; + * stck_t ukrs; + * stck_t ukr2s; + * stck_t ukr_prefs; + * stck_t l3_sup_handlers; + * } + * } + */ +public class cntx_s { + + cntx_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + stck_t.layout().withName("blkszs"), + stck_t.layout().withName("bmults"), + stck_t.layout().withName("ukrs"), + stck_t.layout().withName("ukr2s"), + stck_t.layout().withName("ukr_prefs"), + stck_t.layout().withName("l3_sup_handlers") + ).withName("cntx_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout blkszs$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("blkszs")); + + /** + * Layout for field: + * {@snippet lang=c : + * stck_t blkszs + * } + */ + public static final GroupLayout blkszs$layout() { + return blkszs$LAYOUT; + } + + private static final long blkszs$OFFSET = $LAYOUT.byteOffset(groupElement("blkszs")); + + /** + * Offset for field: + * {@snippet lang=c : + * stck_t blkszs + * } + */ + public static final long blkszs$offset() { + return blkszs$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * stck_t blkszs + * } + */ + public static MemorySegment blkszs(MemorySegment struct) { + return struct.asSlice(blkszs$OFFSET, blkszs$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * stck_t blkszs + * } + */ + public static void blkszs(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, blkszs$OFFSET, blkszs$LAYOUT.byteSize()); + } + + private static final GroupLayout bmults$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("bmults")); + + /** + * Layout for field: + * {@snippet lang=c : + * stck_t bmults + * } + */ + public static final GroupLayout bmults$layout() { + return bmults$LAYOUT; + } + + private static final long bmults$OFFSET = $LAYOUT.byteOffset(groupElement("bmults")); + + /** + * Offset for field: + * {@snippet lang=c : + * stck_t bmults + * } + */ + public static final long bmults$offset() { + return bmults$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * stck_t bmults + * } + */ + public static MemorySegment bmults(MemorySegment struct) { + return struct.asSlice(bmults$OFFSET, bmults$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * stck_t bmults + * } + */ + public static void bmults(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, bmults$OFFSET, bmults$LAYOUT.byteSize()); + } + + private static final GroupLayout ukrs$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("ukrs")); + + /** + * Layout for field: + * {@snippet lang=c : + * stck_t ukrs + * } + */ + public static final GroupLayout ukrs$layout() { + return ukrs$LAYOUT; + } + + private static final long ukrs$OFFSET = $LAYOUT.byteOffset(groupElement("ukrs")); + + /** + * Offset for field: + * {@snippet lang=c : + * stck_t ukrs + * } + */ + public static final long ukrs$offset() { + return ukrs$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * stck_t ukrs + * } + */ + public static MemorySegment ukrs(MemorySegment struct) { + return struct.asSlice(ukrs$OFFSET, ukrs$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * stck_t ukrs + * } + */ + public static void ukrs(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ukrs$OFFSET, ukrs$LAYOUT.byteSize()); + } + + private static final GroupLayout ukr2s$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("ukr2s")); + + /** + * Layout for field: + * {@snippet lang=c : + * stck_t ukr2s + * } + */ + public static final GroupLayout ukr2s$layout() { + return ukr2s$LAYOUT; + } + + private static final long ukr2s$OFFSET = $LAYOUT.byteOffset(groupElement("ukr2s")); + + /** + * Offset for field: + * {@snippet lang=c : + * stck_t ukr2s + * } + */ + public static final long ukr2s$offset() { + return ukr2s$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * stck_t ukr2s + * } + */ + public static MemorySegment ukr2s(MemorySegment struct) { + return struct.asSlice(ukr2s$OFFSET, ukr2s$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * stck_t ukr2s + * } + */ + public static void ukr2s(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ukr2s$OFFSET, ukr2s$LAYOUT.byteSize()); + } + + private static final GroupLayout ukr_prefs$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("ukr_prefs")); + + /** + * Layout for field: + * {@snippet lang=c : + * stck_t ukr_prefs + * } + */ + public static final GroupLayout ukr_prefs$layout() { + return ukr_prefs$LAYOUT; + } + + private static final long ukr_prefs$OFFSET = $LAYOUT.byteOffset(groupElement("ukr_prefs")); + + /** + * Offset for field: + * {@snippet lang=c : + * stck_t ukr_prefs + * } + */ + public static final long ukr_prefs$offset() { + return ukr_prefs$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * stck_t ukr_prefs + * } + */ + public static MemorySegment ukr_prefs(MemorySegment struct) { + return struct.asSlice(ukr_prefs$OFFSET, ukr_prefs$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * stck_t ukr_prefs + * } + */ + public static void ukr_prefs(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ukr_prefs$OFFSET, ukr_prefs$LAYOUT.byteSize()); + } + + private static final GroupLayout l3_sup_handlers$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("l3_sup_handlers")); + + /** + * Layout for field: + * {@snippet lang=c : + * stck_t l3_sup_handlers + * } + */ + public static final GroupLayout l3_sup_handlers$layout() { + return l3_sup_handlers$LAYOUT; + } + + private static final long l3_sup_handlers$OFFSET = $LAYOUT.byteOffset(groupElement("l3_sup_handlers")); + + /** + * Offset for field: + * {@snippet lang=c : + * stck_t l3_sup_handlers + * } + */ + public static final long l3_sup_handlers$offset() { + return l3_sup_handlers$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * stck_t l3_sup_handlers + * } + */ + public static MemorySegment l3_sup_handlers(MemorySegment struct) { + return struct.asSlice(l3_sup_handlers$OFFSET, l3_sup_handlers$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * stck_t l3_sup_handlers + * } + */ + public static void l3_sup_handlers(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, l3_sup_handlers$OFFSET, l3_sup_handlers$LAYOUT.byteSize()); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/constdata_s.java b/generated/src/blis_typed/constdata_s.java new file mode 100644 index 00000000..56001538 --- /dev/null +++ b/generated/src/blis_typed/constdata_s.java @@ -0,0 +1,312 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct constdata_s { + * float s; + * double d; + * scomplex c; + * dcomplex z; + * gint_t i; + * } + * } + */ +public class constdata_s { + + constdata_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_FLOAT.withName("s"), + MemoryLayout.paddingLayout(4), + blis_h.C_DOUBLE.withName("d"), + scomplex.layout().withName("c"), + dcomplex.layout().withName("z"), + blis_h.C_LONG_LONG.withName("i") + ).withName("constdata_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfFloat s$LAYOUT = (OfFloat)$LAYOUT.select(groupElement("s")); + + /** + * Layout for field: + * {@snippet lang=c : + * float s + * } + */ + public static final OfFloat s$layout() { + return s$LAYOUT; + } + + private static final long s$OFFSET = $LAYOUT.byteOffset(groupElement("s")); + + /** + * Offset for field: + * {@snippet lang=c : + * float s + * } + */ + public static final long s$offset() { + return s$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * float s + * } + */ + public static float s(MemorySegment struct) { + return struct.get(s$LAYOUT, s$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * float s + * } + */ + public static void s(MemorySegment struct, float fieldValue) { + struct.set(s$LAYOUT, s$OFFSET, fieldValue); + } + + private static final OfDouble d$LAYOUT = (OfDouble)$LAYOUT.select(groupElement("d")); + + /** + * Layout for field: + * {@snippet lang=c : + * double d + * } + */ + public static final OfDouble d$layout() { + return d$LAYOUT; + } + + private static final long d$OFFSET = $LAYOUT.byteOffset(groupElement("d")); + + /** + * Offset for field: + * {@snippet lang=c : + * double d + * } + */ + public static final long d$offset() { + return d$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * double d + * } + */ + public static double d(MemorySegment struct) { + return struct.get(d$LAYOUT, d$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * double d + * } + */ + public static void d(MemorySegment struct, double fieldValue) { + struct.set(d$LAYOUT, d$OFFSET, fieldValue); + } + + private static final GroupLayout c$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("c")); + + /** + * Layout for field: + * {@snippet lang=c : + * scomplex c + * } + */ + public static final GroupLayout c$layout() { + return c$LAYOUT; + } + + private static final long c$OFFSET = $LAYOUT.byteOffset(groupElement("c")); + + /** + * Offset for field: + * {@snippet lang=c : + * scomplex c + * } + */ + public static final long c$offset() { + return c$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * scomplex c + * } + */ + public static MemorySegment c(MemorySegment struct) { + return struct.asSlice(c$OFFSET, c$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * scomplex c + * } + */ + public static void c(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, c$OFFSET, c$LAYOUT.byteSize()); + } + + private static final GroupLayout z$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("z")); + + /** + * Layout for field: + * {@snippet lang=c : + * dcomplex z + * } + */ + public static final GroupLayout z$layout() { + return z$LAYOUT; + } + + private static final long z$OFFSET = $LAYOUT.byteOffset(groupElement("z")); + + /** + * Offset for field: + * {@snippet lang=c : + * dcomplex z + * } + */ + public static final long z$offset() { + return z$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dcomplex z + * } + */ + public static MemorySegment z(MemorySegment struct) { + return struct.asSlice(z$OFFSET, z$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dcomplex z + * } + */ + public static void z(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, z$OFFSET, z$LAYOUT.byteSize()); + } + + private static final OfLong i$LAYOUT = (OfLong)$LAYOUT.select(groupElement("i")); + + /** + * Layout for field: + * {@snippet lang=c : + * gint_t i + * } + */ + public static final OfLong i$layout() { + return i$LAYOUT; + } + + private static final long i$OFFSET = $LAYOUT.byteOffset(groupElement("i")); + + /** + * Offset for field: + * {@snippet lang=c : + * gint_t i + * } + */ + public static final long i$offset() { + return i$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * gint_t i + * } + */ + public static long i(MemorySegment struct) { + return struct.get(i$LAYOUT, i$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * gint_t i + * } + */ + public static void i(MemorySegment struct, long fieldValue) { + struct.set(i$LAYOUT, i$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/dcomplex.java b/generated/src/blis_typed/dcomplex.java new file mode 100644 index 00000000..8851560c --- /dev/null +++ b/generated/src/blis_typed/dcomplex.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct dcomplex { + * double real; + * double imag; + * } + * } + */ +public class dcomplex { + + dcomplex() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_DOUBLE.withName("real"), + blis_h.C_DOUBLE.withName("imag") + ).withName("dcomplex"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfDouble real$LAYOUT = (OfDouble)$LAYOUT.select(groupElement("real")); + + /** + * Layout for field: + * {@snippet lang=c : + * double real + * } + */ + public static final OfDouble real$layout() { + return real$LAYOUT; + } + + private static final long real$OFFSET = $LAYOUT.byteOffset(groupElement("real")); + + /** + * Offset for field: + * {@snippet lang=c : + * double real + * } + */ + public static final long real$offset() { + return real$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * double real + * } + */ + public static double real(MemorySegment struct) { + return struct.get(real$LAYOUT, real$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * double real + * } + */ + public static void real(MemorySegment struct, double fieldValue) { + struct.set(real$LAYOUT, real$OFFSET, fieldValue); + } + + private static final OfDouble imag$LAYOUT = (OfDouble)$LAYOUT.select(groupElement("imag")); + + /** + * Layout for field: + * {@snippet lang=c : + * double imag + * } + */ + public static final OfDouble imag$layout() { + return imag$LAYOUT; + } + + private static final long imag$OFFSET = $LAYOUT.byteOffset(groupElement("imag")); + + /** + * Offset for field: + * {@snippet lang=c : + * double imag + * } + */ + public static final long imag$offset() { + return imag$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * double imag + * } + */ + public static double imag(MemorySegment struct) { + return struct.get(imag$LAYOUT, imag$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * double imag + * } + */ + public static void imag(MemorySegment struct, double fieldValue) { + struct.set(imag$LAYOUT, imag$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/func2_s.java b/generated/src/blis_typed/func2_s.java new file mode 100644 index 00000000..72f86902 --- /dev/null +++ b/generated/src/blis_typed/func2_s.java @@ -0,0 +1,160 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct func2_s { + * void_fp ptr[4][4]; + * } + * } + */ +public class func2_s { + + func2_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(4, MemoryLayout.sequenceLayout(4, blis_h.C_POINTER)).withName("ptr") + ).withName("func2_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout ptr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("ptr")); + + /** + * Layout for field: + * {@snippet lang=c : + * void_fp ptr[4][4] + * } + */ + public static final SequenceLayout ptr$layout() { + return ptr$LAYOUT; + } + + private static final long ptr$OFFSET = $LAYOUT.byteOffset(groupElement("ptr")); + + /** + * Offset for field: + * {@snippet lang=c : + * void_fp ptr[4][4] + * } + */ + public static final long ptr$offset() { + return ptr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void_fp ptr[4][4] + * } + */ + public static MemorySegment ptr(MemorySegment struct) { + return struct.asSlice(ptr$OFFSET, ptr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void_fp ptr[4][4] + * } + */ + public static void ptr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ptr$OFFSET, ptr$LAYOUT.byteSize()); + } + + private static long[] ptr$DIMS = { 4, 4 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * void_fp ptr[4][4] + * } + */ + public static long[] ptr$dimensions() { + return ptr$DIMS; + } + private static final VarHandle ptr$ELEM_HANDLE = ptr$LAYOUT.varHandle(sequenceElement(), sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * void_fp ptr[4][4] + * } + */ + public static MemorySegment ptr(MemorySegment struct, long index0, long index1) { + return (MemorySegment)ptr$ELEM_HANDLE.get(struct, 0L, index0, index1); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * void_fp ptr[4][4] + * } + */ + public static void ptr(MemorySegment struct, long index0, long index1, MemorySegment fieldValue) { + ptr$ELEM_HANDLE.set(struct, 0L, index0, index1, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/func_s.java b/generated/src/blis_typed/func_s.java new file mode 100644 index 00000000..ca123b46 --- /dev/null +++ b/generated/src/blis_typed/func_s.java @@ -0,0 +1,160 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct func_s { + * void_fp ptr[4]; + * } + * } + */ +public class func_s { + + func_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(4, blis_h.C_POINTER).withName("ptr") + ).withName("func_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout ptr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("ptr")); + + /** + * Layout for field: + * {@snippet lang=c : + * void_fp ptr[4] + * } + */ + public static final SequenceLayout ptr$layout() { + return ptr$LAYOUT; + } + + private static final long ptr$OFFSET = $LAYOUT.byteOffset(groupElement("ptr")); + + /** + * Offset for field: + * {@snippet lang=c : + * void_fp ptr[4] + * } + */ + public static final long ptr$offset() { + return ptr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void_fp ptr[4] + * } + */ + public static MemorySegment ptr(MemorySegment struct) { + return struct.asSlice(ptr$OFFSET, ptr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void_fp ptr[4] + * } + */ + public static void ptr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ptr$OFFSET, ptr$LAYOUT.byteSize()); + } + + private static long[] ptr$DIMS = { 4 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * void_fp ptr[4] + * } + */ + public static long[] ptr$dimensions() { + return ptr$DIMS; + } + private static final VarHandle ptr$ELEM_HANDLE = ptr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * void_fp ptr[4] + * } + */ + public static MemorySegment ptr(MemorySegment struct, long index0) { + return (MemorySegment)ptr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * void_fp ptr[4] + * } + */ + public static void ptr(MemorySegment struct, long index0, MemorySegment fieldValue) { + ptr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/gemm_cntl_s.java b/generated/src/blis_typed/gemm_cntl_s.java new file mode 100644 index 00000000..3b797077 --- /dev/null +++ b/generated/src/blis_typed/gemm_cntl_s.java @@ -0,0 +1,403 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct gemm_cntl_s { + * part_cntl_t part_jc; + * part_cntl_t part_pc; + * packm_def_cntl_t pack_b; + * part_cntl_t part_ic; + * packm_def_cntl_t pack_a; + * gemm_var_cntl_t ker; + * cntl_t ir_loop; + * } + * } + */ +public class gemm_cntl_s { + + gemm_cntl_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + part_cntl_s.layout().withName("part_jc"), + part_cntl_s.layout().withName("part_pc"), + packm_def_cntl_s.layout().withName("pack_b"), + part_cntl_s.layout().withName("part_ic"), + packm_def_cntl_s.layout().withName("pack_a"), + gemm_var_cntl_s.layout().withName("ker"), + cntl_s.layout().withName("ir_loop") + ).withName("gemm_cntl_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout part_jc$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("part_jc")); + + /** + * Layout for field: + * {@snippet lang=c : + * part_cntl_t part_jc + * } + */ + public static final GroupLayout part_jc$layout() { + return part_jc$LAYOUT; + } + + private static final long part_jc$OFFSET = $LAYOUT.byteOffset(groupElement("part_jc")); + + /** + * Offset for field: + * {@snippet lang=c : + * part_cntl_t part_jc + * } + */ + public static final long part_jc$offset() { + return part_jc$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * part_cntl_t part_jc + * } + */ + public static MemorySegment part_jc(MemorySegment struct) { + return struct.asSlice(part_jc$OFFSET, part_jc$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * part_cntl_t part_jc + * } + */ + public static void part_jc(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, part_jc$OFFSET, part_jc$LAYOUT.byteSize()); + } + + private static final GroupLayout part_pc$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("part_pc")); + + /** + * Layout for field: + * {@snippet lang=c : + * part_cntl_t part_pc + * } + */ + public static final GroupLayout part_pc$layout() { + return part_pc$LAYOUT; + } + + private static final long part_pc$OFFSET = $LAYOUT.byteOffset(groupElement("part_pc")); + + /** + * Offset for field: + * {@snippet lang=c : + * part_cntl_t part_pc + * } + */ + public static final long part_pc$offset() { + return part_pc$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * part_cntl_t part_pc + * } + */ + public static MemorySegment part_pc(MemorySegment struct) { + return struct.asSlice(part_pc$OFFSET, part_pc$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * part_cntl_t part_pc + * } + */ + public static void part_pc(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, part_pc$OFFSET, part_pc$LAYOUT.byteSize()); + } + + private static final GroupLayout pack_b$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("pack_b")); + + /** + * Layout for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_b + * } + */ + public static final GroupLayout pack_b$layout() { + return pack_b$LAYOUT; + } + + private static final long pack_b$OFFSET = $LAYOUT.byteOffset(groupElement("pack_b")); + + /** + * Offset for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_b + * } + */ + public static final long pack_b$offset() { + return pack_b$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_b + * } + */ + public static MemorySegment pack_b(MemorySegment struct) { + return struct.asSlice(pack_b$OFFSET, pack_b$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_b + * } + */ + public static void pack_b(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, pack_b$OFFSET, pack_b$LAYOUT.byteSize()); + } + + private static final GroupLayout part_ic$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("part_ic")); + + /** + * Layout for field: + * {@snippet lang=c : + * part_cntl_t part_ic + * } + */ + public static final GroupLayout part_ic$layout() { + return part_ic$LAYOUT; + } + + private static final long part_ic$OFFSET = $LAYOUT.byteOffset(groupElement("part_ic")); + + /** + * Offset for field: + * {@snippet lang=c : + * part_cntl_t part_ic + * } + */ + public static final long part_ic$offset() { + return part_ic$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * part_cntl_t part_ic + * } + */ + public static MemorySegment part_ic(MemorySegment struct) { + return struct.asSlice(part_ic$OFFSET, part_ic$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * part_cntl_t part_ic + * } + */ + public static void part_ic(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, part_ic$OFFSET, part_ic$LAYOUT.byteSize()); + } + + private static final GroupLayout pack_a$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("pack_a")); + + /** + * Layout for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a + * } + */ + public static final GroupLayout pack_a$layout() { + return pack_a$LAYOUT; + } + + private static final long pack_a$OFFSET = $LAYOUT.byteOffset(groupElement("pack_a")); + + /** + * Offset for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a + * } + */ + public static final long pack_a$offset() { + return pack_a$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a + * } + */ + public static MemorySegment pack_a(MemorySegment struct) { + return struct.asSlice(pack_a$OFFSET, pack_a$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a + * } + */ + public static void pack_a(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, pack_a$OFFSET, pack_a$LAYOUT.byteSize()); + } + + private static final GroupLayout ker$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("ker")); + + /** + * Layout for field: + * {@snippet lang=c : + * gemm_var_cntl_t ker + * } + */ + public static final GroupLayout ker$layout() { + return ker$LAYOUT; + } + + private static final long ker$OFFSET = $LAYOUT.byteOffset(groupElement("ker")); + + /** + * Offset for field: + * {@snippet lang=c : + * gemm_var_cntl_t ker + * } + */ + public static final long ker$offset() { + return ker$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * gemm_var_cntl_t ker + * } + */ + public static MemorySegment ker(MemorySegment struct) { + return struct.asSlice(ker$OFFSET, ker$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * gemm_var_cntl_t ker + * } + */ + public static void ker(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ker$OFFSET, ker$LAYOUT.byteSize()); + } + + private static final GroupLayout ir_loop$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("ir_loop")); + + /** + * Layout for field: + * {@snippet lang=c : + * cntl_t ir_loop + * } + */ + public static final GroupLayout ir_loop$layout() { + return ir_loop$LAYOUT; + } + + private static final long ir_loop$OFFSET = $LAYOUT.byteOffset(groupElement("ir_loop")); + + /** + * Offset for field: + * {@snippet lang=c : + * cntl_t ir_loop + * } + */ + public static final long ir_loop$offset() { + return ir_loop$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * cntl_t ir_loop + * } + */ + public static MemorySegment ir_loop(MemorySegment struct) { + return struct.asSlice(ir_loop$OFFSET, ir_loop$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * cntl_t ir_loop + * } + */ + public static void ir_loop(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ir_loop$OFFSET, ir_loop$LAYOUT.byteSize()); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/gemm_ker_params_t.java b/generated/src/blis_typed/gemm_ker_params_t.java new file mode 100644 index 00000000..572a5f8e --- /dev/null +++ b/generated/src/blis_typed/gemm_ker_params_t.java @@ -0,0 +1,193 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * gemm_ukr_ft ukr; + * } + * } + */ +public class gemm_ker_params_t { + + gemm_ker_params_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_POINTER.withName("ukr") + ).withName("gemm_ker_params_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + /** + * {@snippet lang=c : + * gemm_ukr_ft ukr + * } + */ + public final static class ukr { + + private ukr() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long _x0, long _x1, long _x2, MemorySegment _x3, MemorySegment _x4, MemorySegment _x5, MemorySegment _x6, MemorySegment _x7, long _x8, long _x9, MemorySegment _x10, MemorySegment _x11); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(ukr.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(ukr.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long _x0, long _x1, long _x2, MemorySegment _x3, MemorySegment _x4, MemorySegment _x5, MemorySegment _x6, MemorySegment _x7, long _x8, long _x9, MemorySegment _x10, MemorySegment _x11) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5, _x6, _x7, _x8, _x9, _x10, _x11); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout ukr$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ukr")); + + /** + * Layout for field: + * {@snippet lang=c : + * gemm_ukr_ft ukr + * } + */ + public static final AddressLayout ukr$layout() { + return ukr$LAYOUT; + } + + private static final long ukr$OFFSET = $LAYOUT.byteOffset(groupElement("ukr")); + + /** + * Offset for field: + * {@snippet lang=c : + * gemm_ukr_ft ukr + * } + */ + public static final long ukr$offset() { + return ukr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * gemm_ukr_ft ukr + * } + */ + public static MemorySegment ukr(MemorySegment struct) { + return struct.get(ukr$LAYOUT, ukr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * gemm_ukr_ft ukr + * } + */ + public static void ukr(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ukr$LAYOUT, ukr$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/gemm_var_cntl_s.java b/generated/src/blis_typed/gemm_var_cntl_s.java new file mode 100644 index 00000000..f84c318b --- /dev/null +++ b/generated/src/blis_typed/gemm_var_cntl_s.java @@ -0,0 +1,766 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct gemm_var_cntl_s { + * cntl_t cntl; + * num_t dt_comp; + * num_t dt_out; + * gemm_ukr_ft ukr; + * gemm_ukr_ft real_ukr; + * const void *params; + * const void *real_params; + * dim_t mr; + * dim_t nr; + * dim_t mr_scale; + * dim_t nr_scale; + * bool row_pref; + * } + * } + */ +public class gemm_var_cntl_s { + + gemm_var_cntl_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + cntl_s.layout().withName("cntl"), + blis_h.C_INT.withName("dt_comp"), + blis_h.C_INT.withName("dt_out"), + blis_h.C_POINTER.withName("ukr"), + blis_h.C_POINTER.withName("real_ukr"), + blis_h.C_POINTER.withName("params"), + blis_h.C_POINTER.withName("real_params"), + blis_h.C_LONG_LONG.withName("mr"), + blis_h.C_LONG_LONG.withName("nr"), + blis_h.C_LONG_LONG.withName("mr_scale"), + blis_h.C_LONG_LONG.withName("nr_scale"), + blis_h.C_BOOL.withName("row_pref"), + MemoryLayout.paddingLayout(7) + ).withName("gemm_var_cntl_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout cntl$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("cntl")); + + /** + * Layout for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static final GroupLayout cntl$layout() { + return cntl$LAYOUT; + } + + private static final long cntl$OFFSET = $LAYOUT.byteOffset(groupElement("cntl")); + + /** + * Offset for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static final long cntl$offset() { + return cntl$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static MemorySegment cntl(MemorySegment struct) { + return struct.asSlice(cntl$OFFSET, cntl$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static void cntl(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, cntl$OFFSET, cntl$LAYOUT.byteSize()); + } + + private static final OfInt dt_comp$LAYOUT = (OfInt)$LAYOUT.select(groupElement("dt_comp")); + + /** + * Layout for field: + * {@snippet lang=c : + * num_t dt_comp + * } + */ + public static final OfInt dt_comp$layout() { + return dt_comp$LAYOUT; + } + + private static final long dt_comp$OFFSET = $LAYOUT.byteOffset(groupElement("dt_comp")); + + /** + * Offset for field: + * {@snippet lang=c : + * num_t dt_comp + * } + */ + public static final long dt_comp$offset() { + return dt_comp$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * num_t dt_comp + * } + */ + public static int dt_comp(MemorySegment struct) { + return struct.get(dt_comp$LAYOUT, dt_comp$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * num_t dt_comp + * } + */ + public static void dt_comp(MemorySegment struct, int fieldValue) { + struct.set(dt_comp$LAYOUT, dt_comp$OFFSET, fieldValue); + } + + private static final OfInt dt_out$LAYOUT = (OfInt)$LAYOUT.select(groupElement("dt_out")); + + /** + * Layout for field: + * {@snippet lang=c : + * num_t dt_out + * } + */ + public static final OfInt dt_out$layout() { + return dt_out$LAYOUT; + } + + private static final long dt_out$OFFSET = $LAYOUT.byteOffset(groupElement("dt_out")); + + /** + * Offset for field: + * {@snippet lang=c : + * num_t dt_out + * } + */ + public static final long dt_out$offset() { + return dt_out$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * num_t dt_out + * } + */ + public static int dt_out(MemorySegment struct) { + return struct.get(dt_out$LAYOUT, dt_out$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * num_t dt_out + * } + */ + public static void dt_out(MemorySegment struct, int fieldValue) { + struct.set(dt_out$LAYOUT, dt_out$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * gemm_ukr_ft ukr + * } + */ + public final static class ukr { + + private ukr() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long _x0, long _x1, long _x2, MemorySegment _x3, MemorySegment _x4, MemorySegment _x5, MemorySegment _x6, MemorySegment _x7, long _x8, long _x9, MemorySegment _x10, MemorySegment _x11); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(ukr.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(ukr.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long _x0, long _x1, long _x2, MemorySegment _x3, MemorySegment _x4, MemorySegment _x5, MemorySegment _x6, MemorySegment _x7, long _x8, long _x9, MemorySegment _x10, MemorySegment _x11) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5, _x6, _x7, _x8, _x9, _x10, _x11); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout ukr$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ukr")); + + /** + * Layout for field: + * {@snippet lang=c : + * gemm_ukr_ft ukr + * } + */ + public static final AddressLayout ukr$layout() { + return ukr$LAYOUT; + } + + private static final long ukr$OFFSET = $LAYOUT.byteOffset(groupElement("ukr")); + + /** + * Offset for field: + * {@snippet lang=c : + * gemm_ukr_ft ukr + * } + */ + public static final long ukr$offset() { + return ukr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * gemm_ukr_ft ukr + * } + */ + public static MemorySegment ukr(MemorySegment struct) { + return struct.get(ukr$LAYOUT, ukr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * gemm_ukr_ft ukr + * } + */ + public static void ukr(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ukr$LAYOUT, ukr$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * gemm_ukr_ft real_ukr + * } + */ + public final static class real_ukr { + + private real_ukr() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long _x0, long _x1, long _x2, MemorySegment _x3, MemorySegment _x4, MemorySegment _x5, MemorySegment _x6, MemorySegment _x7, long _x8, long _x9, MemorySegment _x10, MemorySegment _x11); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(real_ukr.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(real_ukr.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long _x0, long _x1, long _x2, MemorySegment _x3, MemorySegment _x4, MemorySegment _x5, MemorySegment _x6, MemorySegment _x7, long _x8, long _x9, MemorySegment _x10, MemorySegment _x11) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5, _x6, _x7, _x8, _x9, _x10, _x11); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout real_ukr$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("real_ukr")); + + /** + * Layout for field: + * {@snippet lang=c : + * gemm_ukr_ft real_ukr + * } + */ + public static final AddressLayout real_ukr$layout() { + return real_ukr$LAYOUT; + } + + private static final long real_ukr$OFFSET = $LAYOUT.byteOffset(groupElement("real_ukr")); + + /** + * Offset for field: + * {@snippet lang=c : + * gemm_ukr_ft real_ukr + * } + */ + public static final long real_ukr$offset() { + return real_ukr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * gemm_ukr_ft real_ukr + * } + */ + public static MemorySegment real_ukr(MemorySegment struct) { + return struct.get(real_ukr$LAYOUT, real_ukr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * gemm_ukr_ft real_ukr + * } + */ + public static void real_ukr(MemorySegment struct, MemorySegment fieldValue) { + struct.set(real_ukr$LAYOUT, real_ukr$OFFSET, fieldValue); + } + + private static final AddressLayout params$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("params")); + + /** + * Layout for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static final AddressLayout params$layout() { + return params$LAYOUT; + } + + private static final long params$OFFSET = $LAYOUT.byteOffset(groupElement("params")); + + /** + * Offset for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static final long params$offset() { + return params$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static MemorySegment params(MemorySegment struct) { + return struct.get(params$LAYOUT, params$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static void params(MemorySegment struct, MemorySegment fieldValue) { + struct.set(params$LAYOUT, params$OFFSET, fieldValue); + } + + private static final AddressLayout real_params$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("real_params")); + + /** + * Layout for field: + * {@snippet lang=c : + * const void *real_params + * } + */ + public static final AddressLayout real_params$layout() { + return real_params$LAYOUT; + } + + private static final long real_params$OFFSET = $LAYOUT.byteOffset(groupElement("real_params")); + + /** + * Offset for field: + * {@snippet lang=c : + * const void *real_params + * } + */ + public static final long real_params$offset() { + return real_params$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * const void *real_params + * } + */ + public static MemorySegment real_params(MemorySegment struct) { + return struct.get(real_params$LAYOUT, real_params$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * const void *real_params + * } + */ + public static void real_params(MemorySegment struct, MemorySegment fieldValue) { + struct.set(real_params$LAYOUT, real_params$OFFSET, fieldValue); + } + + private static final OfLong mr$LAYOUT = (OfLong)$LAYOUT.select(groupElement("mr")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t mr + * } + */ + public static final OfLong mr$layout() { + return mr$LAYOUT; + } + + private static final long mr$OFFSET = $LAYOUT.byteOffset(groupElement("mr")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t mr + * } + */ + public static final long mr$offset() { + return mr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t mr + * } + */ + public static long mr(MemorySegment struct) { + return struct.get(mr$LAYOUT, mr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t mr + * } + */ + public static void mr(MemorySegment struct, long fieldValue) { + struct.set(mr$LAYOUT, mr$OFFSET, fieldValue); + } + + private static final OfLong nr$LAYOUT = (OfLong)$LAYOUT.select(groupElement("nr")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t nr + * } + */ + public static final OfLong nr$layout() { + return nr$LAYOUT; + } + + private static final long nr$OFFSET = $LAYOUT.byteOffset(groupElement("nr")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t nr + * } + */ + public static final long nr$offset() { + return nr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t nr + * } + */ + public static long nr(MemorySegment struct) { + return struct.get(nr$LAYOUT, nr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t nr + * } + */ + public static void nr(MemorySegment struct, long fieldValue) { + struct.set(nr$LAYOUT, nr$OFFSET, fieldValue); + } + + private static final OfLong mr_scale$LAYOUT = (OfLong)$LAYOUT.select(groupElement("mr_scale")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t mr_scale + * } + */ + public static final OfLong mr_scale$layout() { + return mr_scale$LAYOUT; + } + + private static final long mr_scale$OFFSET = $LAYOUT.byteOffset(groupElement("mr_scale")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t mr_scale + * } + */ + public static final long mr_scale$offset() { + return mr_scale$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t mr_scale + * } + */ + public static long mr_scale(MemorySegment struct) { + return struct.get(mr_scale$LAYOUT, mr_scale$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t mr_scale + * } + */ + public static void mr_scale(MemorySegment struct, long fieldValue) { + struct.set(mr_scale$LAYOUT, mr_scale$OFFSET, fieldValue); + } + + private static final OfLong nr_scale$LAYOUT = (OfLong)$LAYOUT.select(groupElement("nr_scale")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t nr_scale + * } + */ + public static final OfLong nr_scale$layout() { + return nr_scale$LAYOUT; + } + + private static final long nr_scale$OFFSET = $LAYOUT.byteOffset(groupElement("nr_scale")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t nr_scale + * } + */ + public static final long nr_scale$offset() { + return nr_scale$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t nr_scale + * } + */ + public static long nr_scale(MemorySegment struct) { + return struct.get(nr_scale$LAYOUT, nr_scale$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t nr_scale + * } + */ + public static void nr_scale(MemorySegment struct, long fieldValue) { + struct.set(nr_scale$LAYOUT, nr_scale$OFFSET, fieldValue); + } + + private static final OfBoolean row_pref$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("row_pref")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool row_pref + * } + */ + public static final OfBoolean row_pref$layout() { + return row_pref$LAYOUT; + } + + private static final long row_pref$OFFSET = $LAYOUT.byteOffset(groupElement("row_pref")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool row_pref + * } + */ + public static final long row_pref$offset() { + return row_pref$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool row_pref + * } + */ + public static boolean row_pref(MemorySegment struct) { + return struct.get(row_pref$LAYOUT, row_pref$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool row_pref + * } + */ + public static void row_pref(MemorySegment struct, boolean fieldValue) { + struct.set(row_pref$LAYOUT, row_pref$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/getopt_s.java b/generated/src/blis_typed/getopt_s.java new file mode 100644 index 00000000..bf314345 --- /dev/null +++ b/generated/src/blis_typed/getopt_s.java @@ -0,0 +1,312 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct getopt_s { + * const char *nextchar; + * const char *optarg; + * int optind; + * int opterr; + * int optopt; + * } + * } + */ +public class getopt_s { + + getopt_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_POINTER.withName("nextchar"), + blis_h.C_POINTER.withName("optarg"), + blis_h.C_INT.withName("optind"), + blis_h.C_INT.withName("opterr"), + blis_h.C_INT.withName("optopt"), + MemoryLayout.paddingLayout(4) + ).withName("getopt_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout nextchar$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("nextchar")); + + /** + * Layout for field: + * {@snippet lang=c : + * const char *nextchar + * } + */ + public static final AddressLayout nextchar$layout() { + return nextchar$LAYOUT; + } + + private static final long nextchar$OFFSET = $LAYOUT.byteOffset(groupElement("nextchar")); + + /** + * Offset for field: + * {@snippet lang=c : + * const char *nextchar + * } + */ + public static final long nextchar$offset() { + return nextchar$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * const char *nextchar + * } + */ + public static MemorySegment nextchar(MemorySegment struct) { + return struct.get(nextchar$LAYOUT, nextchar$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * const char *nextchar + * } + */ + public static void nextchar(MemorySegment struct, MemorySegment fieldValue) { + struct.set(nextchar$LAYOUT, nextchar$OFFSET, fieldValue); + } + + private static final AddressLayout optarg$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("optarg")); + + /** + * Layout for field: + * {@snippet lang=c : + * const char *optarg + * } + */ + public static final AddressLayout optarg$layout() { + return optarg$LAYOUT; + } + + private static final long optarg$OFFSET = $LAYOUT.byteOffset(groupElement("optarg")); + + /** + * Offset for field: + * {@snippet lang=c : + * const char *optarg + * } + */ + public static final long optarg$offset() { + return optarg$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * const char *optarg + * } + */ + public static MemorySegment optarg(MemorySegment struct) { + return struct.get(optarg$LAYOUT, optarg$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * const char *optarg + * } + */ + public static void optarg(MemorySegment struct, MemorySegment fieldValue) { + struct.set(optarg$LAYOUT, optarg$OFFSET, fieldValue); + } + + private static final OfInt optind$LAYOUT = (OfInt)$LAYOUT.select(groupElement("optind")); + + /** + * Layout for field: + * {@snippet lang=c : + * int optind + * } + */ + public static final OfInt optind$layout() { + return optind$LAYOUT; + } + + private static final long optind$OFFSET = $LAYOUT.byteOffset(groupElement("optind")); + + /** + * Offset for field: + * {@snippet lang=c : + * int optind + * } + */ + public static final long optind$offset() { + return optind$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int optind + * } + */ + public static int optind(MemorySegment struct) { + return struct.get(optind$LAYOUT, optind$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int optind + * } + */ + public static void optind(MemorySegment struct, int fieldValue) { + struct.set(optind$LAYOUT, optind$OFFSET, fieldValue); + } + + private static final OfInt opterr$LAYOUT = (OfInt)$LAYOUT.select(groupElement("opterr")); + + /** + * Layout for field: + * {@snippet lang=c : + * int opterr + * } + */ + public static final OfInt opterr$layout() { + return opterr$LAYOUT; + } + + private static final long opterr$OFFSET = $LAYOUT.byteOffset(groupElement("opterr")); + + /** + * Offset for field: + * {@snippet lang=c : + * int opterr + * } + */ + public static final long opterr$offset() { + return opterr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int opterr + * } + */ + public static int opterr(MemorySegment struct) { + return struct.get(opterr$LAYOUT, opterr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int opterr + * } + */ + public static void opterr(MemorySegment struct, int fieldValue) { + struct.set(opterr$LAYOUT, opterr$OFFSET, fieldValue); + } + + private static final OfInt optopt$LAYOUT = (OfInt)$LAYOUT.select(groupElement("optopt")); + + /** + * Layout for field: + * {@snippet lang=c : + * int optopt + * } + */ + public static final OfInt optopt$layout() { + return optopt$LAYOUT; + } + + private static final long optopt$OFFSET = $LAYOUT.byteOffset(groupElement("optopt")); + + /** + * Offset for field: + * {@snippet lang=c : + * int optopt + * } + */ + public static final long optopt$offset() { + return optopt$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int optopt + * } + */ + public static int optopt(MemorySegment struct) { + return struct.get(optopt$LAYOUT, optopt$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int optopt + * } + */ + public static void optopt(MemorySegment struct, int fieldValue) { + struct.set(optopt$LAYOUT, optopt$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/mbool_s.java b/generated/src/blis_typed/mbool_s.java new file mode 100644 index 00000000..a78cda6a --- /dev/null +++ b/generated/src/blis_typed/mbool_s.java @@ -0,0 +1,160 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mbool_s { + * bool v[4]; + * } + * } + */ +public class mbool_s { + + mbool_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(4, blis_h.C_BOOL).withName("v") + ).withName("mbool_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout v$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("v")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool v[4] + * } + */ + public static final SequenceLayout v$layout() { + return v$LAYOUT; + } + + private static final long v$OFFSET = $LAYOUT.byteOffset(groupElement("v")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool v[4] + * } + */ + public static final long v$offset() { + return v$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool v[4] + * } + */ + public static MemorySegment v(MemorySegment struct) { + return struct.asSlice(v$OFFSET, v$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool v[4] + * } + */ + public static void v(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, v$OFFSET, v$LAYOUT.byteSize()); + } + + private static long[] v$DIMS = { 4 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * bool v[4] + * } + */ + public static long[] v$dimensions() { + return v$DIMS; + } + private static final VarHandle v$ELEM_HANDLE = v$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * bool v[4] + * } + */ + public static boolean v(MemorySegment struct, long index0) { + return (boolean)v$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * bool v[4] + * } + */ + public static void v(MemorySegment struct, long index0, boolean fieldValue) { + v$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/mem_s.java b/generated/src/blis_typed/mem_s.java new file mode 100644 index 00000000..ecf84086 --- /dev/null +++ b/generated/src/blis_typed/mem_s.java @@ -0,0 +1,266 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mem_s { + * pblk_t pblk; + * packbuf_t buf_type; + * pool_t *pool; + * siz_t size; + * } + * } + */ +public class mem_s { + + mem_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + pblk_t.layout().withName("pblk"), + blis_h.C_INT.withName("buf_type"), + MemoryLayout.paddingLayout(4), + blis_h.C_POINTER.withName("pool"), + blis_h.C_LONG_LONG.withName("size") + ).withName("mem_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout pblk$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("pblk")); + + /** + * Layout for field: + * {@snippet lang=c : + * pblk_t pblk + * } + */ + public static final GroupLayout pblk$layout() { + return pblk$LAYOUT; + } + + private static final long pblk$OFFSET = $LAYOUT.byteOffset(groupElement("pblk")); + + /** + * Offset for field: + * {@snippet lang=c : + * pblk_t pblk + * } + */ + public static final long pblk$offset() { + return pblk$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * pblk_t pblk + * } + */ + public static MemorySegment pblk(MemorySegment struct) { + return struct.asSlice(pblk$OFFSET, pblk$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * pblk_t pblk + * } + */ + public static void pblk(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, pblk$OFFSET, pblk$LAYOUT.byteSize()); + } + + private static final OfInt buf_type$LAYOUT = (OfInt)$LAYOUT.select(groupElement("buf_type")); + + /** + * Layout for field: + * {@snippet lang=c : + * packbuf_t buf_type + * } + */ + public static final OfInt buf_type$layout() { + return buf_type$LAYOUT; + } + + private static final long buf_type$OFFSET = $LAYOUT.byteOffset(groupElement("buf_type")); + + /** + * Offset for field: + * {@snippet lang=c : + * packbuf_t buf_type + * } + */ + public static final long buf_type$offset() { + return buf_type$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * packbuf_t buf_type + * } + */ + public static int buf_type(MemorySegment struct) { + return struct.get(buf_type$LAYOUT, buf_type$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * packbuf_t buf_type + * } + */ + public static void buf_type(MemorySegment struct, int fieldValue) { + struct.set(buf_type$LAYOUT, buf_type$OFFSET, fieldValue); + } + + private static final AddressLayout pool$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("pool")); + + /** + * Layout for field: + * {@snippet lang=c : + * pool_t *pool + * } + */ + public static final AddressLayout pool$layout() { + return pool$LAYOUT; + } + + private static final long pool$OFFSET = $LAYOUT.byteOffset(groupElement("pool")); + + /** + * Offset for field: + * {@snippet lang=c : + * pool_t *pool + * } + */ + public static final long pool$offset() { + return pool$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * pool_t *pool + * } + */ + public static MemorySegment pool(MemorySegment struct) { + return struct.get(pool$LAYOUT, pool$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * pool_t *pool + * } + */ + public static void pool(MemorySegment struct, MemorySegment fieldValue) { + struct.set(pool$LAYOUT, pool$OFFSET, fieldValue); + } + + private static final OfLong size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("size")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t size + * } + */ + public static final OfLong size$layout() { + return size$LAYOUT; + } + + private static final long size$OFFSET = $LAYOUT.byteOffset(groupElement("size")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t size + * } + */ + public static final long size$offset() { + return size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t size + * } + */ + public static long size(MemorySegment struct) { + return struct.get(size$LAYOUT, size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t size + * } + */ + public static void size(MemorySegment struct, long fieldValue) { + struct.set(size$LAYOUT, size$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/obj_s.java b/generated/src/blis_typed/obj_s.java new file mode 100644 index 00000000..322afcad --- /dev/null +++ b/generated/src/blis_typed/obj_s.java @@ -0,0 +1,975 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct obj_s { + * struct obj_s *root; + * dim_t off[2]; + * dim_t dim[2]; + * doff_t diag_off; + * objbits_t info; + * objbits_t info2; + * siz_t elem_size; + * void *buffer; + * inc_t rs; + * inc_t cs; + * inc_t is; + * atom_t scalar; + * dim_t m_padded; + * dim_t n_padded; + * inc_t ps; + * inc_t pd; + * dim_t m_panel; + * dim_t n_panel; + * } + * } + */ +public class obj_s { + + obj_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_POINTER.withName("root"), + MemoryLayout.sequenceLayout(2, blis_h.C_LONG_LONG).withName("off"), + MemoryLayout.sequenceLayout(2, blis_h.C_LONG_LONG).withName("dim"), + blis_h.C_LONG_LONG.withName("diag_off"), + blis_h.C_INT.withName("info"), + blis_h.C_INT.withName("info2"), + blis_h.C_LONG_LONG.withName("elem_size"), + blis_h.C_POINTER.withName("buffer"), + blis_h.C_LONG_LONG.withName("rs"), + blis_h.C_LONG_LONG.withName("cs"), + blis_h.C_LONG_LONG.withName("is"), + dcomplex.layout().withName("scalar"), + blis_h.C_LONG_LONG.withName("m_padded"), + blis_h.C_LONG_LONG.withName("n_padded"), + blis_h.C_LONG_LONG.withName("ps"), + blis_h.C_LONG_LONG.withName("pd"), + blis_h.C_LONG_LONG.withName("m_panel"), + blis_h.C_LONG_LONG.withName("n_panel") + ).withName("obj_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout root$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("root")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct obj_s *root + * } + */ + public static final AddressLayout root$layout() { + return root$LAYOUT; + } + + private static final long root$OFFSET = $LAYOUT.byteOffset(groupElement("root")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct obj_s *root + * } + */ + public static final long root$offset() { + return root$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct obj_s *root + * } + */ + public static MemorySegment root(MemorySegment struct) { + return struct.get(root$LAYOUT, root$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct obj_s *root + * } + */ + public static void root(MemorySegment struct, MemorySegment fieldValue) { + struct.set(root$LAYOUT, root$OFFSET, fieldValue); + } + + private static final SequenceLayout off$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("off")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t off[2] + * } + */ + public static final SequenceLayout off$layout() { + return off$LAYOUT; + } + + private static final long off$OFFSET = $LAYOUT.byteOffset(groupElement("off")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t off[2] + * } + */ + public static final long off$offset() { + return off$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t off[2] + * } + */ + public static MemorySegment off(MemorySegment struct) { + return struct.asSlice(off$OFFSET, off$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t off[2] + * } + */ + public static void off(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, off$OFFSET, off$LAYOUT.byteSize()); + } + + private static long[] off$DIMS = { 2 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * dim_t off[2] + * } + */ + public static long[] off$dimensions() { + return off$DIMS; + } + private static final VarHandle off$ELEM_HANDLE = off$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * dim_t off[2] + * } + */ + public static long off(MemorySegment struct, long index0) { + return (long)off$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * dim_t off[2] + * } + */ + public static void off(MemorySegment struct, long index0, long fieldValue) { + off$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout dim$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("dim")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t dim[2] + * } + */ + public static final SequenceLayout dim$layout() { + return dim$LAYOUT; + } + + private static final long dim$OFFSET = $LAYOUT.byteOffset(groupElement("dim")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t dim[2] + * } + */ + public static final long dim$offset() { + return dim$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t dim[2] + * } + */ + public static MemorySegment dim(MemorySegment struct) { + return struct.asSlice(dim$OFFSET, dim$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t dim[2] + * } + */ + public static void dim(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, dim$OFFSET, dim$LAYOUT.byteSize()); + } + + private static long[] dim$DIMS = { 2 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * dim_t dim[2] + * } + */ + public static long[] dim$dimensions() { + return dim$DIMS; + } + private static final VarHandle dim$ELEM_HANDLE = dim$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * dim_t dim[2] + * } + */ + public static long dim(MemorySegment struct, long index0) { + return (long)dim$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * dim_t dim[2] + * } + */ + public static void dim(MemorySegment struct, long index0, long fieldValue) { + dim$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong diag_off$LAYOUT = (OfLong)$LAYOUT.select(groupElement("diag_off")); + + /** + * Layout for field: + * {@snippet lang=c : + * doff_t diag_off + * } + */ + public static final OfLong diag_off$layout() { + return diag_off$LAYOUT; + } + + private static final long diag_off$OFFSET = $LAYOUT.byteOffset(groupElement("diag_off")); + + /** + * Offset for field: + * {@snippet lang=c : + * doff_t diag_off + * } + */ + public static final long diag_off$offset() { + return diag_off$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * doff_t diag_off + * } + */ + public static long diag_off(MemorySegment struct) { + return struct.get(diag_off$LAYOUT, diag_off$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * doff_t diag_off + * } + */ + public static void diag_off(MemorySegment struct, long fieldValue) { + struct.set(diag_off$LAYOUT, diag_off$OFFSET, fieldValue); + } + + private static final OfInt info$LAYOUT = (OfInt)$LAYOUT.select(groupElement("info")); + + /** + * Layout for field: + * {@snippet lang=c : + * objbits_t info + * } + */ + public static final OfInt info$layout() { + return info$LAYOUT; + } + + private static final long info$OFFSET = $LAYOUT.byteOffset(groupElement("info")); + + /** + * Offset for field: + * {@snippet lang=c : + * objbits_t info + * } + */ + public static final long info$offset() { + return info$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * objbits_t info + * } + */ + public static int info(MemorySegment struct) { + return struct.get(info$LAYOUT, info$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * objbits_t info + * } + */ + public static void info(MemorySegment struct, int fieldValue) { + struct.set(info$LAYOUT, info$OFFSET, fieldValue); + } + + private static final OfInt info2$LAYOUT = (OfInt)$LAYOUT.select(groupElement("info2")); + + /** + * Layout for field: + * {@snippet lang=c : + * objbits_t info2 + * } + */ + public static final OfInt info2$layout() { + return info2$LAYOUT; + } + + private static final long info2$OFFSET = $LAYOUT.byteOffset(groupElement("info2")); + + /** + * Offset for field: + * {@snippet lang=c : + * objbits_t info2 + * } + */ + public static final long info2$offset() { + return info2$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * objbits_t info2 + * } + */ + public static int info2(MemorySegment struct) { + return struct.get(info2$LAYOUT, info2$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * objbits_t info2 + * } + */ + public static void info2(MemorySegment struct, int fieldValue) { + struct.set(info2$LAYOUT, info2$OFFSET, fieldValue); + } + + private static final OfLong elem_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("elem_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static final OfLong elem_size$layout() { + return elem_size$LAYOUT; + } + + private static final long elem_size$OFFSET = $LAYOUT.byteOffset(groupElement("elem_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static final long elem_size$offset() { + return elem_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static long elem_size(MemorySegment struct) { + return struct.get(elem_size$LAYOUT, elem_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static void elem_size(MemorySegment struct, long fieldValue) { + struct.set(elem_size$LAYOUT, elem_size$OFFSET, fieldValue); + } + + private static final AddressLayout buffer$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("buffer")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *buffer + * } + */ + public static final AddressLayout buffer$layout() { + return buffer$LAYOUT; + } + + private static final long buffer$OFFSET = $LAYOUT.byteOffset(groupElement("buffer")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *buffer + * } + */ + public static final long buffer$offset() { + return buffer$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *buffer + * } + */ + public static MemorySegment buffer(MemorySegment struct) { + return struct.get(buffer$LAYOUT, buffer$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *buffer + * } + */ + public static void buffer(MemorySegment struct, MemorySegment fieldValue) { + struct.set(buffer$LAYOUT, buffer$OFFSET, fieldValue); + } + + private static final OfLong rs$LAYOUT = (OfLong)$LAYOUT.select(groupElement("rs")); + + /** + * Layout for field: + * {@snippet lang=c : + * inc_t rs + * } + */ + public static final OfLong rs$layout() { + return rs$LAYOUT; + } + + private static final long rs$OFFSET = $LAYOUT.byteOffset(groupElement("rs")); + + /** + * Offset for field: + * {@snippet lang=c : + * inc_t rs + * } + */ + public static final long rs$offset() { + return rs$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * inc_t rs + * } + */ + public static long rs(MemorySegment struct) { + return struct.get(rs$LAYOUT, rs$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * inc_t rs + * } + */ + public static void rs(MemorySegment struct, long fieldValue) { + struct.set(rs$LAYOUT, rs$OFFSET, fieldValue); + } + + private static final OfLong cs$LAYOUT = (OfLong)$LAYOUT.select(groupElement("cs")); + + /** + * Layout for field: + * {@snippet lang=c : + * inc_t cs + * } + */ + public static final OfLong cs$layout() { + return cs$LAYOUT; + } + + private static final long cs$OFFSET = $LAYOUT.byteOffset(groupElement("cs")); + + /** + * Offset for field: + * {@snippet lang=c : + * inc_t cs + * } + */ + public static final long cs$offset() { + return cs$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * inc_t cs + * } + */ + public static long cs(MemorySegment struct) { + return struct.get(cs$LAYOUT, cs$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * inc_t cs + * } + */ + public static void cs(MemorySegment struct, long fieldValue) { + struct.set(cs$LAYOUT, cs$OFFSET, fieldValue); + } + + private static final OfLong is$LAYOUT = (OfLong)$LAYOUT.select(groupElement("is")); + + /** + * Layout for field: + * {@snippet lang=c : + * inc_t is + * } + */ + public static final OfLong is$layout() { + return is$LAYOUT; + } + + private static final long is$OFFSET = $LAYOUT.byteOffset(groupElement("is")); + + /** + * Offset for field: + * {@snippet lang=c : + * inc_t is + * } + */ + public static final long is$offset() { + return is$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * inc_t is + * } + */ + public static long is(MemorySegment struct) { + return struct.get(is$LAYOUT, is$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * inc_t is + * } + */ + public static void is(MemorySegment struct, long fieldValue) { + struct.set(is$LAYOUT, is$OFFSET, fieldValue); + } + + private static final GroupLayout scalar$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("scalar")); + + /** + * Layout for field: + * {@snippet lang=c : + * atom_t scalar + * } + */ + public static final GroupLayout scalar$layout() { + return scalar$LAYOUT; + } + + private static final long scalar$OFFSET = $LAYOUT.byteOffset(groupElement("scalar")); + + /** + * Offset for field: + * {@snippet lang=c : + * atom_t scalar + * } + */ + public static final long scalar$offset() { + return scalar$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * atom_t scalar + * } + */ + public static MemorySegment scalar(MemorySegment struct) { + return struct.asSlice(scalar$OFFSET, scalar$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * atom_t scalar + * } + */ + public static void scalar(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, scalar$OFFSET, scalar$LAYOUT.byteSize()); + } + + private static final OfLong m_padded$LAYOUT = (OfLong)$LAYOUT.select(groupElement("m_padded")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t m_padded + * } + */ + public static final OfLong m_padded$layout() { + return m_padded$LAYOUT; + } + + private static final long m_padded$OFFSET = $LAYOUT.byteOffset(groupElement("m_padded")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t m_padded + * } + */ + public static final long m_padded$offset() { + return m_padded$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t m_padded + * } + */ + public static long m_padded(MemorySegment struct) { + return struct.get(m_padded$LAYOUT, m_padded$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t m_padded + * } + */ + public static void m_padded(MemorySegment struct, long fieldValue) { + struct.set(m_padded$LAYOUT, m_padded$OFFSET, fieldValue); + } + + private static final OfLong n_padded$LAYOUT = (OfLong)$LAYOUT.select(groupElement("n_padded")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t n_padded + * } + */ + public static final OfLong n_padded$layout() { + return n_padded$LAYOUT; + } + + private static final long n_padded$OFFSET = $LAYOUT.byteOffset(groupElement("n_padded")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t n_padded + * } + */ + public static final long n_padded$offset() { + return n_padded$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t n_padded + * } + */ + public static long n_padded(MemorySegment struct) { + return struct.get(n_padded$LAYOUT, n_padded$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t n_padded + * } + */ + public static void n_padded(MemorySegment struct, long fieldValue) { + struct.set(n_padded$LAYOUT, n_padded$OFFSET, fieldValue); + } + + private static final OfLong ps$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ps")); + + /** + * Layout for field: + * {@snippet lang=c : + * inc_t ps + * } + */ + public static final OfLong ps$layout() { + return ps$LAYOUT; + } + + private static final long ps$OFFSET = $LAYOUT.byteOffset(groupElement("ps")); + + /** + * Offset for field: + * {@snippet lang=c : + * inc_t ps + * } + */ + public static final long ps$offset() { + return ps$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * inc_t ps + * } + */ + public static long ps(MemorySegment struct) { + return struct.get(ps$LAYOUT, ps$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * inc_t ps + * } + */ + public static void ps(MemorySegment struct, long fieldValue) { + struct.set(ps$LAYOUT, ps$OFFSET, fieldValue); + } + + private static final OfLong pd$LAYOUT = (OfLong)$LAYOUT.select(groupElement("pd")); + + /** + * Layout for field: + * {@snippet lang=c : + * inc_t pd + * } + */ + public static final OfLong pd$layout() { + return pd$LAYOUT; + } + + private static final long pd$OFFSET = $LAYOUT.byteOffset(groupElement("pd")); + + /** + * Offset for field: + * {@snippet lang=c : + * inc_t pd + * } + */ + public static final long pd$offset() { + return pd$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * inc_t pd + * } + */ + public static long pd(MemorySegment struct) { + return struct.get(pd$LAYOUT, pd$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * inc_t pd + * } + */ + public static void pd(MemorySegment struct, long fieldValue) { + struct.set(pd$LAYOUT, pd$OFFSET, fieldValue); + } + + private static final OfLong m_panel$LAYOUT = (OfLong)$LAYOUT.select(groupElement("m_panel")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t m_panel + * } + */ + public static final OfLong m_panel$layout() { + return m_panel$LAYOUT; + } + + private static final long m_panel$OFFSET = $LAYOUT.byteOffset(groupElement("m_panel")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t m_panel + * } + */ + public static final long m_panel$offset() { + return m_panel$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t m_panel + * } + */ + public static long m_panel(MemorySegment struct) { + return struct.get(m_panel$LAYOUT, m_panel$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t m_panel + * } + */ + public static void m_panel(MemorySegment struct, long fieldValue) { + struct.set(m_panel$LAYOUT, m_panel$OFFSET, fieldValue); + } + + private static final OfLong n_panel$LAYOUT = (OfLong)$LAYOUT.select(groupElement("n_panel")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t n_panel + * } + */ + public static final OfLong n_panel$layout() { + return n_panel$LAYOUT; + } + + private static final long n_panel$OFFSET = $LAYOUT.byteOffset(groupElement("n_panel")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t n_panel + * } + */ + public static final long n_panel$offset() { + return n_panel$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t n_panel + * } + */ + public static long n_panel(MemorySegment struct) { + return struct.get(n_panel$LAYOUT, n_panel$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t n_panel + * } + */ + public static void n_panel(MemorySegment struct, long fieldValue) { + struct.set(n_panel$LAYOUT, n_panel$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/packm_blk_var1_params_t.java b/generated/src/blis_typed/packm_blk_var1_params_t.java new file mode 100644 index 00000000..b3207480 --- /dev/null +++ b/generated/src/blis_typed/packm_blk_var1_params_t.java @@ -0,0 +1,160 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * packm_ker_ft ukr_fn[4][4]; + * } + * } + */ +public class packm_blk_var1_params_t { + + packm_blk_var1_params_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(4, MemoryLayout.sequenceLayout(4, blis_h.C_POINTER)).withName("ukr_fn") + ).withName("packm_blk_var1_params_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout ukr_fn$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("ukr_fn")); + + /** + * Layout for field: + * {@snippet lang=c : + * packm_ker_ft ukr_fn[4][4] + * } + */ + public static final SequenceLayout ukr_fn$layout() { + return ukr_fn$LAYOUT; + } + + private static final long ukr_fn$OFFSET = $LAYOUT.byteOffset(groupElement("ukr_fn")); + + /** + * Offset for field: + * {@snippet lang=c : + * packm_ker_ft ukr_fn[4][4] + * } + */ + public static final long ukr_fn$offset() { + return ukr_fn$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * packm_ker_ft ukr_fn[4][4] + * } + */ + public static MemorySegment ukr_fn(MemorySegment struct) { + return struct.asSlice(ukr_fn$OFFSET, ukr_fn$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * packm_ker_ft ukr_fn[4][4] + * } + */ + public static void ukr_fn(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ukr_fn$OFFSET, ukr_fn$LAYOUT.byteSize()); + } + + private static long[] ukr_fn$DIMS = { 4, 4 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * packm_ker_ft ukr_fn[4][4] + * } + */ + public static long[] ukr_fn$dimensions() { + return ukr_fn$DIMS; + } + private static final VarHandle ukr_fn$ELEM_HANDLE = ukr_fn$LAYOUT.varHandle(sequenceElement(), sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * packm_ker_ft ukr_fn[4][4] + * } + */ + public static MemorySegment ukr_fn(MemorySegment struct, long index0, long index1) { + return (MemorySegment)ukr_fn$ELEM_HANDLE.get(struct, 0L, index0, index1); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * packm_ker_ft ukr_fn[4][4] + * } + */ + public static void ukr_fn(MemorySegment struct, long index0, long index1, MemorySegment fieldValue) { + ukr_fn$ELEM_HANDLE.set(struct, 0L, index0, index1, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/packm_cntl_s.java b/generated/src/blis_typed/packm_cntl_s.java new file mode 100644 index 00000000..828f942e --- /dev/null +++ b/generated/src/blis_typed/packm_cntl_s.java @@ -0,0 +1,278 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct packm_cntl_s { + * cntl_t cntl; + * packm_var_oft var; + * const void *params; + * } + * } + */ +public class packm_cntl_s { + + packm_cntl_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + cntl_s.layout().withName("cntl"), + blis_h.C_POINTER.withName("var"), + blis_h.C_POINTER.withName("params") + ).withName("packm_cntl_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout cntl$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("cntl")); + + /** + * Layout for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static final GroupLayout cntl$layout() { + return cntl$LAYOUT; + } + + private static final long cntl$OFFSET = $LAYOUT.byteOffset(groupElement("cntl")); + + /** + * Offset for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static final long cntl$offset() { + return cntl$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static MemorySegment cntl(MemorySegment struct) { + return struct.asSlice(cntl$OFFSET, cntl$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static void cntl(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, cntl$OFFSET, cntl$LAYOUT.byteSize()); + } + + /** + * {@snippet lang=c : + * packm_var_oft var + * } + */ + public final static class var_ { + + private var_() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, MemorySegment _x4); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(var_.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(var_.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, MemorySegment _x4) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout var_$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("var")); + + /** + * Layout for field: + * {@snippet lang=c : + * packm_var_oft var + * } + */ + public static final AddressLayout var_$layout() { + return var_$LAYOUT; + } + + private static final long var_$OFFSET = $LAYOUT.byteOffset(groupElement("var")); + + /** + * Offset for field: + * {@snippet lang=c : + * packm_var_oft var + * } + */ + public static final long var_$offset() { + return var_$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * packm_var_oft var + * } + */ + public static MemorySegment var_(MemorySegment struct) { + return struct.get(var_$LAYOUT, var_$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * packm_var_oft var + * } + */ + public static void var_(MemorySegment struct, MemorySegment fieldValue) { + struct.set(var_$LAYOUT, var_$OFFSET, fieldValue); + } + + private static final AddressLayout params$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("params")); + + /** + * Layout for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static final AddressLayout params$layout() { + return params$LAYOUT; + } + + private static final long params$OFFSET = $LAYOUT.byteOffset(groupElement("params")); + + /** + * Offset for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static final long params$offset() { + return params$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static MemorySegment params(MemorySegment struct) { + return struct.get(params$LAYOUT, params$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static void params(MemorySegment struct, MemorySegment fieldValue) { + struct.set(params$LAYOUT, params$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/packm_def_cntl_s.java b/generated/src/blis_typed/packm_def_cntl_s.java new file mode 100644 index 00000000..750eb43a --- /dev/null +++ b/generated/src/blis_typed/packm_def_cntl_s.java @@ -0,0 +1,941 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct packm_def_cntl_s { + * packm_cntl_t cntl; + * num_t dt_orig; + * num_t dt_pack; + * num_t dt_bmult; + * packm_ker_ft ukr; + * dim_t bmult_m_def; + * dim_t bmult_m_pack; + * dim_t bmult_m_bcast; + * dim_t bmult_m_scale; + * dim_t bmult_m_pack_scale; + * dim_t bmult_n_def; + * bool does_invert_diag; + * bool rev_iter_if_upper; + * bool rev_iter_if_lower; + * pack_t pack_schema; + * packbuf_t pack_buf_type; + * const void *params; + * } + * } + */ +public class packm_def_cntl_s { + + packm_def_cntl_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + packm_cntl_s.layout().withName("cntl"), + blis_h.C_INT.withName("dt_orig"), + blis_h.C_INT.withName("dt_pack"), + blis_h.C_INT.withName("dt_bmult"), + MemoryLayout.paddingLayout(4), + blis_h.C_POINTER.withName("ukr"), + blis_h.C_LONG_LONG.withName("bmult_m_def"), + blis_h.C_LONG_LONG.withName("bmult_m_pack"), + blis_h.C_LONG_LONG.withName("bmult_m_bcast"), + blis_h.C_LONG_LONG.withName("bmult_m_scale"), + blis_h.C_LONG_LONG.withName("bmult_m_pack_scale"), + blis_h.C_LONG_LONG.withName("bmult_n_def"), + blis_h.C_BOOL.withName("does_invert_diag"), + blis_h.C_BOOL.withName("rev_iter_if_upper"), + blis_h.C_BOOL.withName("rev_iter_if_lower"), + MemoryLayout.paddingLayout(1), + blis_h.C_INT.withName("pack_schema"), + blis_h.C_INT.withName("pack_buf_type"), + MemoryLayout.paddingLayout(4), + blis_h.C_POINTER.withName("params") + ).withName("packm_def_cntl_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout cntl$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("cntl")); + + /** + * Layout for field: + * {@snippet lang=c : + * packm_cntl_t cntl + * } + */ + public static final GroupLayout cntl$layout() { + return cntl$LAYOUT; + } + + private static final long cntl$OFFSET = $LAYOUT.byteOffset(groupElement("cntl")); + + /** + * Offset for field: + * {@snippet lang=c : + * packm_cntl_t cntl + * } + */ + public static final long cntl$offset() { + return cntl$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * packm_cntl_t cntl + * } + */ + public static MemorySegment cntl(MemorySegment struct) { + return struct.asSlice(cntl$OFFSET, cntl$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * packm_cntl_t cntl + * } + */ + public static void cntl(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, cntl$OFFSET, cntl$LAYOUT.byteSize()); + } + + private static final OfInt dt_orig$LAYOUT = (OfInt)$LAYOUT.select(groupElement("dt_orig")); + + /** + * Layout for field: + * {@snippet lang=c : + * num_t dt_orig + * } + */ + public static final OfInt dt_orig$layout() { + return dt_orig$LAYOUT; + } + + private static final long dt_orig$OFFSET = $LAYOUT.byteOffset(groupElement("dt_orig")); + + /** + * Offset for field: + * {@snippet lang=c : + * num_t dt_orig + * } + */ + public static final long dt_orig$offset() { + return dt_orig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * num_t dt_orig + * } + */ + public static int dt_orig(MemorySegment struct) { + return struct.get(dt_orig$LAYOUT, dt_orig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * num_t dt_orig + * } + */ + public static void dt_orig(MemorySegment struct, int fieldValue) { + struct.set(dt_orig$LAYOUT, dt_orig$OFFSET, fieldValue); + } + + private static final OfInt dt_pack$LAYOUT = (OfInt)$LAYOUT.select(groupElement("dt_pack")); + + /** + * Layout for field: + * {@snippet lang=c : + * num_t dt_pack + * } + */ + public static final OfInt dt_pack$layout() { + return dt_pack$LAYOUT; + } + + private static final long dt_pack$OFFSET = $LAYOUT.byteOffset(groupElement("dt_pack")); + + /** + * Offset for field: + * {@snippet lang=c : + * num_t dt_pack + * } + */ + public static final long dt_pack$offset() { + return dt_pack$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * num_t dt_pack + * } + */ + public static int dt_pack(MemorySegment struct) { + return struct.get(dt_pack$LAYOUT, dt_pack$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * num_t dt_pack + * } + */ + public static void dt_pack(MemorySegment struct, int fieldValue) { + struct.set(dt_pack$LAYOUT, dt_pack$OFFSET, fieldValue); + } + + private static final OfInt dt_bmult$LAYOUT = (OfInt)$LAYOUT.select(groupElement("dt_bmult")); + + /** + * Layout for field: + * {@snippet lang=c : + * num_t dt_bmult + * } + */ + public static final OfInt dt_bmult$layout() { + return dt_bmult$LAYOUT; + } + + private static final long dt_bmult$OFFSET = $LAYOUT.byteOffset(groupElement("dt_bmult")); + + /** + * Offset for field: + * {@snippet lang=c : + * num_t dt_bmult + * } + */ + public static final long dt_bmult$offset() { + return dt_bmult$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * num_t dt_bmult + * } + */ + public static int dt_bmult(MemorySegment struct) { + return struct.get(dt_bmult$LAYOUT, dt_bmult$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * num_t dt_bmult + * } + */ + public static void dt_bmult(MemorySegment struct, int fieldValue) { + struct.set(dt_bmult$LAYOUT, dt_bmult$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * packm_ker_ft ukr + * } + */ + public final static class ukr { + + private ukr() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int _x0, int _x1, int _x2, int _x3, int _x4, boolean _x5, long _x6, long _x7, long _x8, long _x9, long _x10, long _x11, long _x12, MemorySegment _x13, MemorySegment _x14, long _x15, long _x16, MemorySegment _x17, long _x18, MemorySegment _x19, MemorySegment _x20); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_INT, + blis_h.C_BOOL, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(ukr.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(ukr.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int _x0, int _x1, int _x2, int _x3, int _x4, boolean _x5, long _x6, long _x7, long _x8, long _x9, long _x10, long _x11, long _x12, MemorySegment _x13, MemorySegment _x14, long _x15, long _x16, MemorySegment _x17, long _x18, MemorySegment _x19, MemorySegment _x20) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5, _x6, _x7, _x8, _x9, _x10, _x11, _x12, _x13, _x14, _x15, _x16, _x17, _x18, _x19, _x20); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout ukr$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ukr")); + + /** + * Layout for field: + * {@snippet lang=c : + * packm_ker_ft ukr + * } + */ + public static final AddressLayout ukr$layout() { + return ukr$LAYOUT; + } + + private static final long ukr$OFFSET = $LAYOUT.byteOffset(groupElement("ukr")); + + /** + * Offset for field: + * {@snippet lang=c : + * packm_ker_ft ukr + * } + */ + public static final long ukr$offset() { + return ukr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * packm_ker_ft ukr + * } + */ + public static MemorySegment ukr(MemorySegment struct) { + return struct.get(ukr$LAYOUT, ukr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * packm_ker_ft ukr + * } + */ + public static void ukr(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ukr$LAYOUT, ukr$OFFSET, fieldValue); + } + + private static final OfLong bmult_m_def$LAYOUT = (OfLong)$LAYOUT.select(groupElement("bmult_m_def")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t bmult_m_def + * } + */ + public static final OfLong bmult_m_def$layout() { + return bmult_m_def$LAYOUT; + } + + private static final long bmult_m_def$OFFSET = $LAYOUT.byteOffset(groupElement("bmult_m_def")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t bmult_m_def + * } + */ + public static final long bmult_m_def$offset() { + return bmult_m_def$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t bmult_m_def + * } + */ + public static long bmult_m_def(MemorySegment struct) { + return struct.get(bmult_m_def$LAYOUT, bmult_m_def$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t bmult_m_def + * } + */ + public static void bmult_m_def(MemorySegment struct, long fieldValue) { + struct.set(bmult_m_def$LAYOUT, bmult_m_def$OFFSET, fieldValue); + } + + private static final OfLong bmult_m_pack$LAYOUT = (OfLong)$LAYOUT.select(groupElement("bmult_m_pack")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t bmult_m_pack + * } + */ + public static final OfLong bmult_m_pack$layout() { + return bmult_m_pack$LAYOUT; + } + + private static final long bmult_m_pack$OFFSET = $LAYOUT.byteOffset(groupElement("bmult_m_pack")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t bmult_m_pack + * } + */ + public static final long bmult_m_pack$offset() { + return bmult_m_pack$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t bmult_m_pack + * } + */ + public static long bmult_m_pack(MemorySegment struct) { + return struct.get(bmult_m_pack$LAYOUT, bmult_m_pack$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t bmult_m_pack + * } + */ + public static void bmult_m_pack(MemorySegment struct, long fieldValue) { + struct.set(bmult_m_pack$LAYOUT, bmult_m_pack$OFFSET, fieldValue); + } + + private static final OfLong bmult_m_bcast$LAYOUT = (OfLong)$LAYOUT.select(groupElement("bmult_m_bcast")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t bmult_m_bcast + * } + */ + public static final OfLong bmult_m_bcast$layout() { + return bmult_m_bcast$LAYOUT; + } + + private static final long bmult_m_bcast$OFFSET = $LAYOUT.byteOffset(groupElement("bmult_m_bcast")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t bmult_m_bcast + * } + */ + public static final long bmult_m_bcast$offset() { + return bmult_m_bcast$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t bmult_m_bcast + * } + */ + public static long bmult_m_bcast(MemorySegment struct) { + return struct.get(bmult_m_bcast$LAYOUT, bmult_m_bcast$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t bmult_m_bcast + * } + */ + public static void bmult_m_bcast(MemorySegment struct, long fieldValue) { + struct.set(bmult_m_bcast$LAYOUT, bmult_m_bcast$OFFSET, fieldValue); + } + + private static final OfLong bmult_m_scale$LAYOUT = (OfLong)$LAYOUT.select(groupElement("bmult_m_scale")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t bmult_m_scale + * } + */ + public static final OfLong bmult_m_scale$layout() { + return bmult_m_scale$LAYOUT; + } + + private static final long bmult_m_scale$OFFSET = $LAYOUT.byteOffset(groupElement("bmult_m_scale")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t bmult_m_scale + * } + */ + public static final long bmult_m_scale$offset() { + return bmult_m_scale$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t bmult_m_scale + * } + */ + public static long bmult_m_scale(MemorySegment struct) { + return struct.get(bmult_m_scale$LAYOUT, bmult_m_scale$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t bmult_m_scale + * } + */ + public static void bmult_m_scale(MemorySegment struct, long fieldValue) { + struct.set(bmult_m_scale$LAYOUT, bmult_m_scale$OFFSET, fieldValue); + } + + private static final OfLong bmult_m_pack_scale$LAYOUT = (OfLong)$LAYOUT.select(groupElement("bmult_m_pack_scale")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t bmult_m_pack_scale + * } + */ + public static final OfLong bmult_m_pack_scale$layout() { + return bmult_m_pack_scale$LAYOUT; + } + + private static final long bmult_m_pack_scale$OFFSET = $LAYOUT.byteOffset(groupElement("bmult_m_pack_scale")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t bmult_m_pack_scale + * } + */ + public static final long bmult_m_pack_scale$offset() { + return bmult_m_pack_scale$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t bmult_m_pack_scale + * } + */ + public static long bmult_m_pack_scale(MemorySegment struct) { + return struct.get(bmult_m_pack_scale$LAYOUT, bmult_m_pack_scale$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t bmult_m_pack_scale + * } + */ + public static void bmult_m_pack_scale(MemorySegment struct, long fieldValue) { + struct.set(bmult_m_pack_scale$LAYOUT, bmult_m_pack_scale$OFFSET, fieldValue); + } + + private static final OfLong bmult_n_def$LAYOUT = (OfLong)$LAYOUT.select(groupElement("bmult_n_def")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t bmult_n_def + * } + */ + public static final OfLong bmult_n_def$layout() { + return bmult_n_def$LAYOUT; + } + + private static final long bmult_n_def$OFFSET = $LAYOUT.byteOffset(groupElement("bmult_n_def")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t bmult_n_def + * } + */ + public static final long bmult_n_def$offset() { + return bmult_n_def$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t bmult_n_def + * } + */ + public static long bmult_n_def(MemorySegment struct) { + return struct.get(bmult_n_def$LAYOUT, bmult_n_def$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t bmult_n_def + * } + */ + public static void bmult_n_def(MemorySegment struct, long fieldValue) { + struct.set(bmult_n_def$LAYOUT, bmult_n_def$OFFSET, fieldValue); + } + + private static final OfBoolean does_invert_diag$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("does_invert_diag")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool does_invert_diag + * } + */ + public static final OfBoolean does_invert_diag$layout() { + return does_invert_diag$LAYOUT; + } + + private static final long does_invert_diag$OFFSET = $LAYOUT.byteOffset(groupElement("does_invert_diag")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool does_invert_diag + * } + */ + public static final long does_invert_diag$offset() { + return does_invert_diag$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool does_invert_diag + * } + */ + public static boolean does_invert_diag(MemorySegment struct) { + return struct.get(does_invert_diag$LAYOUT, does_invert_diag$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool does_invert_diag + * } + */ + public static void does_invert_diag(MemorySegment struct, boolean fieldValue) { + struct.set(does_invert_diag$LAYOUT, does_invert_diag$OFFSET, fieldValue); + } + + private static final OfBoolean rev_iter_if_upper$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("rev_iter_if_upper")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool rev_iter_if_upper + * } + */ + public static final OfBoolean rev_iter_if_upper$layout() { + return rev_iter_if_upper$LAYOUT; + } + + private static final long rev_iter_if_upper$OFFSET = $LAYOUT.byteOffset(groupElement("rev_iter_if_upper")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool rev_iter_if_upper + * } + */ + public static final long rev_iter_if_upper$offset() { + return rev_iter_if_upper$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool rev_iter_if_upper + * } + */ + public static boolean rev_iter_if_upper(MemorySegment struct) { + return struct.get(rev_iter_if_upper$LAYOUT, rev_iter_if_upper$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool rev_iter_if_upper + * } + */ + public static void rev_iter_if_upper(MemorySegment struct, boolean fieldValue) { + struct.set(rev_iter_if_upper$LAYOUT, rev_iter_if_upper$OFFSET, fieldValue); + } + + private static final OfBoolean rev_iter_if_lower$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("rev_iter_if_lower")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool rev_iter_if_lower + * } + */ + public static final OfBoolean rev_iter_if_lower$layout() { + return rev_iter_if_lower$LAYOUT; + } + + private static final long rev_iter_if_lower$OFFSET = $LAYOUT.byteOffset(groupElement("rev_iter_if_lower")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool rev_iter_if_lower + * } + */ + public static final long rev_iter_if_lower$offset() { + return rev_iter_if_lower$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool rev_iter_if_lower + * } + */ + public static boolean rev_iter_if_lower(MemorySegment struct) { + return struct.get(rev_iter_if_lower$LAYOUT, rev_iter_if_lower$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool rev_iter_if_lower + * } + */ + public static void rev_iter_if_lower(MemorySegment struct, boolean fieldValue) { + struct.set(rev_iter_if_lower$LAYOUT, rev_iter_if_lower$OFFSET, fieldValue); + } + + private static final OfInt pack_schema$LAYOUT = (OfInt)$LAYOUT.select(groupElement("pack_schema")); + + /** + * Layout for field: + * {@snippet lang=c : + * pack_t pack_schema + * } + */ + public static final OfInt pack_schema$layout() { + return pack_schema$LAYOUT; + } + + private static final long pack_schema$OFFSET = $LAYOUT.byteOffset(groupElement("pack_schema")); + + /** + * Offset for field: + * {@snippet lang=c : + * pack_t pack_schema + * } + */ + public static final long pack_schema$offset() { + return pack_schema$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * pack_t pack_schema + * } + */ + public static int pack_schema(MemorySegment struct) { + return struct.get(pack_schema$LAYOUT, pack_schema$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * pack_t pack_schema + * } + */ + public static void pack_schema(MemorySegment struct, int fieldValue) { + struct.set(pack_schema$LAYOUT, pack_schema$OFFSET, fieldValue); + } + + private static final OfInt pack_buf_type$LAYOUT = (OfInt)$LAYOUT.select(groupElement("pack_buf_type")); + + /** + * Layout for field: + * {@snippet lang=c : + * packbuf_t pack_buf_type + * } + */ + public static final OfInt pack_buf_type$layout() { + return pack_buf_type$LAYOUT; + } + + private static final long pack_buf_type$OFFSET = $LAYOUT.byteOffset(groupElement("pack_buf_type")); + + /** + * Offset for field: + * {@snippet lang=c : + * packbuf_t pack_buf_type + * } + */ + public static final long pack_buf_type$offset() { + return pack_buf_type$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * packbuf_t pack_buf_type + * } + */ + public static int pack_buf_type(MemorySegment struct) { + return struct.get(pack_buf_type$LAYOUT, pack_buf_type$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * packbuf_t pack_buf_type + * } + */ + public static void pack_buf_type(MemorySegment struct, int fieldValue) { + struct.set(pack_buf_type$LAYOUT, pack_buf_type$OFFSET, fieldValue); + } + + private static final AddressLayout params$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("params")); + + /** + * Layout for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static final AddressLayout params$layout() { + return params$LAYOUT; + } + + private static final long params$OFFSET = $LAYOUT.byteOffset(groupElement("params")); + + /** + * Offset for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static final long params$offset() { + return params$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static MemorySegment params(MemorySegment struct) { + return struct.get(params$LAYOUT, params$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * const void *params + * } + */ + public static void params(MemorySegment struct, MemorySegment fieldValue) { + struct.set(params$LAYOUT, params$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/part_cntl_s.java b/generated/src/blis_typed/part_cntl_s.java new file mode 100644 index 00000000..24a2dacb --- /dev/null +++ b/generated/src/blis_typed/part_cntl_s.java @@ -0,0 +1,497 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct part_cntl_s { + * cntl_t cntl; + * num_t b_dt; + * dim_t b_alg; + * dim_t b_max; + * dim_t b_scale; + * dim_t b_mult; + * dim_t b_mult_scale; + * dir_t direct; + * bool use_weighted; + * } + * } + */ +public class part_cntl_s { + + part_cntl_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + cntl_s.layout().withName("cntl"), + blis_h.C_INT.withName("b_dt"), + MemoryLayout.paddingLayout(4), + blis_h.C_LONG_LONG.withName("b_alg"), + blis_h.C_LONG_LONG.withName("b_max"), + blis_h.C_LONG_LONG.withName("b_scale"), + blis_h.C_LONG_LONG.withName("b_mult"), + blis_h.C_LONG_LONG.withName("b_mult_scale"), + blis_h.C_INT.withName("direct"), + blis_h.C_BOOL.withName("use_weighted"), + MemoryLayout.paddingLayout(3) + ).withName("part_cntl_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout cntl$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("cntl")); + + /** + * Layout for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static final GroupLayout cntl$layout() { + return cntl$LAYOUT; + } + + private static final long cntl$OFFSET = $LAYOUT.byteOffset(groupElement("cntl")); + + /** + * Offset for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static final long cntl$offset() { + return cntl$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static MemorySegment cntl(MemorySegment struct) { + return struct.asSlice(cntl$OFFSET, cntl$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static void cntl(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, cntl$OFFSET, cntl$LAYOUT.byteSize()); + } + + private static final OfInt b_dt$LAYOUT = (OfInt)$LAYOUT.select(groupElement("b_dt")); + + /** + * Layout for field: + * {@snippet lang=c : + * num_t b_dt + * } + */ + public static final OfInt b_dt$layout() { + return b_dt$LAYOUT; + } + + private static final long b_dt$OFFSET = $LAYOUT.byteOffset(groupElement("b_dt")); + + /** + * Offset for field: + * {@snippet lang=c : + * num_t b_dt + * } + */ + public static final long b_dt$offset() { + return b_dt$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * num_t b_dt + * } + */ + public static int b_dt(MemorySegment struct) { + return struct.get(b_dt$LAYOUT, b_dt$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * num_t b_dt + * } + */ + public static void b_dt(MemorySegment struct, int fieldValue) { + struct.set(b_dt$LAYOUT, b_dt$OFFSET, fieldValue); + } + + private static final OfLong b_alg$LAYOUT = (OfLong)$LAYOUT.select(groupElement("b_alg")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t b_alg + * } + */ + public static final OfLong b_alg$layout() { + return b_alg$LAYOUT; + } + + private static final long b_alg$OFFSET = $LAYOUT.byteOffset(groupElement("b_alg")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t b_alg + * } + */ + public static final long b_alg$offset() { + return b_alg$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t b_alg + * } + */ + public static long b_alg(MemorySegment struct) { + return struct.get(b_alg$LAYOUT, b_alg$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t b_alg + * } + */ + public static void b_alg(MemorySegment struct, long fieldValue) { + struct.set(b_alg$LAYOUT, b_alg$OFFSET, fieldValue); + } + + private static final OfLong b_max$LAYOUT = (OfLong)$LAYOUT.select(groupElement("b_max")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t b_max + * } + */ + public static final OfLong b_max$layout() { + return b_max$LAYOUT; + } + + private static final long b_max$OFFSET = $LAYOUT.byteOffset(groupElement("b_max")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t b_max + * } + */ + public static final long b_max$offset() { + return b_max$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t b_max + * } + */ + public static long b_max(MemorySegment struct) { + return struct.get(b_max$LAYOUT, b_max$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t b_max + * } + */ + public static void b_max(MemorySegment struct, long fieldValue) { + struct.set(b_max$LAYOUT, b_max$OFFSET, fieldValue); + } + + private static final OfLong b_scale$LAYOUT = (OfLong)$LAYOUT.select(groupElement("b_scale")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t b_scale + * } + */ + public static final OfLong b_scale$layout() { + return b_scale$LAYOUT; + } + + private static final long b_scale$OFFSET = $LAYOUT.byteOffset(groupElement("b_scale")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t b_scale + * } + */ + public static final long b_scale$offset() { + return b_scale$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t b_scale + * } + */ + public static long b_scale(MemorySegment struct) { + return struct.get(b_scale$LAYOUT, b_scale$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t b_scale + * } + */ + public static void b_scale(MemorySegment struct, long fieldValue) { + struct.set(b_scale$LAYOUT, b_scale$OFFSET, fieldValue); + } + + private static final OfLong b_mult$LAYOUT = (OfLong)$LAYOUT.select(groupElement("b_mult")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t b_mult + * } + */ + public static final OfLong b_mult$layout() { + return b_mult$LAYOUT; + } + + private static final long b_mult$OFFSET = $LAYOUT.byteOffset(groupElement("b_mult")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t b_mult + * } + */ + public static final long b_mult$offset() { + return b_mult$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t b_mult + * } + */ + public static long b_mult(MemorySegment struct) { + return struct.get(b_mult$LAYOUT, b_mult$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t b_mult + * } + */ + public static void b_mult(MemorySegment struct, long fieldValue) { + struct.set(b_mult$LAYOUT, b_mult$OFFSET, fieldValue); + } + + private static final OfLong b_mult_scale$LAYOUT = (OfLong)$LAYOUT.select(groupElement("b_mult_scale")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t b_mult_scale + * } + */ + public static final OfLong b_mult_scale$layout() { + return b_mult_scale$LAYOUT; + } + + private static final long b_mult_scale$OFFSET = $LAYOUT.byteOffset(groupElement("b_mult_scale")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t b_mult_scale + * } + */ + public static final long b_mult_scale$offset() { + return b_mult_scale$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t b_mult_scale + * } + */ + public static long b_mult_scale(MemorySegment struct) { + return struct.get(b_mult_scale$LAYOUT, b_mult_scale$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t b_mult_scale + * } + */ + public static void b_mult_scale(MemorySegment struct, long fieldValue) { + struct.set(b_mult_scale$LAYOUT, b_mult_scale$OFFSET, fieldValue); + } + + private static final OfInt direct$LAYOUT = (OfInt)$LAYOUT.select(groupElement("direct")); + + /** + * Layout for field: + * {@snippet lang=c : + * dir_t direct + * } + */ + public static final OfInt direct$layout() { + return direct$LAYOUT; + } + + private static final long direct$OFFSET = $LAYOUT.byteOffset(groupElement("direct")); + + /** + * Offset for field: + * {@snippet lang=c : + * dir_t direct + * } + */ + public static final long direct$offset() { + return direct$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dir_t direct + * } + */ + public static int direct(MemorySegment struct) { + return struct.get(direct$LAYOUT, direct$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dir_t direct + * } + */ + public static void direct(MemorySegment struct, int fieldValue) { + struct.set(direct$LAYOUT, direct$OFFSET, fieldValue); + } + + private static final OfBoolean use_weighted$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("use_weighted")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool use_weighted + * } + */ + public static final OfBoolean use_weighted$layout() { + return use_weighted$LAYOUT; + } + + private static final long use_weighted$OFFSET = $LAYOUT.byteOffset(groupElement("use_weighted")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool use_weighted + * } + */ + public static final long use_weighted$offset() { + return use_weighted$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool use_weighted + * } + */ + public static boolean use_weighted(MemorySegment struct) { + return struct.get(use_weighted$LAYOUT, use_weighted$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool use_weighted + * } + */ + public static void use_weighted(MemorySegment struct, boolean fieldValue) { + struct.set(use_weighted$LAYOUT, use_weighted$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/pba_s.java b/generated/src/blis_typed/pba_s.java new file mode 100644 index 00000000..950181af --- /dev/null +++ b/generated/src/blis_typed/pba_s.java @@ -0,0 +1,461 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct pba_s { + * pool_t pools[3]; + * bli_pthread_mutex_t mutex; + * siz_t align_size; + * malloc_ft malloc_fp; + * free_ft free_fp; + * } + * } + */ +public class pba_s { + + pba_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(3, pool_t.layout()).withName("pools"), + _opaque_pthread_mutex_t.layout().withName("mutex"), + blis_h.C_LONG_LONG.withName("align_size"), + blis_h.C_POINTER.withName("malloc_fp"), + blis_h.C_POINTER.withName("free_fp") + ).withName("pba_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout pools$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("pools")); + + /** + * Layout for field: + * {@snippet lang=c : + * pool_t pools[3] + * } + */ + public static final SequenceLayout pools$layout() { + return pools$LAYOUT; + } + + private static final long pools$OFFSET = $LAYOUT.byteOffset(groupElement("pools")); + + /** + * Offset for field: + * {@snippet lang=c : + * pool_t pools[3] + * } + */ + public static final long pools$offset() { + return pools$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * pool_t pools[3] + * } + */ + public static MemorySegment pools(MemorySegment struct) { + return struct.asSlice(pools$OFFSET, pools$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * pool_t pools[3] + * } + */ + public static void pools(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, pools$OFFSET, pools$LAYOUT.byteSize()); + } + + private static long[] pools$DIMS = { 3 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * pool_t pools[3] + * } + */ + public static long[] pools$dimensions() { + return pools$DIMS; + } + private static final MethodHandle pools$ELEM_HANDLE = pools$LAYOUT.sliceHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * pool_t pools[3] + * } + */ + public static MemorySegment pools(MemorySegment struct, long index0) { + try { + return (MemorySegment)pools$ELEM_HANDLE.invokeExact(struct, 0L, index0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * pool_t pools[3] + * } + */ + public static void pools(MemorySegment struct, long index0, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, pools(struct, index0), 0L, pool_t.layout().byteSize()); + } + + private static final GroupLayout mutex$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("mutex")); + + /** + * Layout for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static final GroupLayout mutex$layout() { + return mutex$LAYOUT; + } + + private static final long mutex$OFFSET = $LAYOUT.byteOffset(groupElement("mutex")); + + /** + * Offset for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static final long mutex$offset() { + return mutex$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static MemorySegment mutex(MemorySegment struct) { + return struct.asSlice(mutex$OFFSET, mutex$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bli_pthread_mutex_t mutex + * } + */ + public static void mutex(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, mutex$OFFSET, mutex$LAYOUT.byteSize()); + } + + private static final OfLong align_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("align_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t align_size + * } + */ + public static final OfLong align_size$layout() { + return align_size$LAYOUT; + } + + private static final long align_size$OFFSET = $LAYOUT.byteOffset(groupElement("align_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t align_size + * } + */ + public static final long align_size$offset() { + return align_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t align_size + * } + */ + public static long align_size(MemorySegment struct) { + return struct.get(align_size$LAYOUT, align_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t align_size + * } + */ + public static void align_size(MemorySegment struct, long fieldValue) { + struct.set(align_size$LAYOUT, align_size$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * malloc_ft malloc_fp + * } + */ + public final static class malloc_fp { + + private malloc_fp() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + MemorySegment apply(long _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + blis_h.C_POINTER, + blis_h.C_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(malloc_fp.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(malloc_fp.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static MemorySegment invoke(MemorySegment funcPtr, long _x0) { + try { + return (MemorySegment) DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout malloc_fp$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("malloc_fp")); + + /** + * Layout for field: + * {@snippet lang=c : + * malloc_ft malloc_fp + * } + */ + public static final AddressLayout malloc_fp$layout() { + return malloc_fp$LAYOUT; + } + + private static final long malloc_fp$OFFSET = $LAYOUT.byteOffset(groupElement("malloc_fp")); + + /** + * Offset for field: + * {@snippet lang=c : + * malloc_ft malloc_fp + * } + */ + public static final long malloc_fp$offset() { + return malloc_fp$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * malloc_ft malloc_fp + * } + */ + public static MemorySegment malloc_fp(MemorySegment struct) { + return struct.get(malloc_fp$LAYOUT, malloc_fp$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * malloc_ft malloc_fp + * } + */ + public static void malloc_fp(MemorySegment struct, MemorySegment fieldValue) { + struct.set(malloc_fp$LAYOUT, malloc_fp$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * free_ft free_fp + * } + */ + public final static class free_fp { + + private free_fp() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(free_fp.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(free_fp.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout free_fp$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("free_fp")); + + /** + * Layout for field: + * {@snippet lang=c : + * free_ft free_fp + * } + */ + public static final AddressLayout free_fp$layout() { + return free_fp$LAYOUT; + } + + private static final long free_fp$OFFSET = $LAYOUT.byteOffset(groupElement("free_fp")); + + /** + * Offset for field: + * {@snippet lang=c : + * free_ft free_fp + * } + */ + public static final long free_fp$offset() { + return free_fp$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * free_ft free_fp + * } + */ + public static MemorySegment free_fp(MemorySegment struct) { + return struct.get(free_fp$LAYOUT, free_fp$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * free_ft free_fp + * } + */ + public static void free_fp(MemorySegment struct, MemorySegment fieldValue) { + struct.set(free_fp$LAYOUT, free_fp$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/pblk_t.java b/generated/src/blis_typed/pblk_t.java new file mode 100644 index 00000000..e83332c6 --- /dev/null +++ b/generated/src/blis_typed/pblk_t.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * void *buf; + * siz_t block_size; + * } + * } + */ +public class pblk_t { + + pblk_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_POINTER.withName("buf"), + blis_h.C_LONG_LONG.withName("block_size") + ).withName("pblk_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout buf$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("buf")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *buf + * } + */ + public static final AddressLayout buf$layout() { + return buf$LAYOUT; + } + + private static final long buf$OFFSET = $LAYOUT.byteOffset(groupElement("buf")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *buf + * } + */ + public static final long buf$offset() { + return buf$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *buf + * } + */ + public static MemorySegment buf(MemorySegment struct) { + return struct.get(buf$LAYOUT, buf$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *buf + * } + */ + public static void buf(MemorySegment struct, MemorySegment fieldValue) { + struct.set(buf$LAYOUT, buf$OFFSET, fieldValue); + } + + private static final OfLong block_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("block_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t block_size + * } + */ + public static final OfLong block_size$layout() { + return block_size$LAYOUT; + } + + private static final long block_size$OFFSET = $LAYOUT.byteOffset(groupElement("block_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t block_size + * } + */ + public static final long block_size$offset() { + return block_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t block_size + * } + */ + public static long block_size(MemorySegment struct) { + return struct.get(block_size$LAYOUT, block_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t block_size + * } + */ + public static void block_size(MemorySegment struct, long fieldValue) { + struct.set(block_size$LAYOUT, block_size$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/pool_t.java b/generated/src/blis_typed/pool_t.java new file mode 100644 index 00000000..6026decb --- /dev/null +++ b/generated/src/blis_typed/pool_t.java @@ -0,0 +1,606 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * void *block_ptrs; + * dim_t block_ptrs_len; + * dim_t top_index; + * dim_t num_blocks; + * siz_t block_size; + * siz_t align_size; + * siz_t offset_size; + * malloc_ft malloc_fp; + * free_ft free_fp; + * } + * } + */ +public class pool_t { + + pool_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_POINTER.withName("block_ptrs"), + blis_h.C_LONG_LONG.withName("block_ptrs_len"), + blis_h.C_LONG_LONG.withName("top_index"), + blis_h.C_LONG_LONG.withName("num_blocks"), + blis_h.C_LONG_LONG.withName("block_size"), + blis_h.C_LONG_LONG.withName("align_size"), + blis_h.C_LONG_LONG.withName("offset_size"), + blis_h.C_POINTER.withName("malloc_fp"), + blis_h.C_POINTER.withName("free_fp") + ).withName("pool_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout block_ptrs$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("block_ptrs")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *block_ptrs + * } + */ + public static final AddressLayout block_ptrs$layout() { + return block_ptrs$LAYOUT; + } + + private static final long block_ptrs$OFFSET = $LAYOUT.byteOffset(groupElement("block_ptrs")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *block_ptrs + * } + */ + public static final long block_ptrs$offset() { + return block_ptrs$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *block_ptrs + * } + */ + public static MemorySegment block_ptrs(MemorySegment struct) { + return struct.get(block_ptrs$LAYOUT, block_ptrs$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *block_ptrs + * } + */ + public static void block_ptrs(MemorySegment struct, MemorySegment fieldValue) { + struct.set(block_ptrs$LAYOUT, block_ptrs$OFFSET, fieldValue); + } + + private static final OfLong block_ptrs_len$LAYOUT = (OfLong)$LAYOUT.select(groupElement("block_ptrs_len")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t block_ptrs_len + * } + */ + public static final OfLong block_ptrs_len$layout() { + return block_ptrs_len$LAYOUT; + } + + private static final long block_ptrs_len$OFFSET = $LAYOUT.byteOffset(groupElement("block_ptrs_len")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t block_ptrs_len + * } + */ + public static final long block_ptrs_len$offset() { + return block_ptrs_len$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t block_ptrs_len + * } + */ + public static long block_ptrs_len(MemorySegment struct) { + return struct.get(block_ptrs_len$LAYOUT, block_ptrs_len$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t block_ptrs_len + * } + */ + public static void block_ptrs_len(MemorySegment struct, long fieldValue) { + struct.set(block_ptrs_len$LAYOUT, block_ptrs_len$OFFSET, fieldValue); + } + + private static final OfLong top_index$LAYOUT = (OfLong)$LAYOUT.select(groupElement("top_index")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t top_index + * } + */ + public static final OfLong top_index$layout() { + return top_index$LAYOUT; + } + + private static final long top_index$OFFSET = $LAYOUT.byteOffset(groupElement("top_index")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t top_index + * } + */ + public static final long top_index$offset() { + return top_index$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t top_index + * } + */ + public static long top_index(MemorySegment struct) { + return struct.get(top_index$LAYOUT, top_index$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t top_index + * } + */ + public static void top_index(MemorySegment struct, long fieldValue) { + struct.set(top_index$LAYOUT, top_index$OFFSET, fieldValue); + } + + private static final OfLong num_blocks$LAYOUT = (OfLong)$LAYOUT.select(groupElement("num_blocks")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t num_blocks + * } + */ + public static final OfLong num_blocks$layout() { + return num_blocks$LAYOUT; + } + + private static final long num_blocks$OFFSET = $LAYOUT.byteOffset(groupElement("num_blocks")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t num_blocks + * } + */ + public static final long num_blocks$offset() { + return num_blocks$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t num_blocks + * } + */ + public static long num_blocks(MemorySegment struct) { + return struct.get(num_blocks$LAYOUT, num_blocks$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t num_blocks + * } + */ + public static void num_blocks(MemorySegment struct, long fieldValue) { + struct.set(num_blocks$LAYOUT, num_blocks$OFFSET, fieldValue); + } + + private static final OfLong block_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("block_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t block_size + * } + */ + public static final OfLong block_size$layout() { + return block_size$LAYOUT; + } + + private static final long block_size$OFFSET = $LAYOUT.byteOffset(groupElement("block_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t block_size + * } + */ + public static final long block_size$offset() { + return block_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t block_size + * } + */ + public static long block_size(MemorySegment struct) { + return struct.get(block_size$LAYOUT, block_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t block_size + * } + */ + public static void block_size(MemorySegment struct, long fieldValue) { + struct.set(block_size$LAYOUT, block_size$OFFSET, fieldValue); + } + + private static final OfLong align_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("align_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t align_size + * } + */ + public static final OfLong align_size$layout() { + return align_size$LAYOUT; + } + + private static final long align_size$OFFSET = $LAYOUT.byteOffset(groupElement("align_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t align_size + * } + */ + public static final long align_size$offset() { + return align_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t align_size + * } + */ + public static long align_size(MemorySegment struct) { + return struct.get(align_size$LAYOUT, align_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t align_size + * } + */ + public static void align_size(MemorySegment struct, long fieldValue) { + struct.set(align_size$LAYOUT, align_size$OFFSET, fieldValue); + } + + private static final OfLong offset_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("offset_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t offset_size + * } + */ + public static final OfLong offset_size$layout() { + return offset_size$LAYOUT; + } + + private static final long offset_size$OFFSET = $LAYOUT.byteOffset(groupElement("offset_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t offset_size + * } + */ + public static final long offset_size$offset() { + return offset_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t offset_size + * } + */ + public static long offset_size(MemorySegment struct) { + return struct.get(offset_size$LAYOUT, offset_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t offset_size + * } + */ + public static void offset_size(MemorySegment struct, long fieldValue) { + struct.set(offset_size$LAYOUT, offset_size$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * malloc_ft malloc_fp + * } + */ + public final static class malloc_fp { + + private malloc_fp() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + MemorySegment apply(long _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + blis_h.C_POINTER, + blis_h.C_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(malloc_fp.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(malloc_fp.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static MemorySegment invoke(MemorySegment funcPtr, long _x0) { + try { + return (MemorySegment) DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout malloc_fp$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("malloc_fp")); + + /** + * Layout for field: + * {@snippet lang=c : + * malloc_ft malloc_fp + * } + */ + public static final AddressLayout malloc_fp$layout() { + return malloc_fp$LAYOUT; + } + + private static final long malloc_fp$OFFSET = $LAYOUT.byteOffset(groupElement("malloc_fp")); + + /** + * Offset for field: + * {@snippet lang=c : + * malloc_ft malloc_fp + * } + */ + public static final long malloc_fp$offset() { + return malloc_fp$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * malloc_ft malloc_fp + * } + */ + public static MemorySegment malloc_fp(MemorySegment struct) { + return struct.get(malloc_fp$LAYOUT, malloc_fp$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * malloc_ft malloc_fp + * } + */ + public static void malloc_fp(MemorySegment struct, MemorySegment fieldValue) { + struct.set(malloc_fp$LAYOUT, malloc_fp$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * free_ft free_fp + * } + */ + public final static class free_fp { + + private free_fp() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(free_fp.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(free_fp.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout free_fp$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("free_fp")); + + /** + * Layout for field: + * {@snippet lang=c : + * free_ft free_fp + * } + */ + public static final AddressLayout free_fp$layout() { + return free_fp$LAYOUT; + } + + private static final long free_fp$OFFSET = $LAYOUT.byteOffset(groupElement("free_fp")); + + /** + * Offset for field: + * {@snippet lang=c : + * free_ft free_fp + * } + */ + public static final long free_fp$offset() { + return free_fp$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * free_ft free_fp + * } + */ + public static MemorySegment free_fp(MemorySegment struct) { + return struct.get(free_fp$LAYOUT, free_fp$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * free_ft free_fp + * } + */ + public static void free_fp(MemorySegment struct, MemorySegment fieldValue) { + struct.set(free_fp$LAYOUT, free_fp$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/rntm_s.java b/generated/src/blis_typed/rntm_s.java new file mode 100644 index 00000000..7d2f49d7 --- /dev/null +++ b/generated/src/blis_typed/rntm_s.java @@ -0,0 +1,438 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct rntm_s { + * timpl_t thread_impl; + * bool auto_factor; + * dim_t num_threads; + * dim_t thrloop[6]; + * bool pack_a; + * bool pack_b; + * bool l3_sup; + * } + * } + */ +public class rntm_s { + + rntm_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_INT.withName("thread_impl"), + blis_h.C_BOOL.withName("auto_factor"), + MemoryLayout.paddingLayout(3), + blis_h.C_LONG_LONG.withName("num_threads"), + MemoryLayout.sequenceLayout(6, blis_h.C_LONG_LONG).withName("thrloop"), + blis_h.C_BOOL.withName("pack_a"), + blis_h.C_BOOL.withName("pack_b"), + blis_h.C_BOOL.withName("l3_sup"), + MemoryLayout.paddingLayout(5) + ).withName("rntm_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt thread_impl$LAYOUT = (OfInt)$LAYOUT.select(groupElement("thread_impl")); + + /** + * Layout for field: + * {@snippet lang=c : + * timpl_t thread_impl + * } + */ + public static final OfInt thread_impl$layout() { + return thread_impl$LAYOUT; + } + + private static final long thread_impl$OFFSET = $LAYOUT.byteOffset(groupElement("thread_impl")); + + /** + * Offset for field: + * {@snippet lang=c : + * timpl_t thread_impl + * } + */ + public static final long thread_impl$offset() { + return thread_impl$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * timpl_t thread_impl + * } + */ + public static int thread_impl(MemorySegment struct) { + return struct.get(thread_impl$LAYOUT, thread_impl$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * timpl_t thread_impl + * } + */ + public static void thread_impl(MemorySegment struct, int fieldValue) { + struct.set(thread_impl$LAYOUT, thread_impl$OFFSET, fieldValue); + } + + private static final OfBoolean auto_factor$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("auto_factor")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool auto_factor + * } + */ + public static final OfBoolean auto_factor$layout() { + return auto_factor$LAYOUT; + } + + private static final long auto_factor$OFFSET = $LAYOUT.byteOffset(groupElement("auto_factor")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool auto_factor + * } + */ + public static final long auto_factor$offset() { + return auto_factor$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool auto_factor + * } + */ + public static boolean auto_factor(MemorySegment struct) { + return struct.get(auto_factor$LAYOUT, auto_factor$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool auto_factor + * } + */ + public static void auto_factor(MemorySegment struct, boolean fieldValue) { + struct.set(auto_factor$LAYOUT, auto_factor$OFFSET, fieldValue); + } + + private static final OfLong num_threads$LAYOUT = (OfLong)$LAYOUT.select(groupElement("num_threads")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t num_threads + * } + */ + public static final OfLong num_threads$layout() { + return num_threads$LAYOUT; + } + + private static final long num_threads$OFFSET = $LAYOUT.byteOffset(groupElement("num_threads")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t num_threads + * } + */ + public static final long num_threads$offset() { + return num_threads$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t num_threads + * } + */ + public static long num_threads(MemorySegment struct) { + return struct.get(num_threads$LAYOUT, num_threads$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t num_threads + * } + */ + public static void num_threads(MemorySegment struct, long fieldValue) { + struct.set(num_threads$LAYOUT, num_threads$OFFSET, fieldValue); + } + + private static final SequenceLayout thrloop$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("thrloop")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t thrloop[6] + * } + */ + public static final SequenceLayout thrloop$layout() { + return thrloop$LAYOUT; + } + + private static final long thrloop$OFFSET = $LAYOUT.byteOffset(groupElement("thrloop")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t thrloop[6] + * } + */ + public static final long thrloop$offset() { + return thrloop$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t thrloop[6] + * } + */ + public static MemorySegment thrloop(MemorySegment struct) { + return struct.asSlice(thrloop$OFFSET, thrloop$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t thrloop[6] + * } + */ + public static void thrloop(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, thrloop$OFFSET, thrloop$LAYOUT.byteSize()); + } + + private static long[] thrloop$DIMS = { 6 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * dim_t thrloop[6] + * } + */ + public static long[] thrloop$dimensions() { + return thrloop$DIMS; + } + private static final VarHandle thrloop$ELEM_HANDLE = thrloop$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * dim_t thrloop[6] + * } + */ + public static long thrloop(MemorySegment struct, long index0) { + return (long)thrloop$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * dim_t thrloop[6] + * } + */ + public static void thrloop(MemorySegment struct, long index0, long fieldValue) { + thrloop$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfBoolean pack_a$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("pack_a")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool pack_a + * } + */ + public static final OfBoolean pack_a$layout() { + return pack_a$LAYOUT; + } + + private static final long pack_a$OFFSET = $LAYOUT.byteOffset(groupElement("pack_a")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool pack_a + * } + */ + public static final long pack_a$offset() { + return pack_a$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool pack_a + * } + */ + public static boolean pack_a(MemorySegment struct) { + return struct.get(pack_a$LAYOUT, pack_a$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool pack_a + * } + */ + public static void pack_a(MemorySegment struct, boolean fieldValue) { + struct.set(pack_a$LAYOUT, pack_a$OFFSET, fieldValue); + } + + private static final OfBoolean pack_b$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("pack_b")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool pack_b + * } + */ + public static final OfBoolean pack_b$layout() { + return pack_b$LAYOUT; + } + + private static final long pack_b$OFFSET = $LAYOUT.byteOffset(groupElement("pack_b")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool pack_b + * } + */ + public static final long pack_b$offset() { + return pack_b$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool pack_b + * } + */ + public static boolean pack_b(MemorySegment struct) { + return struct.get(pack_b$LAYOUT, pack_b$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool pack_b + * } + */ + public static void pack_b(MemorySegment struct, boolean fieldValue) { + struct.set(pack_b$LAYOUT, pack_b$OFFSET, fieldValue); + } + + private static final OfBoolean l3_sup$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("l3_sup")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool l3_sup + * } + */ + public static final OfBoolean l3_sup$layout() { + return l3_sup$LAYOUT; + } + + private static final long l3_sup$OFFSET = $LAYOUT.byteOffset(groupElement("l3_sup")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool l3_sup + * } + */ + public static final long l3_sup$offset() { + return l3_sup$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool l3_sup + * } + */ + public static boolean l3_sup(MemorySegment struct) { + return struct.get(l3_sup$LAYOUT, l3_sup$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool l3_sup + * } + */ + public static void l3_sup(MemorySegment struct, boolean fieldValue) { + struct.set(l3_sup$LAYOUT, l3_sup$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/scomplex.java b/generated/src/blis_typed/scomplex.java new file mode 100644 index 00000000..59a4318a --- /dev/null +++ b/generated/src/blis_typed/scomplex.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct scomplex { + * float real; + * float imag; + * } + * } + */ +public class scomplex { + + scomplex() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_FLOAT.withName("real"), + blis_h.C_FLOAT.withName("imag") + ).withName("scomplex"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfFloat real$LAYOUT = (OfFloat)$LAYOUT.select(groupElement("real")); + + /** + * Layout for field: + * {@snippet lang=c : + * float real + * } + */ + public static final OfFloat real$layout() { + return real$LAYOUT; + } + + private static final long real$OFFSET = $LAYOUT.byteOffset(groupElement("real")); + + /** + * Offset for field: + * {@snippet lang=c : + * float real + * } + */ + public static final long real$offset() { + return real$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * float real + * } + */ + public static float real(MemorySegment struct) { + return struct.get(real$LAYOUT, real$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * float real + * } + */ + public static void real(MemorySegment struct, float fieldValue) { + struct.set(real$LAYOUT, real$OFFSET, fieldValue); + } + + private static final OfFloat imag$LAYOUT = (OfFloat)$LAYOUT.select(groupElement("imag")); + + /** + * Layout for field: + * {@snippet lang=c : + * float imag + * } + */ + public static final OfFloat imag$layout() { + return imag$LAYOUT; + } + + private static final long imag$OFFSET = $LAYOUT.byteOffset(groupElement("imag")); + + /** + * Offset for field: + * {@snippet lang=c : + * float imag + * } + */ + public static final long imag$offset() { + return imag$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * float imag + * } + */ + public static float imag(MemorySegment struct) { + return struct.get(imag$LAYOUT, imag$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * float imag + * } + */ + public static void imag(MemorySegment struct, float fieldValue) { + struct.set(imag$LAYOUT, imag$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/stck_t.java b/generated/src/blis_typed/stck_t.java new file mode 100644 index 00000000..0e78d304 --- /dev/null +++ b/generated/src/blis_typed/stck_t.java @@ -0,0 +1,403 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * siz_t elem_size; + * siz_t block_len; + * siz_t max_blocks; + * siz_t size; + * siz_t capacity; + * void **blocks; + * bli_pthread_mutex_t lock; + * } + * } + */ +public class stck_t { + + stck_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_LONG_LONG.withName("elem_size"), + blis_h.C_LONG_LONG.withName("block_len"), + blis_h.C_LONG_LONG.withName("max_blocks"), + blis_h.C_LONG_LONG.withName("size"), + blis_h.C_LONG_LONG.withName("capacity"), + blis_h.C_POINTER.withName("blocks"), + _opaque_pthread_mutex_t.layout().withName("lock") + ).withName("stck_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong elem_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("elem_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static final OfLong elem_size$layout() { + return elem_size$LAYOUT; + } + + private static final long elem_size$OFFSET = $LAYOUT.byteOffset(groupElement("elem_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static final long elem_size$offset() { + return elem_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static long elem_size(MemorySegment struct) { + return struct.get(elem_size$LAYOUT, elem_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t elem_size + * } + */ + public static void elem_size(MemorySegment struct, long fieldValue) { + struct.set(elem_size$LAYOUT, elem_size$OFFSET, fieldValue); + } + + private static final OfLong block_len$LAYOUT = (OfLong)$LAYOUT.select(groupElement("block_len")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t block_len + * } + */ + public static final OfLong block_len$layout() { + return block_len$LAYOUT; + } + + private static final long block_len$OFFSET = $LAYOUT.byteOffset(groupElement("block_len")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t block_len + * } + */ + public static final long block_len$offset() { + return block_len$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t block_len + * } + */ + public static long block_len(MemorySegment struct) { + return struct.get(block_len$LAYOUT, block_len$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t block_len + * } + */ + public static void block_len(MemorySegment struct, long fieldValue) { + struct.set(block_len$LAYOUT, block_len$OFFSET, fieldValue); + } + + private static final OfLong max_blocks$LAYOUT = (OfLong)$LAYOUT.select(groupElement("max_blocks")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t max_blocks + * } + */ + public static final OfLong max_blocks$layout() { + return max_blocks$LAYOUT; + } + + private static final long max_blocks$OFFSET = $LAYOUT.byteOffset(groupElement("max_blocks")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t max_blocks + * } + */ + public static final long max_blocks$offset() { + return max_blocks$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t max_blocks + * } + */ + public static long max_blocks(MemorySegment struct) { + return struct.get(max_blocks$LAYOUT, max_blocks$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t max_blocks + * } + */ + public static void max_blocks(MemorySegment struct, long fieldValue) { + struct.set(max_blocks$LAYOUT, max_blocks$OFFSET, fieldValue); + } + + private static final OfLong size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("size")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t size + * } + */ + public static final OfLong size$layout() { + return size$LAYOUT; + } + + private static final long size$OFFSET = $LAYOUT.byteOffset(groupElement("size")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t size + * } + */ + public static final long size$offset() { + return size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t size + * } + */ + public static long size(MemorySegment struct) { + return struct.get(size$LAYOUT, size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t size + * } + */ + public static void size(MemorySegment struct, long fieldValue) { + struct.set(size$LAYOUT, size$OFFSET, fieldValue); + } + + private static final OfLong capacity$LAYOUT = (OfLong)$LAYOUT.select(groupElement("capacity")); + + /** + * Layout for field: + * {@snippet lang=c : + * siz_t capacity + * } + */ + public static final OfLong capacity$layout() { + return capacity$LAYOUT; + } + + private static final long capacity$OFFSET = $LAYOUT.byteOffset(groupElement("capacity")); + + /** + * Offset for field: + * {@snippet lang=c : + * siz_t capacity + * } + */ + public static final long capacity$offset() { + return capacity$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * siz_t capacity + * } + */ + public static long capacity(MemorySegment struct) { + return struct.get(capacity$LAYOUT, capacity$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * siz_t capacity + * } + */ + public static void capacity(MemorySegment struct, long fieldValue) { + struct.set(capacity$LAYOUT, capacity$OFFSET, fieldValue); + } + + private static final AddressLayout blocks$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("blocks")); + + /** + * Layout for field: + * {@snippet lang=c : + * void **blocks + * } + */ + public static final AddressLayout blocks$layout() { + return blocks$LAYOUT; + } + + private static final long blocks$OFFSET = $LAYOUT.byteOffset(groupElement("blocks")); + + /** + * Offset for field: + * {@snippet lang=c : + * void **blocks + * } + */ + public static final long blocks$offset() { + return blocks$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void **blocks + * } + */ + public static MemorySegment blocks(MemorySegment struct) { + return struct.get(blocks$LAYOUT, blocks$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void **blocks + * } + */ + public static void blocks(MemorySegment struct, MemorySegment fieldValue) { + struct.set(blocks$LAYOUT, blocks$OFFSET, fieldValue); + } + + private static final GroupLayout lock$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("lock")); + + /** + * Layout for field: + * {@snippet lang=c : + * bli_pthread_mutex_t lock + * } + */ + public static final GroupLayout lock$layout() { + return lock$LAYOUT; + } + + private static final long lock$OFFSET = $LAYOUT.byteOffset(groupElement("lock")); + + /** + * Offset for field: + * {@snippet lang=c : + * bli_pthread_mutex_t lock + * } + */ + public static final long lock$offset() { + return lock$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bli_pthread_mutex_t lock + * } + */ + public static MemorySegment lock(MemorySegment struct) { + return struct.asSlice(lock$OFFSET, lock$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bli_pthread_mutex_t lock + * } + */ + public static void lock(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, lock$OFFSET, lock$LAYOUT.byteSize()); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/thrcomm_s.java b/generated/src/blis_typed/thrcomm_s.java new file mode 100644 index 00000000..7694e40f --- /dev/null +++ b/generated/src/blis_typed/thrcomm_s.java @@ -0,0 +1,549 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct thrcomm_s { + * void *sent_object; + * dim_t n_threads; + * timpl_t ti; + * char padding1[64]; + * gint_t barrier_sense; + * char padding2[64]; + * dim_t barrier_threads_arrived; + * char padding3[64]; + * } + * } + */ +public class thrcomm_s { + + thrcomm_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_POINTER.withName("sent_object"), + blis_h.C_LONG_LONG.withName("n_threads"), + blis_h.C_INT.withName("ti"), + MemoryLayout.sequenceLayout(64, blis_h.C_CHAR).withName("padding1"), + MemoryLayout.paddingLayout(4), + blis_h.C_LONG_LONG.withName("barrier_sense"), + MemoryLayout.sequenceLayout(64, blis_h.C_CHAR).withName("padding2"), + blis_h.C_LONG_LONG.withName("barrier_threads_arrived"), + MemoryLayout.sequenceLayout(64, blis_h.C_CHAR).withName("padding3") + ).withName("thrcomm_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout sent_object$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("sent_object")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *sent_object + * } + */ + public static final AddressLayout sent_object$layout() { + return sent_object$LAYOUT; + } + + private static final long sent_object$OFFSET = $LAYOUT.byteOffset(groupElement("sent_object")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *sent_object + * } + */ + public static final long sent_object$offset() { + return sent_object$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *sent_object + * } + */ + public static MemorySegment sent_object(MemorySegment struct) { + return struct.get(sent_object$LAYOUT, sent_object$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *sent_object + * } + */ + public static void sent_object(MemorySegment struct, MemorySegment fieldValue) { + struct.set(sent_object$LAYOUT, sent_object$OFFSET, fieldValue); + } + + private static final OfLong n_threads$LAYOUT = (OfLong)$LAYOUT.select(groupElement("n_threads")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t n_threads + * } + */ + public static final OfLong n_threads$layout() { + return n_threads$LAYOUT; + } + + private static final long n_threads$OFFSET = $LAYOUT.byteOffset(groupElement("n_threads")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t n_threads + * } + */ + public static final long n_threads$offset() { + return n_threads$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t n_threads + * } + */ + public static long n_threads(MemorySegment struct) { + return struct.get(n_threads$LAYOUT, n_threads$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t n_threads + * } + */ + public static void n_threads(MemorySegment struct, long fieldValue) { + struct.set(n_threads$LAYOUT, n_threads$OFFSET, fieldValue); + } + + private static final OfInt ti$LAYOUT = (OfInt)$LAYOUT.select(groupElement("ti")); + + /** + * Layout for field: + * {@snippet lang=c : + * timpl_t ti + * } + */ + public static final OfInt ti$layout() { + return ti$LAYOUT; + } + + private static final long ti$OFFSET = $LAYOUT.byteOffset(groupElement("ti")); + + /** + * Offset for field: + * {@snippet lang=c : + * timpl_t ti + * } + */ + public static final long ti$offset() { + return ti$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * timpl_t ti + * } + */ + public static int ti(MemorySegment struct) { + return struct.get(ti$LAYOUT, ti$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * timpl_t ti + * } + */ + public static void ti(MemorySegment struct, int fieldValue) { + struct.set(ti$LAYOUT, ti$OFFSET, fieldValue); + } + + private static final SequenceLayout padding1$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("padding1")); + + /** + * Layout for field: + * {@snippet lang=c : + * char padding1[64] + * } + */ + public static final SequenceLayout padding1$layout() { + return padding1$LAYOUT; + } + + private static final long padding1$OFFSET = $LAYOUT.byteOffset(groupElement("padding1")); + + /** + * Offset for field: + * {@snippet lang=c : + * char padding1[64] + * } + */ + public static final long padding1$offset() { + return padding1$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char padding1[64] + * } + */ + public static MemorySegment padding1(MemorySegment struct) { + return struct.asSlice(padding1$OFFSET, padding1$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char padding1[64] + * } + */ + public static void padding1(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, padding1$OFFSET, padding1$LAYOUT.byteSize()); + } + + private static long[] padding1$DIMS = { 64 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char padding1[64] + * } + */ + public static long[] padding1$dimensions() { + return padding1$DIMS; + } + private static final VarHandle padding1$ELEM_HANDLE = padding1$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char padding1[64] + * } + */ + public static byte padding1(MemorySegment struct, long index0) { + return (byte)padding1$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char padding1[64] + * } + */ + public static void padding1(MemorySegment struct, long index0, byte fieldValue) { + padding1$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong barrier_sense$LAYOUT = (OfLong)$LAYOUT.select(groupElement("barrier_sense")); + + /** + * Layout for field: + * {@snippet lang=c : + * gint_t barrier_sense + * } + */ + public static final OfLong barrier_sense$layout() { + return barrier_sense$LAYOUT; + } + + private static final long barrier_sense$OFFSET = $LAYOUT.byteOffset(groupElement("barrier_sense")); + + /** + * Offset for field: + * {@snippet lang=c : + * gint_t barrier_sense + * } + */ + public static final long barrier_sense$offset() { + return barrier_sense$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * gint_t barrier_sense + * } + */ + public static long barrier_sense(MemorySegment struct) { + return struct.get(barrier_sense$LAYOUT, barrier_sense$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * gint_t barrier_sense + * } + */ + public static void barrier_sense(MemorySegment struct, long fieldValue) { + struct.set(barrier_sense$LAYOUT, barrier_sense$OFFSET, fieldValue); + } + + private static final SequenceLayout padding2$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("padding2")); + + /** + * Layout for field: + * {@snippet lang=c : + * char padding2[64] + * } + */ + public static final SequenceLayout padding2$layout() { + return padding2$LAYOUT; + } + + private static final long padding2$OFFSET = $LAYOUT.byteOffset(groupElement("padding2")); + + /** + * Offset for field: + * {@snippet lang=c : + * char padding2[64] + * } + */ + public static final long padding2$offset() { + return padding2$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char padding2[64] + * } + */ + public static MemorySegment padding2(MemorySegment struct) { + return struct.asSlice(padding2$OFFSET, padding2$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char padding2[64] + * } + */ + public static void padding2(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, padding2$OFFSET, padding2$LAYOUT.byteSize()); + } + + private static long[] padding2$DIMS = { 64 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char padding2[64] + * } + */ + public static long[] padding2$dimensions() { + return padding2$DIMS; + } + private static final VarHandle padding2$ELEM_HANDLE = padding2$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char padding2[64] + * } + */ + public static byte padding2(MemorySegment struct, long index0) { + return (byte)padding2$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char padding2[64] + * } + */ + public static void padding2(MemorySegment struct, long index0, byte fieldValue) { + padding2$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong barrier_threads_arrived$LAYOUT = (OfLong)$LAYOUT.select(groupElement("barrier_threads_arrived")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t barrier_threads_arrived + * } + */ + public static final OfLong barrier_threads_arrived$layout() { + return barrier_threads_arrived$LAYOUT; + } + + private static final long barrier_threads_arrived$OFFSET = $LAYOUT.byteOffset(groupElement("barrier_threads_arrived")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t barrier_threads_arrived + * } + */ + public static final long barrier_threads_arrived$offset() { + return barrier_threads_arrived$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t barrier_threads_arrived + * } + */ + public static long barrier_threads_arrived(MemorySegment struct) { + return struct.get(barrier_threads_arrived$LAYOUT, barrier_threads_arrived$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t barrier_threads_arrived + * } + */ + public static void barrier_threads_arrived(MemorySegment struct, long fieldValue) { + struct.set(barrier_threads_arrived$LAYOUT, barrier_threads_arrived$OFFSET, fieldValue); + } + + private static final SequenceLayout padding3$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("padding3")); + + /** + * Layout for field: + * {@snippet lang=c : + * char padding3[64] + * } + */ + public static final SequenceLayout padding3$layout() { + return padding3$LAYOUT; + } + + private static final long padding3$OFFSET = $LAYOUT.byteOffset(groupElement("padding3")); + + /** + * Offset for field: + * {@snippet lang=c : + * char padding3[64] + * } + */ + public static final long padding3$offset() { + return padding3$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char padding3[64] + * } + */ + public static MemorySegment padding3(MemorySegment struct) { + return struct.asSlice(padding3$OFFSET, padding3$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char padding3[64] + * } + */ + public static void padding3(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, padding3$OFFSET, padding3$LAYOUT.byteSize()); + } + + private static long[] padding3$DIMS = { 64 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char padding3[64] + * } + */ + public static long[] padding3$dimensions() { + return padding3$DIMS; + } + private static final VarHandle padding3$ELEM_HANDLE = padding3$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char padding3[64] + * } + */ + public static byte padding3(MemorySegment struct, long index0) { + return (byte)padding3$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char padding3[64] + * } + */ + public static void padding3(MemorySegment struct, long index0, byte fieldValue) { + padding3$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/thrinfo_s.java b/generated/src/blis_typed/thrinfo_s.java new file mode 100644 index 00000000..1d38ed13 --- /dev/null +++ b/generated/src/blis_typed/thrinfo_s.java @@ -0,0 +1,529 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct thrinfo_s { + * thrcomm_t *comm; + * dim_t thread_id; + * dim_t n_way; + * dim_t work_id; + * bool free_comm; + * pool_t *sba_pool; + * pba_t *pba; + * mem_t mem; + * struct thrinfo_s *sub_nodes[2]; + * } + * } + */ +public class thrinfo_s { + + thrinfo_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + blis_h.C_POINTER.withName("comm"), + blis_h.C_LONG_LONG.withName("thread_id"), + blis_h.C_LONG_LONG.withName("n_way"), + blis_h.C_LONG_LONG.withName("work_id"), + blis_h.C_BOOL.withName("free_comm"), + MemoryLayout.paddingLayout(7), + blis_h.C_POINTER.withName("sba_pool"), + blis_h.C_POINTER.withName("pba"), + mem_s.layout().withName("mem"), + MemoryLayout.sequenceLayout(2, blis_h.C_POINTER).withName("sub_nodes") + ).withName("thrinfo_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout comm$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("comm")); + + /** + * Layout for field: + * {@snippet lang=c : + * thrcomm_t *comm + * } + */ + public static final AddressLayout comm$layout() { + return comm$LAYOUT; + } + + private static final long comm$OFFSET = $LAYOUT.byteOffset(groupElement("comm")); + + /** + * Offset for field: + * {@snippet lang=c : + * thrcomm_t *comm + * } + */ + public static final long comm$offset() { + return comm$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * thrcomm_t *comm + * } + */ + public static MemorySegment comm(MemorySegment struct) { + return struct.get(comm$LAYOUT, comm$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * thrcomm_t *comm + * } + */ + public static void comm(MemorySegment struct, MemorySegment fieldValue) { + struct.set(comm$LAYOUT, comm$OFFSET, fieldValue); + } + + private static final OfLong thread_id$LAYOUT = (OfLong)$LAYOUT.select(groupElement("thread_id")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t thread_id + * } + */ + public static final OfLong thread_id$layout() { + return thread_id$LAYOUT; + } + + private static final long thread_id$OFFSET = $LAYOUT.byteOffset(groupElement("thread_id")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t thread_id + * } + */ + public static final long thread_id$offset() { + return thread_id$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t thread_id + * } + */ + public static long thread_id(MemorySegment struct) { + return struct.get(thread_id$LAYOUT, thread_id$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t thread_id + * } + */ + public static void thread_id(MemorySegment struct, long fieldValue) { + struct.set(thread_id$LAYOUT, thread_id$OFFSET, fieldValue); + } + + private static final OfLong n_way$LAYOUT = (OfLong)$LAYOUT.select(groupElement("n_way")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t n_way + * } + */ + public static final OfLong n_way$layout() { + return n_way$LAYOUT; + } + + private static final long n_way$OFFSET = $LAYOUT.byteOffset(groupElement("n_way")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t n_way + * } + */ + public static final long n_way$offset() { + return n_way$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t n_way + * } + */ + public static long n_way(MemorySegment struct) { + return struct.get(n_way$LAYOUT, n_way$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t n_way + * } + */ + public static void n_way(MemorySegment struct, long fieldValue) { + struct.set(n_way$LAYOUT, n_way$OFFSET, fieldValue); + } + + private static final OfLong work_id$LAYOUT = (OfLong)$LAYOUT.select(groupElement("work_id")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t work_id + * } + */ + public static final OfLong work_id$layout() { + return work_id$LAYOUT; + } + + private static final long work_id$OFFSET = $LAYOUT.byteOffset(groupElement("work_id")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t work_id + * } + */ + public static final long work_id$offset() { + return work_id$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t work_id + * } + */ + public static long work_id(MemorySegment struct) { + return struct.get(work_id$LAYOUT, work_id$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t work_id + * } + */ + public static void work_id(MemorySegment struct, long fieldValue) { + struct.set(work_id$LAYOUT, work_id$OFFSET, fieldValue); + } + + private static final OfBoolean free_comm$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("free_comm")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool free_comm + * } + */ + public static final OfBoolean free_comm$layout() { + return free_comm$LAYOUT; + } + + private static final long free_comm$OFFSET = $LAYOUT.byteOffset(groupElement("free_comm")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool free_comm + * } + */ + public static final long free_comm$offset() { + return free_comm$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool free_comm + * } + */ + public static boolean free_comm(MemorySegment struct) { + return struct.get(free_comm$LAYOUT, free_comm$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool free_comm + * } + */ + public static void free_comm(MemorySegment struct, boolean fieldValue) { + struct.set(free_comm$LAYOUT, free_comm$OFFSET, fieldValue); + } + + private static final AddressLayout sba_pool$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("sba_pool")); + + /** + * Layout for field: + * {@snippet lang=c : + * pool_t *sba_pool + * } + */ + public static final AddressLayout sba_pool$layout() { + return sba_pool$LAYOUT; + } + + private static final long sba_pool$OFFSET = $LAYOUT.byteOffset(groupElement("sba_pool")); + + /** + * Offset for field: + * {@snippet lang=c : + * pool_t *sba_pool + * } + */ + public static final long sba_pool$offset() { + return sba_pool$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * pool_t *sba_pool + * } + */ + public static MemorySegment sba_pool(MemorySegment struct) { + return struct.get(sba_pool$LAYOUT, sba_pool$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * pool_t *sba_pool + * } + */ + public static void sba_pool(MemorySegment struct, MemorySegment fieldValue) { + struct.set(sba_pool$LAYOUT, sba_pool$OFFSET, fieldValue); + } + + private static final AddressLayout pba$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("pba")); + + /** + * Layout for field: + * {@snippet lang=c : + * pba_t *pba + * } + */ + public static final AddressLayout pba$layout() { + return pba$LAYOUT; + } + + private static final long pba$OFFSET = $LAYOUT.byteOffset(groupElement("pba")); + + /** + * Offset for field: + * {@snippet lang=c : + * pba_t *pba + * } + */ + public static final long pba$offset() { + return pba$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * pba_t *pba + * } + */ + public static MemorySegment pba(MemorySegment struct) { + return struct.get(pba$LAYOUT, pba$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * pba_t *pba + * } + */ + public static void pba(MemorySegment struct, MemorySegment fieldValue) { + struct.set(pba$LAYOUT, pba$OFFSET, fieldValue); + } + + private static final GroupLayout mem$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("mem")); + + /** + * Layout for field: + * {@snippet lang=c : + * mem_t mem + * } + */ + public static final GroupLayout mem$layout() { + return mem$LAYOUT; + } + + private static final long mem$OFFSET = $LAYOUT.byteOffset(groupElement("mem")); + + /** + * Offset for field: + * {@snippet lang=c : + * mem_t mem + * } + */ + public static final long mem$offset() { + return mem$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * mem_t mem + * } + */ + public static MemorySegment mem(MemorySegment struct) { + return struct.asSlice(mem$OFFSET, mem$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * mem_t mem + * } + */ + public static void mem(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, mem$OFFSET, mem$LAYOUT.byteSize()); + } + + private static final SequenceLayout sub_nodes$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("sub_nodes")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct thrinfo_s *sub_nodes[2] + * } + */ + public static final SequenceLayout sub_nodes$layout() { + return sub_nodes$LAYOUT; + } + + private static final long sub_nodes$OFFSET = $LAYOUT.byteOffset(groupElement("sub_nodes")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct thrinfo_s *sub_nodes[2] + * } + */ + public static final long sub_nodes$offset() { + return sub_nodes$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct thrinfo_s *sub_nodes[2] + * } + */ + public static MemorySegment sub_nodes(MemorySegment struct) { + return struct.asSlice(sub_nodes$OFFSET, sub_nodes$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct thrinfo_s *sub_nodes[2] + * } + */ + public static void sub_nodes(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, sub_nodes$OFFSET, sub_nodes$LAYOUT.byteSize()); + } + + private static long[] sub_nodes$DIMS = { 2 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * struct thrinfo_s *sub_nodes[2] + * } + */ + public static long[] sub_nodes$dimensions() { + return sub_nodes$DIMS; + } + private static final VarHandle sub_nodes$ELEM_HANDLE = sub_nodes$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * struct thrinfo_s *sub_nodes[2] + * } + */ + public static MemorySegment sub_nodes(MemorySegment struct, long index0) { + return (MemorySegment)sub_nodes$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * struct thrinfo_s *sub_nodes[2] + * } + */ + public static void sub_nodes(MemorySegment struct, long index0, MemorySegment fieldValue) { + sub_nodes$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/trsm_cntl_s.java b/generated/src/blis_typed/trsm_cntl_s.java new file mode 100644 index 00000000..b03c12d7 --- /dev/null +++ b/generated/src/blis_typed/trsm_cntl_s.java @@ -0,0 +1,541 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct trsm_cntl_s { + * part_cntl_t part_jc; + * part_cntl_t part_pc; + * packm_def_cntl_t pack_b; + * part_cntl_t part_ic; + * packm_def_cntl_t pack_a_trsm; + * trsm_var_cntl_t trsm_ker; + * packm_def_cntl_t pack_a_gemm; + * trsm_var_cntl_t gemm_ker; + * cntl_t ir_loop_gemm; + * cntl_t ir_loop_trsm; + * } + * } + */ +public class trsm_cntl_s { + + trsm_cntl_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + part_cntl_s.layout().withName("part_jc"), + part_cntl_s.layout().withName("part_pc"), + packm_def_cntl_s.layout().withName("pack_b"), + part_cntl_s.layout().withName("part_ic"), + packm_def_cntl_s.layout().withName("pack_a_trsm"), + trsm_var_cntl_s.layout().withName("trsm_ker"), + packm_def_cntl_s.layout().withName("pack_a_gemm"), + trsm_var_cntl_s.layout().withName("gemm_ker"), + cntl_s.layout().withName("ir_loop_gemm"), + cntl_s.layout().withName("ir_loop_trsm") + ).withName("trsm_cntl_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout part_jc$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("part_jc")); + + /** + * Layout for field: + * {@snippet lang=c : + * part_cntl_t part_jc + * } + */ + public static final GroupLayout part_jc$layout() { + return part_jc$LAYOUT; + } + + private static final long part_jc$OFFSET = $LAYOUT.byteOffset(groupElement("part_jc")); + + /** + * Offset for field: + * {@snippet lang=c : + * part_cntl_t part_jc + * } + */ + public static final long part_jc$offset() { + return part_jc$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * part_cntl_t part_jc + * } + */ + public static MemorySegment part_jc(MemorySegment struct) { + return struct.asSlice(part_jc$OFFSET, part_jc$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * part_cntl_t part_jc + * } + */ + public static void part_jc(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, part_jc$OFFSET, part_jc$LAYOUT.byteSize()); + } + + private static final GroupLayout part_pc$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("part_pc")); + + /** + * Layout for field: + * {@snippet lang=c : + * part_cntl_t part_pc + * } + */ + public static final GroupLayout part_pc$layout() { + return part_pc$LAYOUT; + } + + private static final long part_pc$OFFSET = $LAYOUT.byteOffset(groupElement("part_pc")); + + /** + * Offset for field: + * {@snippet lang=c : + * part_cntl_t part_pc + * } + */ + public static final long part_pc$offset() { + return part_pc$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * part_cntl_t part_pc + * } + */ + public static MemorySegment part_pc(MemorySegment struct) { + return struct.asSlice(part_pc$OFFSET, part_pc$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * part_cntl_t part_pc + * } + */ + public static void part_pc(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, part_pc$OFFSET, part_pc$LAYOUT.byteSize()); + } + + private static final GroupLayout pack_b$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("pack_b")); + + /** + * Layout for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_b + * } + */ + public static final GroupLayout pack_b$layout() { + return pack_b$LAYOUT; + } + + private static final long pack_b$OFFSET = $LAYOUT.byteOffset(groupElement("pack_b")); + + /** + * Offset for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_b + * } + */ + public static final long pack_b$offset() { + return pack_b$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_b + * } + */ + public static MemorySegment pack_b(MemorySegment struct) { + return struct.asSlice(pack_b$OFFSET, pack_b$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_b + * } + */ + public static void pack_b(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, pack_b$OFFSET, pack_b$LAYOUT.byteSize()); + } + + private static final GroupLayout part_ic$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("part_ic")); + + /** + * Layout for field: + * {@snippet lang=c : + * part_cntl_t part_ic + * } + */ + public static final GroupLayout part_ic$layout() { + return part_ic$LAYOUT; + } + + private static final long part_ic$OFFSET = $LAYOUT.byteOffset(groupElement("part_ic")); + + /** + * Offset for field: + * {@snippet lang=c : + * part_cntl_t part_ic + * } + */ + public static final long part_ic$offset() { + return part_ic$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * part_cntl_t part_ic + * } + */ + public static MemorySegment part_ic(MemorySegment struct) { + return struct.asSlice(part_ic$OFFSET, part_ic$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * part_cntl_t part_ic + * } + */ + public static void part_ic(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, part_ic$OFFSET, part_ic$LAYOUT.byteSize()); + } + + private static final GroupLayout pack_a_trsm$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("pack_a_trsm")); + + /** + * Layout for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a_trsm + * } + */ + public static final GroupLayout pack_a_trsm$layout() { + return pack_a_trsm$LAYOUT; + } + + private static final long pack_a_trsm$OFFSET = $LAYOUT.byteOffset(groupElement("pack_a_trsm")); + + /** + * Offset for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a_trsm + * } + */ + public static final long pack_a_trsm$offset() { + return pack_a_trsm$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a_trsm + * } + */ + public static MemorySegment pack_a_trsm(MemorySegment struct) { + return struct.asSlice(pack_a_trsm$OFFSET, pack_a_trsm$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a_trsm + * } + */ + public static void pack_a_trsm(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, pack_a_trsm$OFFSET, pack_a_trsm$LAYOUT.byteSize()); + } + + private static final GroupLayout trsm_ker$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("trsm_ker")); + + /** + * Layout for field: + * {@snippet lang=c : + * trsm_var_cntl_t trsm_ker + * } + */ + public static final GroupLayout trsm_ker$layout() { + return trsm_ker$LAYOUT; + } + + private static final long trsm_ker$OFFSET = $LAYOUT.byteOffset(groupElement("trsm_ker")); + + /** + * Offset for field: + * {@snippet lang=c : + * trsm_var_cntl_t trsm_ker + * } + */ + public static final long trsm_ker$offset() { + return trsm_ker$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * trsm_var_cntl_t trsm_ker + * } + */ + public static MemorySegment trsm_ker(MemorySegment struct) { + return struct.asSlice(trsm_ker$OFFSET, trsm_ker$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * trsm_var_cntl_t trsm_ker + * } + */ + public static void trsm_ker(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, trsm_ker$OFFSET, trsm_ker$LAYOUT.byteSize()); + } + + private static final GroupLayout pack_a_gemm$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("pack_a_gemm")); + + /** + * Layout for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a_gemm + * } + */ + public static final GroupLayout pack_a_gemm$layout() { + return pack_a_gemm$LAYOUT; + } + + private static final long pack_a_gemm$OFFSET = $LAYOUT.byteOffset(groupElement("pack_a_gemm")); + + /** + * Offset for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a_gemm + * } + */ + public static final long pack_a_gemm$offset() { + return pack_a_gemm$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a_gemm + * } + */ + public static MemorySegment pack_a_gemm(MemorySegment struct) { + return struct.asSlice(pack_a_gemm$OFFSET, pack_a_gemm$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * packm_def_cntl_t pack_a_gemm + * } + */ + public static void pack_a_gemm(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, pack_a_gemm$OFFSET, pack_a_gemm$LAYOUT.byteSize()); + } + + private static final GroupLayout gemm_ker$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("gemm_ker")); + + /** + * Layout for field: + * {@snippet lang=c : + * trsm_var_cntl_t gemm_ker + * } + */ + public static final GroupLayout gemm_ker$layout() { + return gemm_ker$LAYOUT; + } + + private static final long gemm_ker$OFFSET = $LAYOUT.byteOffset(groupElement("gemm_ker")); + + /** + * Offset for field: + * {@snippet lang=c : + * trsm_var_cntl_t gemm_ker + * } + */ + public static final long gemm_ker$offset() { + return gemm_ker$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * trsm_var_cntl_t gemm_ker + * } + */ + public static MemorySegment gemm_ker(MemorySegment struct) { + return struct.asSlice(gemm_ker$OFFSET, gemm_ker$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * trsm_var_cntl_t gemm_ker + * } + */ + public static void gemm_ker(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, gemm_ker$OFFSET, gemm_ker$LAYOUT.byteSize()); + } + + private static final GroupLayout ir_loop_gemm$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("ir_loop_gemm")); + + /** + * Layout for field: + * {@snippet lang=c : + * cntl_t ir_loop_gemm + * } + */ + public static final GroupLayout ir_loop_gemm$layout() { + return ir_loop_gemm$LAYOUT; + } + + private static final long ir_loop_gemm$OFFSET = $LAYOUT.byteOffset(groupElement("ir_loop_gemm")); + + /** + * Offset for field: + * {@snippet lang=c : + * cntl_t ir_loop_gemm + * } + */ + public static final long ir_loop_gemm$offset() { + return ir_loop_gemm$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * cntl_t ir_loop_gemm + * } + */ + public static MemorySegment ir_loop_gemm(MemorySegment struct) { + return struct.asSlice(ir_loop_gemm$OFFSET, ir_loop_gemm$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * cntl_t ir_loop_gemm + * } + */ + public static void ir_loop_gemm(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ir_loop_gemm$OFFSET, ir_loop_gemm$LAYOUT.byteSize()); + } + + private static final GroupLayout ir_loop_trsm$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("ir_loop_trsm")); + + /** + * Layout for field: + * {@snippet lang=c : + * cntl_t ir_loop_trsm + * } + */ + public static final GroupLayout ir_loop_trsm$layout() { + return ir_loop_trsm$LAYOUT; + } + + private static final long ir_loop_trsm$OFFSET = $LAYOUT.byteOffset(groupElement("ir_loop_trsm")); + + /** + * Offset for field: + * {@snippet lang=c : + * cntl_t ir_loop_trsm + * } + */ + public static final long ir_loop_trsm$offset() { + return ir_loop_trsm$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * cntl_t ir_loop_trsm + * } + */ + public static MemorySegment ir_loop_trsm(MemorySegment struct) { + return struct.asSlice(ir_loop_trsm$OFFSET, ir_loop_trsm$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * cntl_t ir_loop_trsm + * } + */ + public static void ir_loop_trsm(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ir_loop_trsm$OFFSET, ir_loop_trsm$LAYOUT.byteSize()); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/trsm_var_cntl_s.java b/generated/src/blis_typed/trsm_var_cntl_s.java new file mode 100644 index 00000000..99979d49 --- /dev/null +++ b/generated/src/blis_typed/trsm_var_cntl_s.java @@ -0,0 +1,424 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct trsm_var_cntl_s { + * gemm_var_cntl_t gemm; + * gemmtrsm_ukr_ft gemmtrsm_ukr; + * dim_t mr_pack; + * dim_t nr_pack; + * dim_t mr_bcast; + * dim_t nr_bcast; + * } + * } + */ +public class trsm_var_cntl_s { + + trsm_var_cntl_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + gemm_var_cntl_s.layout().withName("gemm"), + blis_h.C_POINTER.withName("gemmtrsm_ukr"), + blis_h.C_LONG_LONG.withName("mr_pack"), + blis_h.C_LONG_LONG.withName("nr_pack"), + blis_h.C_LONG_LONG.withName("mr_bcast"), + blis_h.C_LONG_LONG.withName("nr_bcast") + ).withName("trsm_var_cntl_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout gemm$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("gemm")); + + /** + * Layout for field: + * {@snippet lang=c : + * gemm_var_cntl_t gemm + * } + */ + public static final GroupLayout gemm$layout() { + return gemm$LAYOUT; + } + + private static final long gemm$OFFSET = $LAYOUT.byteOffset(groupElement("gemm")); + + /** + * Offset for field: + * {@snippet lang=c : + * gemm_var_cntl_t gemm + * } + */ + public static final long gemm$offset() { + return gemm$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * gemm_var_cntl_t gemm + * } + */ + public static MemorySegment gemm(MemorySegment struct) { + return struct.asSlice(gemm$OFFSET, gemm$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * gemm_var_cntl_t gemm + * } + */ + public static void gemm(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, gemm$OFFSET, gemm$LAYOUT.byteSize()); + } + + /** + * {@snippet lang=c : + * gemmtrsm_ukr_ft gemmtrsm_ukr + * } + */ + public final static class gemmtrsm_ukr { + + private gemmtrsm_ukr() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(long _x0, long _x1, long _x2, MemorySegment _x3, MemorySegment _x4, MemorySegment _x5, MemorySegment _x6, MemorySegment _x7, MemorySegment _x8, long _x9, long _x10, MemorySegment _x11, MemorySegment _x12); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_LONG_LONG, + blis_h.C_LONG_LONG, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(gemmtrsm_ukr.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(gemmtrsm_ukr.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, long _x0, long _x1, long _x2, MemorySegment _x3, MemorySegment _x4, MemorySegment _x5, MemorySegment _x6, MemorySegment _x7, MemorySegment _x8, long _x9, long _x10, MemorySegment _x11, MemorySegment _x12) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5, _x6, _x7, _x8, _x9, _x10, _x11, _x12); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout gemmtrsm_ukr$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("gemmtrsm_ukr")); + + /** + * Layout for field: + * {@snippet lang=c : + * gemmtrsm_ukr_ft gemmtrsm_ukr + * } + */ + public static final AddressLayout gemmtrsm_ukr$layout() { + return gemmtrsm_ukr$LAYOUT; + } + + private static final long gemmtrsm_ukr$OFFSET = $LAYOUT.byteOffset(groupElement("gemmtrsm_ukr")); + + /** + * Offset for field: + * {@snippet lang=c : + * gemmtrsm_ukr_ft gemmtrsm_ukr + * } + */ + public static final long gemmtrsm_ukr$offset() { + return gemmtrsm_ukr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * gemmtrsm_ukr_ft gemmtrsm_ukr + * } + */ + public static MemorySegment gemmtrsm_ukr(MemorySegment struct) { + return struct.get(gemmtrsm_ukr$LAYOUT, gemmtrsm_ukr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * gemmtrsm_ukr_ft gemmtrsm_ukr + * } + */ + public static void gemmtrsm_ukr(MemorySegment struct, MemorySegment fieldValue) { + struct.set(gemmtrsm_ukr$LAYOUT, gemmtrsm_ukr$OFFSET, fieldValue); + } + + private static final OfLong mr_pack$LAYOUT = (OfLong)$LAYOUT.select(groupElement("mr_pack")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t mr_pack + * } + */ + public static final OfLong mr_pack$layout() { + return mr_pack$LAYOUT; + } + + private static final long mr_pack$OFFSET = $LAYOUT.byteOffset(groupElement("mr_pack")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t mr_pack + * } + */ + public static final long mr_pack$offset() { + return mr_pack$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t mr_pack + * } + */ + public static long mr_pack(MemorySegment struct) { + return struct.get(mr_pack$LAYOUT, mr_pack$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t mr_pack + * } + */ + public static void mr_pack(MemorySegment struct, long fieldValue) { + struct.set(mr_pack$LAYOUT, mr_pack$OFFSET, fieldValue); + } + + private static final OfLong nr_pack$LAYOUT = (OfLong)$LAYOUT.select(groupElement("nr_pack")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t nr_pack + * } + */ + public static final OfLong nr_pack$layout() { + return nr_pack$LAYOUT; + } + + private static final long nr_pack$OFFSET = $LAYOUT.byteOffset(groupElement("nr_pack")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t nr_pack + * } + */ + public static final long nr_pack$offset() { + return nr_pack$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t nr_pack + * } + */ + public static long nr_pack(MemorySegment struct) { + return struct.get(nr_pack$LAYOUT, nr_pack$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t nr_pack + * } + */ + public static void nr_pack(MemorySegment struct, long fieldValue) { + struct.set(nr_pack$LAYOUT, nr_pack$OFFSET, fieldValue); + } + + private static final OfLong mr_bcast$LAYOUT = (OfLong)$LAYOUT.select(groupElement("mr_bcast")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t mr_bcast + * } + */ + public static final OfLong mr_bcast$layout() { + return mr_bcast$LAYOUT; + } + + private static final long mr_bcast$OFFSET = $LAYOUT.byteOffset(groupElement("mr_bcast")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t mr_bcast + * } + */ + public static final long mr_bcast$offset() { + return mr_bcast$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t mr_bcast + * } + */ + public static long mr_bcast(MemorySegment struct) { + return struct.get(mr_bcast$LAYOUT, mr_bcast$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t mr_bcast + * } + */ + public static void mr_bcast(MemorySegment struct, long fieldValue) { + struct.set(mr_bcast$LAYOUT, mr_bcast$OFFSET, fieldValue); + } + + private static final OfLong nr_bcast$LAYOUT = (OfLong)$LAYOUT.select(groupElement("nr_bcast")); + + /** + * Layout for field: + * {@snippet lang=c : + * dim_t nr_bcast + * } + */ + public static final OfLong nr_bcast$layout() { + return nr_bcast$LAYOUT; + } + + private static final long nr_bcast$OFFSET = $LAYOUT.byteOffset(groupElement("nr_bcast")); + + /** + * Offset for field: + * {@snippet lang=c : + * dim_t nr_bcast + * } + */ + public static final long nr_bcast$offset() { + return nr_bcast$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * dim_t nr_bcast + * } + */ + public static long nr_bcast(MemorySegment struct) { + return struct.get(nr_bcast$LAYOUT, nr_bcast$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * dim_t nr_bcast + * } + */ + public static void nr_bcast(MemorySegment struct, long fieldValue) { + struct.set(nr_bcast$LAYOUT, nr_bcast$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/blis_typed/unpackm_cntl_s.java b/generated/src/blis_typed/unpackm_cntl_s.java new file mode 100644 index 00000000..0b7e9700 --- /dev/null +++ b/generated/src/blis_typed/unpackm_cntl_s.java @@ -0,0 +1,232 @@ +// Generated by jextract + +package blis_typed; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct unpackm_cntl_s { + * cntl_t cntl; + * unpackm_var_oft var_func; + * } + * } + */ +public class unpackm_cntl_s { + + unpackm_cntl_s() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + cntl_s.layout().withName("cntl"), + blis_h.C_POINTER.withName("var_func") + ).withName("unpackm_cntl_s"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout cntl$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("cntl")); + + /** + * Layout for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static final GroupLayout cntl$layout() { + return cntl$LAYOUT; + } + + private static final long cntl$OFFSET = $LAYOUT.byteOffset(groupElement("cntl")); + + /** + * Offset for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static final long cntl$offset() { + return cntl$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static MemorySegment cntl(MemorySegment struct) { + return struct.asSlice(cntl$OFFSET, cntl$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * cntl_t cntl + * } + */ + public static void cntl(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, cntl$OFFSET, cntl$LAYOUT.byteSize()); + } + + /** + * {@snippet lang=c : + * unpackm_var_oft var_func + * } + */ + public final static class var_func { + + private var_func() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, MemorySegment _x4); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER, + blis_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = blis_h.upcallHandle(var_func.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(var_func.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, MemorySegment _x4) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout var_func$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("var_func")); + + /** + * Layout for field: + * {@snippet lang=c : + * unpackm_var_oft var_func + * } + */ + public static final AddressLayout var_func$layout() { + return var_func$LAYOUT; + } + + private static final long var_func$OFFSET = $LAYOUT.byteOffset(groupElement("var_func")); + + /** + * Offset for field: + * {@snippet lang=c : + * unpackm_var_oft var_func + * } + */ + public static final long var_func$offset() { + return var_func$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * unpackm_var_oft var_func + * } + */ + public static MemorySegment var_func(MemorySegment struct) { + return struct.get(var_func$LAYOUT, var_func$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * unpackm_var_oft var_func + * } + */ + public static void var_func(MemorySegment struct, MemorySegment fieldValue) { + struct.set(var_func$LAYOUT, var_func$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/FILE.java b/generated/src/mlx/FILE.java new file mode 100644 index 00000000..62e287da --- /dev/null +++ b/generated/src/mlx/FILE.java @@ -0,0 +1,47 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct __sFILE { + * unsigned char *_p; + * int _r; + * int _w; + * short _flags; + * short _file; + * struct __sbuf _bf; + * int _lbfsize; + * void *_cookie; + * int (* _Nullable _close)(void *); + * int (* _Nullable _read)(void *, char *, int); + * fpos_t (* _Nullable _seek)(void *, fpos_t, int); + * int (* _Nullable _write)(void *, const char *, int); + * struct __sbuf _ub; + * struct __sFILEX *_extra; + * int _ur; + * unsigned char _ubuf[3]; + * unsigned char _nbuf[1]; + * struct __sbuf _lb; + * int _blksize; + * fpos_t _offset; + * } FILE + * } + */ +public class FILE extends __sFILE { + + FILE() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/__arm_legacy_debug_state.java b/generated/src/mlx/__arm_legacy_debug_state.java new file mode 100644 index 00000000..001cfa07 --- /dev/null +++ b/generated/src/mlx/__arm_legacy_debug_state.java @@ -0,0 +1,397 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __arm_legacy_debug_state { + * __uint32_t __bvr[16]; + * __uint32_t __bcr[16]; + * __uint32_t __wvr[16]; + * __uint32_t __wcr[16]; + * } + * } + */ +public class __arm_legacy_debug_state { + + __arm_legacy_debug_state() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, mlx_h.C_INT).withName("__bvr"), + MemoryLayout.sequenceLayout(16, mlx_h.C_INT).withName("__bcr"), + MemoryLayout.sequenceLayout(16, mlx_h.C_INT).withName("__wvr"), + MemoryLayout.sequenceLayout(16, mlx_h.C_INT).withName("__wcr") + ).withName("__arm_legacy_debug_state"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __bvr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__bvr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static final SequenceLayout __bvr$layout() { + return __bvr$LAYOUT; + } + + private static final long __bvr$OFFSET = $LAYOUT.byteOffset(groupElement("__bvr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static final long __bvr$offset() { + return __bvr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static MemorySegment __bvr(MemorySegment struct) { + return struct.asSlice(__bvr$OFFSET, __bvr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static void __bvr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __bvr$OFFSET, __bvr$LAYOUT.byteSize()); + } + + private static long[] __bvr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static long[] __bvr$dimensions() { + return __bvr$DIMS; + } + private static final VarHandle __bvr$ELEM_HANDLE = __bvr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static int __bvr(MemorySegment struct, long index0) { + return (int)__bvr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static void __bvr(MemorySegment struct, long index0, int fieldValue) { + __bvr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout __bcr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__bcr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static final SequenceLayout __bcr$layout() { + return __bcr$LAYOUT; + } + + private static final long __bcr$OFFSET = $LAYOUT.byteOffset(groupElement("__bcr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static final long __bcr$offset() { + return __bcr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static MemorySegment __bcr(MemorySegment struct) { + return struct.asSlice(__bcr$OFFSET, __bcr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static void __bcr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __bcr$OFFSET, __bcr$LAYOUT.byteSize()); + } + + private static long[] __bcr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static long[] __bcr$dimensions() { + return __bcr$DIMS; + } + private static final VarHandle __bcr$ELEM_HANDLE = __bcr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static int __bcr(MemorySegment struct, long index0) { + return (int)__bcr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static void __bcr(MemorySegment struct, long index0, int fieldValue) { + __bcr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout __wvr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__wvr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static final SequenceLayout __wvr$layout() { + return __wvr$LAYOUT; + } + + private static final long __wvr$OFFSET = $LAYOUT.byteOffset(groupElement("__wvr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static final long __wvr$offset() { + return __wvr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static MemorySegment __wvr(MemorySegment struct) { + return struct.asSlice(__wvr$OFFSET, __wvr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static void __wvr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __wvr$OFFSET, __wvr$LAYOUT.byteSize()); + } + + private static long[] __wvr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static long[] __wvr$dimensions() { + return __wvr$DIMS; + } + private static final VarHandle __wvr$ELEM_HANDLE = __wvr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static int __wvr(MemorySegment struct, long index0) { + return (int)__wvr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static void __wvr(MemorySegment struct, long index0, int fieldValue) { + __wvr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout __wcr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__wcr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static final SequenceLayout __wcr$layout() { + return __wcr$LAYOUT; + } + + private static final long __wcr$OFFSET = $LAYOUT.byteOffset(groupElement("__wcr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static final long __wcr$offset() { + return __wcr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static MemorySegment __wcr(MemorySegment struct) { + return struct.asSlice(__wcr$OFFSET, __wcr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static void __wcr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __wcr$OFFSET, __wcr$LAYOUT.byteSize()); + } + + private static long[] __wcr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static long[] __wcr$dimensions() { + return __wcr$DIMS; + } + private static final VarHandle __wcr$ELEM_HANDLE = __wcr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static int __wcr(MemorySegment struct, long index0) { + return (int)__wcr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static void __wcr(MemorySegment struct, long index0, int fieldValue) { + __wcr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__arm_pagein_state.java b/generated/src/mlx/__arm_pagein_state.java new file mode 100644 index 00000000..2542fd7e --- /dev/null +++ b/generated/src/mlx/__arm_pagein_state.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __arm_pagein_state { + * int __pagein_error; + * } + * } + */ +public class __arm_pagein_state { + + __arm_pagein_state() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_INT.withName("__pagein_error") + ).withName("__arm_pagein_state"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt __pagein_error$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__pagein_error")); + + /** + * Layout for field: + * {@snippet lang=c : + * int __pagein_error + * } + */ + public static final OfInt __pagein_error$layout() { + return __pagein_error$LAYOUT; + } + + private static final long __pagein_error$OFFSET = $LAYOUT.byteOffset(groupElement("__pagein_error")); + + /** + * Offset for field: + * {@snippet lang=c : + * int __pagein_error + * } + */ + public static final long __pagein_error$offset() { + return __pagein_error$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int __pagein_error + * } + */ + public static int __pagein_error(MemorySegment struct) { + return struct.get(__pagein_error$LAYOUT, __pagein_error$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int __pagein_error + * } + */ + public static void __pagein_error(MemorySegment struct, int fieldValue) { + struct.set(__pagein_error$LAYOUT, __pagein_error$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_cpmu_state64.java b/generated/src/mlx/__darwin_arm_cpmu_state64.java new file mode 100644 index 00000000..0c4348b7 --- /dev/null +++ b/generated/src/mlx/__darwin_arm_cpmu_state64.java @@ -0,0 +1,160 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_cpmu_state64 { + * __uint64_t __ctrs[16]; + * } + * } + */ +public class __darwin_arm_cpmu_state64 { + + __darwin_arm_cpmu_state64() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, mlx_h.C_LONG_LONG).withName("__ctrs") + ).withName("__darwin_arm_cpmu_state64"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __ctrs$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__ctrs")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __ctrs[16] + * } + */ + public static final SequenceLayout __ctrs$layout() { + return __ctrs$LAYOUT; + } + + private static final long __ctrs$OFFSET = $LAYOUT.byteOffset(groupElement("__ctrs")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __ctrs[16] + * } + */ + public static final long __ctrs$offset() { + return __ctrs$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __ctrs[16] + * } + */ + public static MemorySegment __ctrs(MemorySegment struct) { + return struct.asSlice(__ctrs$OFFSET, __ctrs$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __ctrs[16] + * } + */ + public static void __ctrs(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __ctrs$OFFSET, __ctrs$LAYOUT.byteSize()); + } + + private static long[] __ctrs$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint64_t __ctrs[16] + * } + */ + public static long[] __ctrs$dimensions() { + return __ctrs$DIMS; + } + private static final VarHandle __ctrs$ELEM_HANDLE = __ctrs$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint64_t __ctrs[16] + * } + */ + public static long __ctrs(MemorySegment struct, long index0) { + return (long)__ctrs$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint64_t __ctrs[16] + * } + */ + public static void __ctrs(MemorySegment struct, long index0, long fieldValue) { + __ctrs$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_debug_state32.java b/generated/src/mlx/__darwin_arm_debug_state32.java new file mode 100644 index 00000000..db0e74ee --- /dev/null +++ b/generated/src/mlx/__darwin_arm_debug_state32.java @@ -0,0 +1,443 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_debug_state32 { + * __uint32_t __bvr[16]; + * __uint32_t __bcr[16]; + * __uint32_t __wvr[16]; + * __uint32_t __wcr[16]; + * __uint64_t __mdscr_el1; + * } + * } + */ +public class __darwin_arm_debug_state32 { + + __darwin_arm_debug_state32() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, mlx_h.C_INT).withName("__bvr"), + MemoryLayout.sequenceLayout(16, mlx_h.C_INT).withName("__bcr"), + MemoryLayout.sequenceLayout(16, mlx_h.C_INT).withName("__wvr"), + MemoryLayout.sequenceLayout(16, mlx_h.C_INT).withName("__wcr"), + mlx_h.C_LONG_LONG.withName("__mdscr_el1") + ).withName("__darwin_arm_debug_state32"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __bvr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__bvr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static final SequenceLayout __bvr$layout() { + return __bvr$LAYOUT; + } + + private static final long __bvr$OFFSET = $LAYOUT.byteOffset(groupElement("__bvr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static final long __bvr$offset() { + return __bvr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static MemorySegment __bvr(MemorySegment struct) { + return struct.asSlice(__bvr$OFFSET, __bvr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static void __bvr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __bvr$OFFSET, __bvr$LAYOUT.byteSize()); + } + + private static long[] __bvr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static long[] __bvr$dimensions() { + return __bvr$DIMS; + } + private static final VarHandle __bvr$ELEM_HANDLE = __bvr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static int __bvr(MemorySegment struct, long index0) { + return (int)__bvr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint32_t __bvr[16] + * } + */ + public static void __bvr(MemorySegment struct, long index0, int fieldValue) { + __bvr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout __bcr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__bcr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static final SequenceLayout __bcr$layout() { + return __bcr$LAYOUT; + } + + private static final long __bcr$OFFSET = $LAYOUT.byteOffset(groupElement("__bcr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static final long __bcr$offset() { + return __bcr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static MemorySegment __bcr(MemorySegment struct) { + return struct.asSlice(__bcr$OFFSET, __bcr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static void __bcr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __bcr$OFFSET, __bcr$LAYOUT.byteSize()); + } + + private static long[] __bcr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static long[] __bcr$dimensions() { + return __bcr$DIMS; + } + private static final VarHandle __bcr$ELEM_HANDLE = __bcr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static int __bcr(MemorySegment struct, long index0) { + return (int)__bcr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint32_t __bcr[16] + * } + */ + public static void __bcr(MemorySegment struct, long index0, int fieldValue) { + __bcr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout __wvr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__wvr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static final SequenceLayout __wvr$layout() { + return __wvr$LAYOUT; + } + + private static final long __wvr$OFFSET = $LAYOUT.byteOffset(groupElement("__wvr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static final long __wvr$offset() { + return __wvr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static MemorySegment __wvr(MemorySegment struct) { + return struct.asSlice(__wvr$OFFSET, __wvr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static void __wvr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __wvr$OFFSET, __wvr$LAYOUT.byteSize()); + } + + private static long[] __wvr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static long[] __wvr$dimensions() { + return __wvr$DIMS; + } + private static final VarHandle __wvr$ELEM_HANDLE = __wvr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static int __wvr(MemorySegment struct, long index0) { + return (int)__wvr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint32_t __wvr[16] + * } + */ + public static void __wvr(MemorySegment struct, long index0, int fieldValue) { + __wvr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout __wcr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__wcr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static final SequenceLayout __wcr$layout() { + return __wcr$LAYOUT; + } + + private static final long __wcr$OFFSET = $LAYOUT.byteOffset(groupElement("__wcr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static final long __wcr$offset() { + return __wcr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static MemorySegment __wcr(MemorySegment struct) { + return struct.asSlice(__wcr$OFFSET, __wcr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static void __wcr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __wcr$OFFSET, __wcr$LAYOUT.byteSize()); + } + + private static long[] __wcr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static long[] __wcr$dimensions() { + return __wcr$DIMS; + } + private static final VarHandle __wcr$ELEM_HANDLE = __wcr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static int __wcr(MemorySegment struct, long index0) { + return (int)__wcr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint32_t __wcr[16] + * } + */ + public static void __wcr(MemorySegment struct, long index0, int fieldValue) { + __wcr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong __mdscr_el1$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__mdscr_el1")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __mdscr_el1 + * } + */ + public static final OfLong __mdscr_el1$layout() { + return __mdscr_el1$LAYOUT; + } + + private static final long __mdscr_el1$OFFSET = $LAYOUT.byteOffset(groupElement("__mdscr_el1")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __mdscr_el1 + * } + */ + public static final long __mdscr_el1$offset() { + return __mdscr_el1$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __mdscr_el1 + * } + */ + public static long __mdscr_el1(MemorySegment struct) { + return struct.get(__mdscr_el1$LAYOUT, __mdscr_el1$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __mdscr_el1 + * } + */ + public static void __mdscr_el1(MemorySegment struct, long fieldValue) { + struct.set(__mdscr_el1$LAYOUT, __mdscr_el1$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_debug_state64.java b/generated/src/mlx/__darwin_arm_debug_state64.java new file mode 100644 index 00000000..69156de7 --- /dev/null +++ b/generated/src/mlx/__darwin_arm_debug_state64.java @@ -0,0 +1,443 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_debug_state64 { + * __uint64_t __bvr[16]; + * __uint64_t __bcr[16]; + * __uint64_t __wvr[16]; + * __uint64_t __wcr[16]; + * __uint64_t __mdscr_el1; + * } + * } + */ +public class __darwin_arm_debug_state64 { + + __darwin_arm_debug_state64() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, mlx_h.C_LONG_LONG).withName("__bvr"), + MemoryLayout.sequenceLayout(16, mlx_h.C_LONG_LONG).withName("__bcr"), + MemoryLayout.sequenceLayout(16, mlx_h.C_LONG_LONG).withName("__wvr"), + MemoryLayout.sequenceLayout(16, mlx_h.C_LONG_LONG).withName("__wcr"), + mlx_h.C_LONG_LONG.withName("__mdscr_el1") + ).withName("__darwin_arm_debug_state64"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __bvr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__bvr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __bvr[16] + * } + */ + public static final SequenceLayout __bvr$layout() { + return __bvr$LAYOUT; + } + + private static final long __bvr$OFFSET = $LAYOUT.byteOffset(groupElement("__bvr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __bvr[16] + * } + */ + public static final long __bvr$offset() { + return __bvr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __bvr[16] + * } + */ + public static MemorySegment __bvr(MemorySegment struct) { + return struct.asSlice(__bvr$OFFSET, __bvr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __bvr[16] + * } + */ + public static void __bvr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __bvr$OFFSET, __bvr$LAYOUT.byteSize()); + } + + private static long[] __bvr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint64_t __bvr[16] + * } + */ + public static long[] __bvr$dimensions() { + return __bvr$DIMS; + } + private static final VarHandle __bvr$ELEM_HANDLE = __bvr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint64_t __bvr[16] + * } + */ + public static long __bvr(MemorySegment struct, long index0) { + return (long)__bvr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint64_t __bvr[16] + * } + */ + public static void __bvr(MemorySegment struct, long index0, long fieldValue) { + __bvr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout __bcr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__bcr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __bcr[16] + * } + */ + public static final SequenceLayout __bcr$layout() { + return __bcr$LAYOUT; + } + + private static final long __bcr$OFFSET = $LAYOUT.byteOffset(groupElement("__bcr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __bcr[16] + * } + */ + public static final long __bcr$offset() { + return __bcr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __bcr[16] + * } + */ + public static MemorySegment __bcr(MemorySegment struct) { + return struct.asSlice(__bcr$OFFSET, __bcr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __bcr[16] + * } + */ + public static void __bcr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __bcr$OFFSET, __bcr$LAYOUT.byteSize()); + } + + private static long[] __bcr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint64_t __bcr[16] + * } + */ + public static long[] __bcr$dimensions() { + return __bcr$DIMS; + } + private static final VarHandle __bcr$ELEM_HANDLE = __bcr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint64_t __bcr[16] + * } + */ + public static long __bcr(MemorySegment struct, long index0) { + return (long)__bcr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint64_t __bcr[16] + * } + */ + public static void __bcr(MemorySegment struct, long index0, long fieldValue) { + __bcr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout __wvr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__wvr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __wvr[16] + * } + */ + public static final SequenceLayout __wvr$layout() { + return __wvr$LAYOUT; + } + + private static final long __wvr$OFFSET = $LAYOUT.byteOffset(groupElement("__wvr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __wvr[16] + * } + */ + public static final long __wvr$offset() { + return __wvr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __wvr[16] + * } + */ + public static MemorySegment __wvr(MemorySegment struct) { + return struct.asSlice(__wvr$OFFSET, __wvr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __wvr[16] + * } + */ + public static void __wvr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __wvr$OFFSET, __wvr$LAYOUT.byteSize()); + } + + private static long[] __wvr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint64_t __wvr[16] + * } + */ + public static long[] __wvr$dimensions() { + return __wvr$DIMS; + } + private static final VarHandle __wvr$ELEM_HANDLE = __wvr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint64_t __wvr[16] + * } + */ + public static long __wvr(MemorySegment struct, long index0) { + return (long)__wvr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint64_t __wvr[16] + * } + */ + public static void __wvr(MemorySegment struct, long index0, long fieldValue) { + __wvr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout __wcr$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__wcr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __wcr[16] + * } + */ + public static final SequenceLayout __wcr$layout() { + return __wcr$LAYOUT; + } + + private static final long __wcr$OFFSET = $LAYOUT.byteOffset(groupElement("__wcr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __wcr[16] + * } + */ + public static final long __wcr$offset() { + return __wcr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __wcr[16] + * } + */ + public static MemorySegment __wcr(MemorySegment struct) { + return struct.asSlice(__wcr$OFFSET, __wcr$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __wcr[16] + * } + */ + public static void __wcr(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __wcr$OFFSET, __wcr$LAYOUT.byteSize()); + } + + private static long[] __wcr$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint64_t __wcr[16] + * } + */ + public static long[] __wcr$dimensions() { + return __wcr$DIMS; + } + private static final VarHandle __wcr$ELEM_HANDLE = __wcr$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint64_t __wcr[16] + * } + */ + public static long __wcr(MemorySegment struct, long index0) { + return (long)__wcr$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint64_t __wcr[16] + * } + */ + public static void __wcr(MemorySegment struct, long index0, long fieldValue) { + __wcr$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong __mdscr_el1$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__mdscr_el1")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __mdscr_el1 + * } + */ + public static final OfLong __mdscr_el1$layout() { + return __mdscr_el1$LAYOUT; + } + + private static final long __mdscr_el1$OFFSET = $LAYOUT.byteOffset(groupElement("__mdscr_el1")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __mdscr_el1 + * } + */ + public static final long __mdscr_el1$offset() { + return __mdscr_el1$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __mdscr_el1 + * } + */ + public static long __mdscr_el1(MemorySegment struct) { + return struct.get(__mdscr_el1$LAYOUT, __mdscr_el1$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __mdscr_el1 + * } + */ + public static void __mdscr_el1(MemorySegment struct, long fieldValue) { + struct.set(__mdscr_el1$LAYOUT, __mdscr_el1$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_exception_state.java b/generated/src/mlx/__darwin_arm_exception_state.java new file mode 100644 index 00000000..10c9fda6 --- /dev/null +++ b/generated/src/mlx/__darwin_arm_exception_state.java @@ -0,0 +1,219 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_exception_state { + * __uint32_t __exception; + * __uint32_t __fsr; + * __uint32_t __far; + * } + * } + */ +public class __darwin_arm_exception_state { + + __darwin_arm_exception_state() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_INT.withName("__exception"), + mlx_h.C_INT.withName("__fsr"), + mlx_h.C_INT.withName("__far") + ).withName("__darwin_arm_exception_state"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt __exception$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__exception")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __exception + * } + */ + public static final OfInt __exception$layout() { + return __exception$LAYOUT; + } + + private static final long __exception$OFFSET = $LAYOUT.byteOffset(groupElement("__exception")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __exception + * } + */ + public static final long __exception$offset() { + return __exception$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __exception + * } + */ + public static int __exception(MemorySegment struct) { + return struct.get(__exception$LAYOUT, __exception$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __exception + * } + */ + public static void __exception(MemorySegment struct, int fieldValue) { + struct.set(__exception$LAYOUT, __exception$OFFSET, fieldValue); + } + + private static final OfInt __fsr$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__fsr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __fsr + * } + */ + public static final OfInt __fsr$layout() { + return __fsr$LAYOUT; + } + + private static final long __fsr$OFFSET = $LAYOUT.byteOffset(groupElement("__fsr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __fsr + * } + */ + public static final long __fsr$offset() { + return __fsr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __fsr + * } + */ + public static int __fsr(MemorySegment struct) { + return struct.get(__fsr$LAYOUT, __fsr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __fsr + * } + */ + public static void __fsr(MemorySegment struct, int fieldValue) { + struct.set(__fsr$LAYOUT, __fsr$OFFSET, fieldValue); + } + + private static final OfInt __far$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__far")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __far + * } + */ + public static final OfInt __far$layout() { + return __far$LAYOUT; + } + + private static final long __far$OFFSET = $LAYOUT.byteOffset(groupElement("__far")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __far + * } + */ + public static final long __far$offset() { + return __far$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __far + * } + */ + public static int __far(MemorySegment struct) { + return struct.get(__far$LAYOUT, __far$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __far + * } + */ + public static void __far(MemorySegment struct, int fieldValue) { + struct.set(__far$LAYOUT, __far$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_exception_state64.java b/generated/src/mlx/__darwin_arm_exception_state64.java new file mode 100644 index 00000000..b9e571dd --- /dev/null +++ b/generated/src/mlx/__darwin_arm_exception_state64.java @@ -0,0 +1,219 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_exception_state64 { + * __uint64_t __far; + * __uint32_t __esr; + * __uint32_t __exception; + * } + * } + */ +public class __darwin_arm_exception_state64 { + + __darwin_arm_exception_state64() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG_LONG.withName("__far"), + mlx_h.C_INT.withName("__esr"), + mlx_h.C_INT.withName("__exception") + ).withName("__darwin_arm_exception_state64"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __far$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__far")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __far + * } + */ + public static final OfLong __far$layout() { + return __far$LAYOUT; + } + + private static final long __far$OFFSET = $LAYOUT.byteOffset(groupElement("__far")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __far + * } + */ + public static final long __far$offset() { + return __far$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __far + * } + */ + public static long __far(MemorySegment struct) { + return struct.get(__far$LAYOUT, __far$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __far + * } + */ + public static void __far(MemorySegment struct, long fieldValue) { + struct.set(__far$LAYOUT, __far$OFFSET, fieldValue); + } + + private static final OfInt __esr$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__esr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __esr + * } + */ + public static final OfInt __esr$layout() { + return __esr$LAYOUT; + } + + private static final long __esr$OFFSET = $LAYOUT.byteOffset(groupElement("__esr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __esr + * } + */ + public static final long __esr$offset() { + return __esr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __esr + * } + */ + public static int __esr(MemorySegment struct) { + return struct.get(__esr$LAYOUT, __esr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __esr + * } + */ + public static void __esr(MemorySegment struct, int fieldValue) { + struct.set(__esr$LAYOUT, __esr$OFFSET, fieldValue); + } + + private static final OfInt __exception$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__exception")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __exception + * } + */ + public static final OfInt __exception$layout() { + return __exception$LAYOUT; + } + + private static final long __exception$OFFSET = $LAYOUT.byteOffset(groupElement("__exception")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __exception + * } + */ + public static final long __exception$offset() { + return __exception$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __exception + * } + */ + public static int __exception(MemorySegment struct) { + return struct.get(__exception$LAYOUT, __exception$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __exception + * } + */ + public static void __exception(MemorySegment struct, int fieldValue) { + struct.set(__exception$LAYOUT, __exception$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_exception_state64_v2.java b/generated/src/mlx/__darwin_arm_exception_state64_v2.java new file mode 100644 index 00000000..906fa690 --- /dev/null +++ b/generated/src/mlx/__darwin_arm_exception_state64_v2.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_exception_state64_v2 { + * __uint64_t __far; + * __uint64_t __esr; + * } + * } + */ +public class __darwin_arm_exception_state64_v2 { + + __darwin_arm_exception_state64_v2() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG_LONG.withName("__far"), + mlx_h.C_LONG_LONG.withName("__esr") + ).withName("__darwin_arm_exception_state64_v2"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __far$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__far")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __far + * } + */ + public static final OfLong __far$layout() { + return __far$LAYOUT; + } + + private static final long __far$OFFSET = $LAYOUT.byteOffset(groupElement("__far")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __far + * } + */ + public static final long __far$offset() { + return __far$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __far + * } + */ + public static long __far(MemorySegment struct) { + return struct.get(__far$LAYOUT, __far$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __far + * } + */ + public static void __far(MemorySegment struct, long fieldValue) { + struct.set(__far$LAYOUT, __far$OFFSET, fieldValue); + } + + private static final OfLong __esr$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__esr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __esr + * } + */ + public static final OfLong __esr$layout() { + return __esr$LAYOUT; + } + + private static final long __esr$OFFSET = $LAYOUT.byteOffset(groupElement("__esr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __esr + * } + */ + public static final long __esr$offset() { + return __esr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __esr + * } + */ + public static long __esr(MemorySegment struct) { + return struct.get(__esr$LAYOUT, __esr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __esr + * } + */ + public static void __esr(MemorySegment struct, long fieldValue) { + struct.set(__esr$LAYOUT, __esr$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_neon_state.java b/generated/src/mlx/__darwin_arm_neon_state.java new file mode 100644 index 00000000..46b81f26 --- /dev/null +++ b/generated/src/mlx/__darwin_arm_neon_state.java @@ -0,0 +1,176 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_neon_state { + * __uint128_t __v[16]; + * __uint32_t __fpsr; + * __uint32_t __fpcr; + * } + * } + */ +public class __darwin_arm_neon_state { + + __darwin_arm_neon_state() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.paddingLayout(256), + mlx_h.C_INT.withName("__fpsr"), + mlx_h.C_INT.withName("__fpcr"), + MemoryLayout.paddingLayout(8) + ).withName("__darwin_arm_neon_state"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt __fpsr$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__fpsr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __fpsr + * } + */ + public static final OfInt __fpsr$layout() { + return __fpsr$LAYOUT; + } + + private static final long __fpsr$OFFSET = $LAYOUT.byteOffset(groupElement("__fpsr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __fpsr + * } + */ + public static final long __fpsr$offset() { + return __fpsr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __fpsr + * } + */ + public static int __fpsr(MemorySegment struct) { + return struct.get(__fpsr$LAYOUT, __fpsr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __fpsr + * } + */ + public static void __fpsr(MemorySegment struct, int fieldValue) { + struct.set(__fpsr$LAYOUT, __fpsr$OFFSET, fieldValue); + } + + private static final OfInt __fpcr$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__fpcr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __fpcr + * } + */ + public static final OfInt __fpcr$layout() { + return __fpcr$LAYOUT; + } + + private static final long __fpcr$OFFSET = $LAYOUT.byteOffset(groupElement("__fpcr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __fpcr + * } + */ + public static final long __fpcr$offset() { + return __fpcr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __fpcr + * } + */ + public static int __fpcr(MemorySegment struct) { + return struct.get(__fpcr$LAYOUT, __fpcr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __fpcr + * } + */ + public static void __fpcr(MemorySegment struct, int fieldValue) { + struct.set(__fpcr$LAYOUT, __fpcr$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_neon_state64.java b/generated/src/mlx/__darwin_arm_neon_state64.java new file mode 100644 index 00000000..a30b13e4 --- /dev/null +++ b/generated/src/mlx/__darwin_arm_neon_state64.java @@ -0,0 +1,176 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_neon_state64 { + * __uint128_t __v[32]; + * __uint32_t __fpsr; + * __uint32_t __fpcr; + * } + * } + */ +public class __darwin_arm_neon_state64 { + + __darwin_arm_neon_state64() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.paddingLayout(512), + mlx_h.C_INT.withName("__fpsr"), + mlx_h.C_INT.withName("__fpcr"), + MemoryLayout.paddingLayout(8) + ).withName("__darwin_arm_neon_state64"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt __fpsr$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__fpsr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __fpsr + * } + */ + public static final OfInt __fpsr$layout() { + return __fpsr$LAYOUT; + } + + private static final long __fpsr$OFFSET = $LAYOUT.byteOffset(groupElement("__fpsr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __fpsr + * } + */ + public static final long __fpsr$offset() { + return __fpsr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __fpsr + * } + */ + public static int __fpsr(MemorySegment struct) { + return struct.get(__fpsr$LAYOUT, __fpsr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __fpsr + * } + */ + public static void __fpsr(MemorySegment struct, int fieldValue) { + struct.set(__fpsr$LAYOUT, __fpsr$OFFSET, fieldValue); + } + + private static final OfInt __fpcr$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__fpcr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __fpcr + * } + */ + public static final OfInt __fpcr$layout() { + return __fpcr$LAYOUT; + } + + private static final long __fpcr$OFFSET = $LAYOUT.byteOffset(groupElement("__fpcr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __fpcr + * } + */ + public static final long __fpcr$offset() { + return __fpcr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __fpcr + * } + */ + public static int __fpcr(MemorySegment struct) { + return struct.get(__fpcr$LAYOUT, __fpcr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __fpcr + * } + */ + public static void __fpcr(MemorySegment struct, int fieldValue) { + struct.set(__fpcr$LAYOUT, __fpcr$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_sme2_state.java b/generated/src/mlx/__darwin_arm_sme2_state.java new file mode 100644 index 00000000..abaa1ca3 --- /dev/null +++ b/generated/src/mlx/__darwin_arm_sme2_state.java @@ -0,0 +1,160 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_sme2_state { + * char __zt0[64]; + * } + * } + */ +public class __darwin_arm_sme2_state { + + __darwin_arm_sme2_state() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(64, mlx_h.C_CHAR).withName("__zt0") + ).withName("__darwin_arm_sme2_state"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __zt0$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__zt0")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __zt0[64] + * } + */ + public static final SequenceLayout __zt0$layout() { + return __zt0$LAYOUT; + } + + private static final long __zt0$OFFSET = $LAYOUT.byteOffset(groupElement("__zt0")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __zt0[64] + * } + */ + public static final long __zt0$offset() { + return __zt0$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __zt0[64] + * } + */ + public static MemorySegment __zt0(MemorySegment struct) { + return struct.asSlice(__zt0$OFFSET, __zt0$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __zt0[64] + * } + */ + public static void __zt0(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __zt0$OFFSET, __zt0$LAYOUT.byteSize()); + } + + private static long[] __zt0$DIMS = { 64 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __zt0[64] + * } + */ + public static long[] __zt0$dimensions() { + return __zt0$DIMS; + } + private static final VarHandle __zt0$ELEM_HANDLE = __zt0$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __zt0[64] + * } + */ + public static byte __zt0(MemorySegment struct, long index0) { + return (byte)__zt0$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __zt0[64] + * } + */ + public static void __zt0(MemorySegment struct, long index0, byte fieldValue) { + __zt0$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_sme_state.java b/generated/src/mlx/__darwin_arm_sme_state.java new file mode 100644 index 00000000..adb83b54 --- /dev/null +++ b/generated/src/mlx/__darwin_arm_sme_state.java @@ -0,0 +1,220 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_sme_state { + * __uint64_t __svcr; + * __uint64_t __tpidr2_el0; + * __uint16_t __svl_b; + * } + * } + */ +public class __darwin_arm_sme_state { + + __darwin_arm_sme_state() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG_LONG.withName("__svcr"), + mlx_h.C_LONG_LONG.withName("__tpidr2_el0"), + mlx_h.C_SHORT.withName("__svl_b"), + MemoryLayout.paddingLayout(6) + ).withName("__darwin_arm_sme_state"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __svcr$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__svcr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __svcr + * } + */ + public static final OfLong __svcr$layout() { + return __svcr$LAYOUT; + } + + private static final long __svcr$OFFSET = $LAYOUT.byteOffset(groupElement("__svcr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __svcr + * } + */ + public static final long __svcr$offset() { + return __svcr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __svcr + * } + */ + public static long __svcr(MemorySegment struct) { + return struct.get(__svcr$LAYOUT, __svcr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __svcr + * } + */ + public static void __svcr(MemorySegment struct, long fieldValue) { + struct.set(__svcr$LAYOUT, __svcr$OFFSET, fieldValue); + } + + private static final OfLong __tpidr2_el0$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__tpidr2_el0")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __tpidr2_el0 + * } + */ + public static final OfLong __tpidr2_el0$layout() { + return __tpidr2_el0$LAYOUT; + } + + private static final long __tpidr2_el0$OFFSET = $LAYOUT.byteOffset(groupElement("__tpidr2_el0")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __tpidr2_el0 + * } + */ + public static final long __tpidr2_el0$offset() { + return __tpidr2_el0$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __tpidr2_el0 + * } + */ + public static long __tpidr2_el0(MemorySegment struct) { + return struct.get(__tpidr2_el0$LAYOUT, __tpidr2_el0$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __tpidr2_el0 + * } + */ + public static void __tpidr2_el0(MemorySegment struct, long fieldValue) { + struct.set(__tpidr2_el0$LAYOUT, __tpidr2_el0$OFFSET, fieldValue); + } + + private static final OfShort __svl_b$LAYOUT = (OfShort)$LAYOUT.select(groupElement("__svl_b")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint16_t __svl_b + * } + */ + public static final OfShort __svl_b$layout() { + return __svl_b$LAYOUT; + } + + private static final long __svl_b$OFFSET = $LAYOUT.byteOffset(groupElement("__svl_b")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint16_t __svl_b + * } + */ + public static final long __svl_b$offset() { + return __svl_b$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint16_t __svl_b + * } + */ + public static short __svl_b(MemorySegment struct) { + return struct.get(__svl_b$LAYOUT, __svl_b$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint16_t __svl_b + * } + */ + public static void __svl_b(MemorySegment struct, short fieldValue) { + struct.set(__svl_b$LAYOUT, __svl_b$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_sme_za_state.java b/generated/src/mlx/__darwin_arm_sme_za_state.java new file mode 100644 index 00000000..5e117fbe --- /dev/null +++ b/generated/src/mlx/__darwin_arm_sme_za_state.java @@ -0,0 +1,160 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_sme_za_state { + * char __za[4096]; + * } + * } + */ +public class __darwin_arm_sme_za_state { + + __darwin_arm_sme_za_state() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(4096, mlx_h.C_CHAR).withName("__za") + ).withName("__darwin_arm_sme_za_state"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __za$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__za")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __za[4096] + * } + */ + public static final SequenceLayout __za$layout() { + return __za$LAYOUT; + } + + private static final long __za$OFFSET = $LAYOUT.byteOffset(groupElement("__za")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __za[4096] + * } + */ + public static final long __za$offset() { + return __za$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __za[4096] + * } + */ + public static MemorySegment __za(MemorySegment struct) { + return struct.asSlice(__za$OFFSET, __za$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __za[4096] + * } + */ + public static void __za(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __za$OFFSET, __za$LAYOUT.byteSize()); + } + + private static long[] __za$DIMS = { 4096 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __za[4096] + * } + */ + public static long[] __za$dimensions() { + return __za$DIMS; + } + private static final VarHandle __za$ELEM_HANDLE = __za$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __za[4096] + * } + */ + public static byte __za(MemorySegment struct, long index0) { + return (byte)__za$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __za[4096] + * } + */ + public static void __za(MemorySegment struct, long index0, byte fieldValue) { + __za$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_sve_p_state.java b/generated/src/mlx/__darwin_arm_sve_p_state.java new file mode 100644 index 00000000..fb43e031 --- /dev/null +++ b/generated/src/mlx/__darwin_arm_sve_p_state.java @@ -0,0 +1,160 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_sve_p_state { + * char __p[16][32]; + * } + * } + */ +public class __darwin_arm_sve_p_state { + + __darwin_arm_sve_p_state() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, MemoryLayout.sequenceLayout(32, mlx_h.C_CHAR)).withName("__p") + ).withName("__darwin_arm_sve_p_state"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __p$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__p")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __p[16][32] + * } + */ + public static final SequenceLayout __p$layout() { + return __p$LAYOUT; + } + + private static final long __p$OFFSET = $LAYOUT.byteOffset(groupElement("__p")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __p[16][32] + * } + */ + public static final long __p$offset() { + return __p$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __p[16][32] + * } + */ + public static MemorySegment __p(MemorySegment struct) { + return struct.asSlice(__p$OFFSET, __p$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __p[16][32] + * } + */ + public static void __p(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __p$OFFSET, __p$LAYOUT.byteSize()); + } + + private static long[] __p$DIMS = { 16, 32 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __p[16][32] + * } + */ + public static long[] __p$dimensions() { + return __p$DIMS; + } + private static final VarHandle __p$ELEM_HANDLE = __p$LAYOUT.varHandle(sequenceElement(), sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __p[16][32] + * } + */ + public static byte __p(MemorySegment struct, long index0, long index1) { + return (byte)__p$ELEM_HANDLE.get(struct, 0L, index0, index1); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __p[16][32] + * } + */ + public static void __p(MemorySegment struct, long index0, long index1, byte fieldValue) { + __p$ELEM_HANDLE.set(struct, 0L, index0, index1, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_sve_z_state.java b/generated/src/mlx/__darwin_arm_sve_z_state.java new file mode 100644 index 00000000..8f6c073c --- /dev/null +++ b/generated/src/mlx/__darwin_arm_sve_z_state.java @@ -0,0 +1,160 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_sve_z_state { + * char __z[16][256]; + * } + * } + */ +public class __darwin_arm_sve_z_state { + + __darwin_arm_sve_z_state() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, MemoryLayout.sequenceLayout(256, mlx_h.C_CHAR)).withName("__z") + ).withName("__darwin_arm_sve_z_state"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __z$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__z")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __z[16][256] + * } + */ + public static final SequenceLayout __z$layout() { + return __z$LAYOUT; + } + + private static final long __z$OFFSET = $LAYOUT.byteOffset(groupElement("__z")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __z[16][256] + * } + */ + public static final long __z$offset() { + return __z$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __z[16][256] + * } + */ + public static MemorySegment __z(MemorySegment struct) { + return struct.asSlice(__z$OFFSET, __z$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __z[16][256] + * } + */ + public static void __z(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __z$OFFSET, __z$LAYOUT.byteSize()); + } + + private static long[] __z$DIMS = { 16, 256 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __z[16][256] + * } + */ + public static long[] __z$dimensions() { + return __z$DIMS; + } + private static final VarHandle __z$ELEM_HANDLE = __z$LAYOUT.varHandle(sequenceElement(), sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __z[16][256] + * } + */ + public static byte __z(MemorySegment struct, long index0, long index1) { + return (byte)__z$ELEM_HANDLE.get(struct, 0L, index0, index1); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __z[16][256] + * } + */ + public static void __z(MemorySegment struct, long index0, long index1, byte fieldValue) { + __z$ELEM_HANDLE.set(struct, 0L, index0, index1, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_thread_state.java b/generated/src/mlx/__darwin_arm_thread_state.java new file mode 100644 index 00000000..ebce3f7f --- /dev/null +++ b/generated/src/mlx/__darwin_arm_thread_state.java @@ -0,0 +1,344 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_thread_state { + * __uint32_t __r[13]; + * __uint32_t __sp; + * __uint32_t __lr; + * __uint32_t __pc; + * __uint32_t __cpsr; + * } + * } + */ +public class __darwin_arm_thread_state { + + __darwin_arm_thread_state() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(13, mlx_h.C_INT).withName("__r"), + mlx_h.C_INT.withName("__sp"), + mlx_h.C_INT.withName("__lr"), + mlx_h.C_INT.withName("__pc"), + mlx_h.C_INT.withName("__cpsr") + ).withName("__darwin_arm_thread_state"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __r$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__r")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __r[13] + * } + */ + public static final SequenceLayout __r$layout() { + return __r$LAYOUT; + } + + private static final long __r$OFFSET = $LAYOUT.byteOffset(groupElement("__r")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __r[13] + * } + */ + public static final long __r$offset() { + return __r$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __r[13] + * } + */ + public static MemorySegment __r(MemorySegment struct) { + return struct.asSlice(__r$OFFSET, __r$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __r[13] + * } + */ + public static void __r(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __r$OFFSET, __r$LAYOUT.byteSize()); + } + + private static long[] __r$DIMS = { 13 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint32_t __r[13] + * } + */ + public static long[] __r$dimensions() { + return __r$DIMS; + } + private static final VarHandle __r$ELEM_HANDLE = __r$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint32_t __r[13] + * } + */ + public static int __r(MemorySegment struct, long index0) { + return (int)__r$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint32_t __r[13] + * } + */ + public static void __r(MemorySegment struct, long index0, int fieldValue) { + __r$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfInt __sp$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__sp")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __sp + * } + */ + public static final OfInt __sp$layout() { + return __sp$LAYOUT; + } + + private static final long __sp$OFFSET = $LAYOUT.byteOffset(groupElement("__sp")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __sp + * } + */ + public static final long __sp$offset() { + return __sp$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __sp + * } + */ + public static int __sp(MemorySegment struct) { + return struct.get(__sp$LAYOUT, __sp$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __sp + * } + */ + public static void __sp(MemorySegment struct, int fieldValue) { + struct.set(__sp$LAYOUT, __sp$OFFSET, fieldValue); + } + + private static final OfInt __lr$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__lr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __lr + * } + */ + public static final OfInt __lr$layout() { + return __lr$LAYOUT; + } + + private static final long __lr$OFFSET = $LAYOUT.byteOffset(groupElement("__lr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __lr + * } + */ + public static final long __lr$offset() { + return __lr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __lr + * } + */ + public static int __lr(MemorySegment struct) { + return struct.get(__lr$LAYOUT, __lr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __lr + * } + */ + public static void __lr(MemorySegment struct, int fieldValue) { + struct.set(__lr$LAYOUT, __lr$OFFSET, fieldValue); + } + + private static final OfInt __pc$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__pc")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __pc + * } + */ + public static final OfInt __pc$layout() { + return __pc$LAYOUT; + } + + private static final long __pc$OFFSET = $LAYOUT.byteOffset(groupElement("__pc")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __pc + * } + */ + public static final long __pc$offset() { + return __pc$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __pc + * } + */ + public static int __pc(MemorySegment struct) { + return struct.get(__pc$LAYOUT, __pc$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __pc + * } + */ + public static void __pc(MemorySegment struct, int fieldValue) { + struct.set(__pc$LAYOUT, __pc$OFFSET, fieldValue); + } + + private static final OfInt __cpsr$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__cpsr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __cpsr + * } + */ + public static final OfInt __cpsr$layout() { + return __cpsr$LAYOUT; + } + + private static final long __cpsr$OFFSET = $LAYOUT.byteOffset(groupElement("__cpsr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __cpsr + * } + */ + public static final long __cpsr$offset() { + return __cpsr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __cpsr + * } + */ + public static int __cpsr(MemorySegment struct) { + return struct.get(__cpsr$LAYOUT, __cpsr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __cpsr + * } + */ + public static void __cpsr(MemorySegment struct, int fieldValue) { + struct.set(__cpsr$LAYOUT, __cpsr$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_thread_state64.java b/generated/src/mlx/__darwin_arm_thread_state64.java new file mode 100644 index 00000000..7aed243b --- /dev/null +++ b/generated/src/mlx/__darwin_arm_thread_state64.java @@ -0,0 +1,436 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_thread_state64 { + * __uint64_t __x[29]; + * __uint64_t __fp; + * __uint64_t __lr; + * __uint64_t __sp; + * __uint64_t __pc; + * __uint32_t __cpsr; + * __uint32_t __pad; + * } + * } + */ +public class __darwin_arm_thread_state64 { + + __darwin_arm_thread_state64() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(29, mlx_h.C_LONG_LONG).withName("__x"), + mlx_h.C_LONG_LONG.withName("__fp"), + mlx_h.C_LONG_LONG.withName("__lr"), + mlx_h.C_LONG_LONG.withName("__sp"), + mlx_h.C_LONG_LONG.withName("__pc"), + mlx_h.C_INT.withName("__cpsr"), + mlx_h.C_INT.withName("__pad") + ).withName("__darwin_arm_thread_state64"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __x$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__x")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __x[29] + * } + */ + public static final SequenceLayout __x$layout() { + return __x$LAYOUT; + } + + private static final long __x$OFFSET = $LAYOUT.byteOffset(groupElement("__x")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __x[29] + * } + */ + public static final long __x$offset() { + return __x$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __x[29] + * } + */ + public static MemorySegment __x(MemorySegment struct) { + return struct.asSlice(__x$OFFSET, __x$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __x[29] + * } + */ + public static void __x(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __x$OFFSET, __x$LAYOUT.byteSize()); + } + + private static long[] __x$DIMS = { 29 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint64_t __x[29] + * } + */ + public static long[] __x$dimensions() { + return __x$DIMS; + } + private static final VarHandle __x$ELEM_HANDLE = __x$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint64_t __x[29] + * } + */ + public static long __x(MemorySegment struct, long index0) { + return (long)__x$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint64_t __x[29] + * } + */ + public static void __x(MemorySegment struct, long index0, long fieldValue) { + __x$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong __fp$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__fp")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __fp + * } + */ + public static final OfLong __fp$layout() { + return __fp$LAYOUT; + } + + private static final long __fp$OFFSET = $LAYOUT.byteOffset(groupElement("__fp")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __fp + * } + */ + public static final long __fp$offset() { + return __fp$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __fp + * } + */ + public static long __fp(MemorySegment struct) { + return struct.get(__fp$LAYOUT, __fp$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __fp + * } + */ + public static void __fp(MemorySegment struct, long fieldValue) { + struct.set(__fp$LAYOUT, __fp$OFFSET, fieldValue); + } + + private static final OfLong __lr$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__lr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __lr + * } + */ + public static final OfLong __lr$layout() { + return __lr$LAYOUT; + } + + private static final long __lr$OFFSET = $LAYOUT.byteOffset(groupElement("__lr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __lr + * } + */ + public static final long __lr$offset() { + return __lr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __lr + * } + */ + public static long __lr(MemorySegment struct) { + return struct.get(__lr$LAYOUT, __lr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __lr + * } + */ + public static void __lr(MemorySegment struct, long fieldValue) { + struct.set(__lr$LAYOUT, __lr$OFFSET, fieldValue); + } + + private static final OfLong __sp$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sp")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __sp + * } + */ + public static final OfLong __sp$layout() { + return __sp$LAYOUT; + } + + private static final long __sp$OFFSET = $LAYOUT.byteOffset(groupElement("__sp")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __sp + * } + */ + public static final long __sp$offset() { + return __sp$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __sp + * } + */ + public static long __sp(MemorySegment struct) { + return struct.get(__sp$LAYOUT, __sp$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __sp + * } + */ + public static void __sp(MemorySegment struct, long fieldValue) { + struct.set(__sp$LAYOUT, __sp$OFFSET, fieldValue); + } + + private static final OfLong __pc$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__pc")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint64_t __pc + * } + */ + public static final OfLong __pc$layout() { + return __pc$LAYOUT; + } + + private static final long __pc$OFFSET = $LAYOUT.byteOffset(groupElement("__pc")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint64_t __pc + * } + */ + public static final long __pc$offset() { + return __pc$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint64_t __pc + * } + */ + public static long __pc(MemorySegment struct) { + return struct.get(__pc$LAYOUT, __pc$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint64_t __pc + * } + */ + public static void __pc(MemorySegment struct, long fieldValue) { + struct.set(__pc$LAYOUT, __pc$OFFSET, fieldValue); + } + + private static final OfInt __cpsr$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__cpsr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __cpsr + * } + */ + public static final OfInt __cpsr$layout() { + return __cpsr$LAYOUT; + } + + private static final long __cpsr$OFFSET = $LAYOUT.byteOffset(groupElement("__cpsr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __cpsr + * } + */ + public static final long __cpsr$offset() { + return __cpsr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __cpsr + * } + */ + public static int __cpsr(MemorySegment struct) { + return struct.get(__cpsr$LAYOUT, __cpsr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __cpsr + * } + */ + public static void __cpsr(MemorySegment struct, int fieldValue) { + struct.set(__cpsr$LAYOUT, __cpsr$OFFSET, fieldValue); + } + + private static final OfInt __pad$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__pad")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __pad + * } + */ + public static final OfInt __pad$layout() { + return __pad$LAYOUT; + } + + private static final long __pad$OFFSET = $LAYOUT.byteOffset(groupElement("__pad")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __pad + * } + */ + public static final long __pad$offset() { + return __pad$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __pad + * } + */ + public static int __pad(MemorySegment struct) { + return struct.get(__pad$LAYOUT, __pad$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __pad + * } + */ + public static void __pad(MemorySegment struct, int fieldValue) { + struct.set(__pad$LAYOUT, __pad$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_arm_vfp_state.java b/generated/src/mlx/__darwin_arm_vfp_state.java new file mode 100644 index 00000000..73e9b533 --- /dev/null +++ b/generated/src/mlx/__darwin_arm_vfp_state.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_arm_vfp_state { + * __uint32_t __r[64]; + * __uint32_t __fpscr; + * } + * } + */ +public class __darwin_arm_vfp_state { + + __darwin_arm_vfp_state() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(64, mlx_h.C_INT).withName("__r"), + mlx_h.C_INT.withName("__fpscr") + ).withName("__darwin_arm_vfp_state"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __r$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__r")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __r[64] + * } + */ + public static final SequenceLayout __r$layout() { + return __r$LAYOUT; + } + + private static final long __r$OFFSET = $LAYOUT.byteOffset(groupElement("__r")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __r[64] + * } + */ + public static final long __r$offset() { + return __r$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __r[64] + * } + */ + public static MemorySegment __r(MemorySegment struct) { + return struct.asSlice(__r$OFFSET, __r$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __r[64] + * } + */ + public static void __r(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __r$OFFSET, __r$LAYOUT.byteSize()); + } + + private static long[] __r$DIMS = { 64 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * __uint32_t __r[64] + * } + */ + public static long[] __r$dimensions() { + return __r$DIMS; + } + private static final VarHandle __r$ELEM_HANDLE = __r$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * __uint32_t __r[64] + * } + */ + public static int __r(MemorySegment struct, long index0) { + return (int)__r$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * __uint32_t __r[64] + * } + */ + public static void __r(MemorySegment struct, long index0, int fieldValue) { + __r$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfInt __fpscr$LAYOUT = (OfInt)$LAYOUT.select(groupElement("__fpscr")); + + /** + * Layout for field: + * {@snippet lang=c : + * __uint32_t __fpscr + * } + */ + public static final OfInt __fpscr$layout() { + return __fpscr$LAYOUT; + } + + private static final long __fpscr$OFFSET = $LAYOUT.byteOffset(groupElement("__fpscr")); + + /** + * Offset for field: + * {@snippet lang=c : + * __uint32_t __fpscr + * } + */ + public static final long __fpscr$offset() { + return __fpscr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __uint32_t __fpscr + * } + */ + public static int __fpscr(MemorySegment struct) { + return struct.get(__fpscr$LAYOUT, __fpscr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __uint32_t __fpscr + * } + */ + public static void __fpscr(MemorySegment struct, int fieldValue) { + struct.set(__fpscr$LAYOUT, __fpscr$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_mbstate_t.java b/generated/src/mlx/__darwin_mbstate_t.java new file mode 100644 index 00000000..c5c6cdbe --- /dev/null +++ b/generated/src/mlx/__darwin_mbstate_t.java @@ -0,0 +1,26 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef __mbstate_t __darwin_mbstate_t + * } + */ +public class __darwin_mbstate_t extends __mbstate_t { + + __darwin_mbstate_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/__darwin_mcontext32.java b/generated/src/mlx/__darwin_mcontext32.java new file mode 100644 index 00000000..df2c95a2 --- /dev/null +++ b/generated/src/mlx/__darwin_mcontext32.java @@ -0,0 +1,219 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_mcontext32 { + * struct __darwin_arm_exception_state __es; + * struct __darwin_arm_thread_state __ss; + * struct __darwin_arm_vfp_state __fs; + * } + * } + */ +public class __darwin_mcontext32 { + + __darwin_mcontext32() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + __darwin_arm_exception_state.layout().withName("__es"), + __darwin_arm_thread_state.layout().withName("__ss"), + __darwin_arm_vfp_state.layout().withName("__fs") + ).withName("__darwin_mcontext32"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout __es$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("__es")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_arm_exception_state __es + * } + */ + public static final GroupLayout __es$layout() { + return __es$LAYOUT; + } + + private static final long __es$OFFSET = $LAYOUT.byteOffset(groupElement("__es")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_arm_exception_state __es + * } + */ + public static final long __es$offset() { + return __es$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_arm_exception_state __es + * } + */ + public static MemorySegment __es(MemorySegment struct) { + return struct.asSlice(__es$OFFSET, __es$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_arm_exception_state __es + * } + */ + public static void __es(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __es$OFFSET, __es$LAYOUT.byteSize()); + } + + private static final GroupLayout __ss$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("__ss")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_arm_thread_state __ss + * } + */ + public static final GroupLayout __ss$layout() { + return __ss$LAYOUT; + } + + private static final long __ss$OFFSET = $LAYOUT.byteOffset(groupElement("__ss")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_arm_thread_state __ss + * } + */ + public static final long __ss$offset() { + return __ss$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_arm_thread_state __ss + * } + */ + public static MemorySegment __ss(MemorySegment struct) { + return struct.asSlice(__ss$OFFSET, __ss$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_arm_thread_state __ss + * } + */ + public static void __ss(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __ss$OFFSET, __ss$LAYOUT.byteSize()); + } + + private static final GroupLayout __fs$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("__fs")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_arm_vfp_state __fs + * } + */ + public static final GroupLayout __fs$layout() { + return __fs$LAYOUT; + } + + private static final long __fs$OFFSET = $LAYOUT.byteOffset(groupElement("__fs")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_arm_vfp_state __fs + * } + */ + public static final long __fs$offset() { + return __fs$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_arm_vfp_state __fs + * } + */ + public static MemorySegment __fs(MemorySegment struct) { + return struct.asSlice(__fs$OFFSET, __fs$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_arm_vfp_state __fs + * } + */ + public static void __fs(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __fs$OFFSET, __fs$LAYOUT.byteSize()); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_mcontext64.java b/generated/src/mlx/__darwin_mcontext64.java new file mode 100644 index 00000000..9b36ec1a --- /dev/null +++ b/generated/src/mlx/__darwin_mcontext64.java @@ -0,0 +1,219 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_mcontext64 { + * struct __darwin_arm_exception_state64 __es; + * struct __darwin_arm_thread_state64 __ss; + * struct __darwin_arm_neon_state64 __ns; + * } + * } + */ +public class __darwin_mcontext64 { + + __darwin_mcontext64() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + __darwin_arm_exception_state64.layout().withName("__es"), + __darwin_arm_thread_state64.layout().withName("__ss"), + __darwin_arm_neon_state64.layout().withName("__ns") + ).withName("__darwin_mcontext64"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout __es$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("__es")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_arm_exception_state64 __es + * } + */ + public static final GroupLayout __es$layout() { + return __es$LAYOUT; + } + + private static final long __es$OFFSET = $LAYOUT.byteOffset(groupElement("__es")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_arm_exception_state64 __es + * } + */ + public static final long __es$offset() { + return __es$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_arm_exception_state64 __es + * } + */ + public static MemorySegment __es(MemorySegment struct) { + return struct.asSlice(__es$OFFSET, __es$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_arm_exception_state64 __es + * } + */ + public static void __es(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __es$OFFSET, __es$LAYOUT.byteSize()); + } + + private static final GroupLayout __ss$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("__ss")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_arm_thread_state64 __ss + * } + */ + public static final GroupLayout __ss$layout() { + return __ss$LAYOUT; + } + + private static final long __ss$OFFSET = $LAYOUT.byteOffset(groupElement("__ss")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_arm_thread_state64 __ss + * } + */ + public static final long __ss$offset() { + return __ss$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_arm_thread_state64 __ss + * } + */ + public static MemorySegment __ss(MemorySegment struct) { + return struct.asSlice(__ss$OFFSET, __ss$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_arm_thread_state64 __ss + * } + */ + public static void __ss(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __ss$OFFSET, __ss$LAYOUT.byteSize()); + } + + private static final GroupLayout __ns$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("__ns")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_arm_neon_state64 __ns + * } + */ + public static final GroupLayout __ns$layout() { + return __ns$LAYOUT; + } + + private static final long __ns$OFFSET = $LAYOUT.byteOffset(groupElement("__ns")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_arm_neon_state64 __ns + * } + */ + public static final long __ns$offset() { + return __ns$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_arm_neon_state64 __ns + * } + */ + public static MemorySegment __ns(MemorySegment struct) { + return struct.asSlice(__ns$OFFSET, __ns$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_arm_neon_state64 __ns + * } + */ + public static void __ns(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __ns$OFFSET, __ns$LAYOUT.byteSize()); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_pthread_attr_t.java b/generated/src/mlx/__darwin_pthread_attr_t.java new file mode 100644 index 00000000..48721c38 --- /dev/null +++ b/generated/src/mlx/__darwin_pthread_attr_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_attr_t { + * long __sig; + * char __opaque[56]; + * } __darwin_pthread_attr_t + * } + */ +public class __darwin_pthread_attr_t extends _opaque_pthread_attr_t { + + __darwin_pthread_attr_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/__darwin_pthread_cond_t.java b/generated/src/mlx/__darwin_pthread_cond_t.java new file mode 100644 index 00000000..9a90122a --- /dev/null +++ b/generated/src/mlx/__darwin_pthread_cond_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_cond_t { + * long __sig; + * char __opaque[40]; + * } __darwin_pthread_cond_t + * } + */ +public class __darwin_pthread_cond_t extends _opaque_pthread_cond_t { + + __darwin_pthread_cond_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/__darwin_pthread_condattr_t.java b/generated/src/mlx/__darwin_pthread_condattr_t.java new file mode 100644 index 00000000..b8e0a053 --- /dev/null +++ b/generated/src/mlx/__darwin_pthread_condattr_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_condattr_t { + * long __sig; + * char __opaque[8]; + * } __darwin_pthread_condattr_t + * } + */ +public class __darwin_pthread_condattr_t extends _opaque_pthread_condattr_t { + + __darwin_pthread_condattr_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/__darwin_pthread_handler_rec.java b/generated/src/mlx/__darwin_pthread_handler_rec.java new file mode 100644 index 00000000..721f05f3 --- /dev/null +++ b/generated/src/mlx/__darwin_pthread_handler_rec.java @@ -0,0 +1,274 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec { + * void (*__routine)(void *); + * void *__arg; + * struct __darwin_pthread_handler_rec *__next; + * } + * } + */ +public class __darwin_pthread_handler_rec { + + __darwin_pthread_handler_rec() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("__routine"), + mlx_h.C_POINTER.withName("__arg"), + mlx_h.C_POINTER.withName("__next") + ).withName("__darwin_pthread_handler_rec"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + /** + * {@snippet lang=c : + * void (*__routine)(void *) + * } + */ + public final static class __routine { + + private __routine() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(__routine.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(__routine.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout __routine$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("__routine")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*__routine)(void *) + * } + */ + public static final AddressLayout __routine$layout() { + return __routine$LAYOUT; + } + + private static final long __routine$OFFSET = $LAYOUT.byteOffset(groupElement("__routine")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*__routine)(void *) + * } + */ + public static final long __routine$offset() { + return __routine$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*__routine)(void *) + * } + */ + public static MemorySegment __routine(MemorySegment struct) { + return struct.get(__routine$LAYOUT, __routine$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*__routine)(void *) + * } + */ + public static void __routine(MemorySegment struct, MemorySegment fieldValue) { + struct.set(__routine$LAYOUT, __routine$OFFSET, fieldValue); + } + + private static final AddressLayout __arg$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("__arg")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *__arg + * } + */ + public static final AddressLayout __arg$layout() { + return __arg$LAYOUT; + } + + private static final long __arg$OFFSET = $LAYOUT.byteOffset(groupElement("__arg")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *__arg + * } + */ + public static final long __arg$offset() { + return __arg$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *__arg + * } + */ + public static MemorySegment __arg(MemorySegment struct) { + return struct.get(__arg$LAYOUT, __arg$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *__arg + * } + */ + public static void __arg(MemorySegment struct, MemorySegment fieldValue) { + struct.set(__arg$LAYOUT, __arg$OFFSET, fieldValue); + } + + private static final AddressLayout __next$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("__next")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__next + * } + */ + public static final AddressLayout __next$layout() { + return __next$LAYOUT; + } + + private static final long __next$OFFSET = $LAYOUT.byteOffset(groupElement("__next")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__next + * } + */ + public static final long __next$offset() { + return __next$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__next + * } + */ + public static MemorySegment __next(MemorySegment struct) { + return struct.get(__next$LAYOUT, __next$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__next + * } + */ + public static void __next(MemorySegment struct, MemorySegment fieldValue) { + struct.set(__next$LAYOUT, __next$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_pthread_mutex_t.java b/generated/src/mlx/__darwin_pthread_mutex_t.java new file mode 100644 index 00000000..eeed9be3 --- /dev/null +++ b/generated/src/mlx/__darwin_pthread_mutex_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_mutex_t { + * long __sig; + * char __opaque[56]; + * } __darwin_pthread_mutex_t + * } + */ +public class __darwin_pthread_mutex_t extends _opaque_pthread_mutex_t { + + __darwin_pthread_mutex_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/__darwin_pthread_mutexattr_t.java b/generated/src/mlx/__darwin_pthread_mutexattr_t.java new file mode 100644 index 00000000..16b2c93b --- /dev/null +++ b/generated/src/mlx/__darwin_pthread_mutexattr_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_mutexattr_t { + * long __sig; + * char __opaque[8]; + * } __darwin_pthread_mutexattr_t + * } + */ +public class __darwin_pthread_mutexattr_t extends _opaque_pthread_mutexattr_t { + + __darwin_pthread_mutexattr_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/__darwin_pthread_once_t.java b/generated/src/mlx/__darwin_pthread_once_t.java new file mode 100644 index 00000000..588b9274 --- /dev/null +++ b/generated/src/mlx/__darwin_pthread_once_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_once_t { + * long __sig; + * char __opaque[8]; + * } __darwin_pthread_once_t + * } + */ +public class __darwin_pthread_once_t extends _opaque_pthread_once_t { + + __darwin_pthread_once_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/__darwin_pthread_rwlock_t.java b/generated/src/mlx/__darwin_pthread_rwlock_t.java new file mode 100644 index 00000000..29ac0256 --- /dev/null +++ b/generated/src/mlx/__darwin_pthread_rwlock_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_rwlock_t { + * long __sig; + * char __opaque[192]; + * } __darwin_pthread_rwlock_t + * } + */ +public class __darwin_pthread_rwlock_t extends _opaque_pthread_rwlock_t { + + __darwin_pthread_rwlock_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/__darwin_pthread_rwlockattr_t.java b/generated/src/mlx/__darwin_pthread_rwlockattr_t.java new file mode 100644 index 00000000..36b24e77 --- /dev/null +++ b/generated/src/mlx/__darwin_pthread_rwlockattr_t.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct _opaque_pthread_rwlockattr_t { + * long __sig; + * char __opaque[16]; + * } __darwin_pthread_rwlockattr_t + * } + */ +public class __darwin_pthread_rwlockattr_t extends _opaque_pthread_rwlockattr_t { + + __darwin_pthread_rwlockattr_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/__darwin_sigaltstack.java b/generated/src/mlx/__darwin_sigaltstack.java new file mode 100644 index 00000000..529e4d40 --- /dev/null +++ b/generated/src/mlx/__darwin_sigaltstack.java @@ -0,0 +1,220 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_sigaltstack { + * void *ss_sp; + * __darwin_size_t ss_size; + * int ss_flags; + * } + * } + */ +public class __darwin_sigaltstack { + + __darwin_sigaltstack() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ss_sp"), + mlx_h.C_LONG.withName("ss_size"), + mlx_h.C_INT.withName("ss_flags"), + MemoryLayout.paddingLayout(4) + ).withName("__darwin_sigaltstack"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ss_sp$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ss_sp")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ss_sp + * } + */ + public static final AddressLayout ss_sp$layout() { + return ss_sp$LAYOUT; + } + + private static final long ss_sp$OFFSET = $LAYOUT.byteOffset(groupElement("ss_sp")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ss_sp + * } + */ + public static final long ss_sp$offset() { + return ss_sp$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ss_sp + * } + */ + public static MemorySegment ss_sp(MemorySegment struct) { + return struct.get(ss_sp$LAYOUT, ss_sp$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ss_sp + * } + */ + public static void ss_sp(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ss_sp$LAYOUT, ss_sp$OFFSET, fieldValue); + } + + private static final OfLong ss_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ss_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * __darwin_size_t ss_size + * } + */ + public static final OfLong ss_size$layout() { + return ss_size$LAYOUT; + } + + private static final long ss_size$OFFSET = $LAYOUT.byteOffset(groupElement("ss_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * __darwin_size_t ss_size + * } + */ + public static final long ss_size$offset() { + return ss_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __darwin_size_t ss_size + * } + */ + public static long ss_size(MemorySegment struct) { + return struct.get(ss_size$LAYOUT, ss_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __darwin_size_t ss_size + * } + */ + public static void ss_size(MemorySegment struct, long fieldValue) { + struct.set(ss_size$LAYOUT, ss_size$OFFSET, fieldValue); + } + + private static final OfInt ss_flags$LAYOUT = (OfInt)$LAYOUT.select(groupElement("ss_flags")); + + /** + * Layout for field: + * {@snippet lang=c : + * int ss_flags + * } + */ + public static final OfInt ss_flags$layout() { + return ss_flags$LAYOUT; + } + + private static final long ss_flags$OFFSET = $LAYOUT.byteOffset(groupElement("ss_flags")); + + /** + * Offset for field: + * {@snippet lang=c : + * int ss_flags + * } + */ + public static final long ss_flags$offset() { + return ss_flags$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int ss_flags + * } + */ + public static int ss_flags(MemorySegment struct) { + return struct.get(ss_flags$LAYOUT, ss_flags$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int ss_flags + * } + */ + public static void ss_flags(MemorySegment struct, int fieldValue) { + struct.set(ss_flags$LAYOUT, ss_flags$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__darwin_ucontext.java b/generated/src/mlx/__darwin_ucontext.java new file mode 100644 index 00000000..33087954 --- /dev/null +++ b/generated/src/mlx/__darwin_ucontext.java @@ -0,0 +1,357 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __darwin_ucontext { + * int uc_onstack; + * __darwin_sigset_t uc_sigmask; + * struct __darwin_sigaltstack uc_stack; + * struct __darwin_ucontext *uc_link; + * __darwin_size_t uc_mcsize; + * struct __darwin_mcontext64 *uc_mcontext; + * } + * } + */ +public class __darwin_ucontext { + + __darwin_ucontext() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_INT.withName("uc_onstack"), + mlx_h.C_INT.withName("uc_sigmask"), + __darwin_sigaltstack.layout().withName("uc_stack"), + mlx_h.C_POINTER.withName("uc_link"), + mlx_h.C_LONG.withName("uc_mcsize"), + mlx_h.C_POINTER.withName("uc_mcontext") + ).withName("__darwin_ucontext"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt uc_onstack$LAYOUT = (OfInt)$LAYOUT.select(groupElement("uc_onstack")); + + /** + * Layout for field: + * {@snippet lang=c : + * int uc_onstack + * } + */ + public static final OfInt uc_onstack$layout() { + return uc_onstack$LAYOUT; + } + + private static final long uc_onstack$OFFSET = $LAYOUT.byteOffset(groupElement("uc_onstack")); + + /** + * Offset for field: + * {@snippet lang=c : + * int uc_onstack + * } + */ + public static final long uc_onstack$offset() { + return uc_onstack$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int uc_onstack + * } + */ + public static int uc_onstack(MemorySegment struct) { + return struct.get(uc_onstack$LAYOUT, uc_onstack$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int uc_onstack + * } + */ + public static void uc_onstack(MemorySegment struct, int fieldValue) { + struct.set(uc_onstack$LAYOUT, uc_onstack$OFFSET, fieldValue); + } + + private static final OfInt uc_sigmask$LAYOUT = (OfInt)$LAYOUT.select(groupElement("uc_sigmask")); + + /** + * Layout for field: + * {@snippet lang=c : + * __darwin_sigset_t uc_sigmask + * } + */ + public static final OfInt uc_sigmask$layout() { + return uc_sigmask$LAYOUT; + } + + private static final long uc_sigmask$OFFSET = $LAYOUT.byteOffset(groupElement("uc_sigmask")); + + /** + * Offset for field: + * {@snippet lang=c : + * __darwin_sigset_t uc_sigmask + * } + */ + public static final long uc_sigmask$offset() { + return uc_sigmask$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __darwin_sigset_t uc_sigmask + * } + */ + public static int uc_sigmask(MemorySegment struct) { + return struct.get(uc_sigmask$LAYOUT, uc_sigmask$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __darwin_sigset_t uc_sigmask + * } + */ + public static void uc_sigmask(MemorySegment struct, int fieldValue) { + struct.set(uc_sigmask$LAYOUT, uc_sigmask$OFFSET, fieldValue); + } + + private static final GroupLayout uc_stack$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("uc_stack")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_sigaltstack uc_stack + * } + */ + public static final GroupLayout uc_stack$layout() { + return uc_stack$LAYOUT; + } + + private static final long uc_stack$OFFSET = $LAYOUT.byteOffset(groupElement("uc_stack")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_sigaltstack uc_stack + * } + */ + public static final long uc_stack$offset() { + return uc_stack$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_sigaltstack uc_stack + * } + */ + public static MemorySegment uc_stack(MemorySegment struct) { + return struct.asSlice(uc_stack$OFFSET, uc_stack$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_sigaltstack uc_stack + * } + */ + public static void uc_stack(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, uc_stack$OFFSET, uc_stack$LAYOUT.byteSize()); + } + + private static final AddressLayout uc_link$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("uc_link")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_ucontext *uc_link + * } + */ + public static final AddressLayout uc_link$layout() { + return uc_link$LAYOUT; + } + + private static final long uc_link$OFFSET = $LAYOUT.byteOffset(groupElement("uc_link")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_ucontext *uc_link + * } + */ + public static final long uc_link$offset() { + return uc_link$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_ucontext *uc_link + * } + */ + public static MemorySegment uc_link(MemorySegment struct) { + return struct.get(uc_link$LAYOUT, uc_link$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_ucontext *uc_link + * } + */ + public static void uc_link(MemorySegment struct, MemorySegment fieldValue) { + struct.set(uc_link$LAYOUT, uc_link$OFFSET, fieldValue); + } + + private static final OfLong uc_mcsize$LAYOUT = (OfLong)$LAYOUT.select(groupElement("uc_mcsize")); + + /** + * Layout for field: + * {@snippet lang=c : + * __darwin_size_t uc_mcsize + * } + */ + public static final OfLong uc_mcsize$layout() { + return uc_mcsize$LAYOUT; + } + + private static final long uc_mcsize$OFFSET = $LAYOUT.byteOffset(groupElement("uc_mcsize")); + + /** + * Offset for field: + * {@snippet lang=c : + * __darwin_size_t uc_mcsize + * } + */ + public static final long uc_mcsize$offset() { + return uc_mcsize$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __darwin_size_t uc_mcsize + * } + */ + public static long uc_mcsize(MemorySegment struct) { + return struct.get(uc_mcsize$LAYOUT, uc_mcsize$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __darwin_size_t uc_mcsize + * } + */ + public static void uc_mcsize(MemorySegment struct, long fieldValue) { + struct.set(uc_mcsize$LAYOUT, uc_mcsize$OFFSET, fieldValue); + } + + private static final AddressLayout uc_mcontext$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("uc_mcontext")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_mcontext64 *uc_mcontext + * } + */ + public static final AddressLayout uc_mcontext$layout() { + return uc_mcontext$LAYOUT; + } + + private static final long uc_mcontext$OFFSET = $LAYOUT.byteOffset(groupElement("uc_mcontext")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_mcontext64 *uc_mcontext + * } + */ + public static final long uc_mcontext$offset() { + return uc_mcontext$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_mcontext64 *uc_mcontext + * } + */ + public static MemorySegment uc_mcontext(MemorySegment struct) { + return struct.get(uc_mcontext$LAYOUT, uc_mcontext$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_mcontext64 *uc_mcontext + * } + */ + public static void uc_mcontext(MemorySegment struct, MemorySegment fieldValue) { + struct.set(uc_mcontext$LAYOUT, uc_mcontext$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__mbstate_t.java b/generated/src/mlx/__mbstate_t.java new file mode 100644 index 00000000..a7d374a7 --- /dev/null +++ b/generated/src/mlx/__mbstate_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * union { + * char __mbstate8[128]; + * long long _mbstateL; + * } + * } + */ +public class __mbstate_t { + + __mbstate_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.unionLayout( + MemoryLayout.sequenceLayout(128, mlx_h.C_CHAR).withName("__mbstate8"), + mlx_h.C_LONG_LONG.withName("_mbstateL") + ).withName("__mbstate_t"); + + /** + * The layout of this union + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout __mbstate8$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__mbstate8")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __mbstate8[128] + * } + */ + public static final SequenceLayout __mbstate8$layout() { + return __mbstate8$LAYOUT; + } + + private static final long __mbstate8$OFFSET = $LAYOUT.byteOffset(groupElement("__mbstate8")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __mbstate8[128] + * } + */ + public static final long __mbstate8$offset() { + return __mbstate8$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __mbstate8[128] + * } + */ + public static MemorySegment __mbstate8(MemorySegment union) { + return union.asSlice(__mbstate8$OFFSET, __mbstate8$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __mbstate8[128] + * } + */ + public static void __mbstate8(MemorySegment union, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, union, __mbstate8$OFFSET, __mbstate8$LAYOUT.byteSize()); + } + + private static long[] __mbstate8$DIMS = { 128 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __mbstate8[128] + * } + */ + public static long[] __mbstate8$dimensions() { + return __mbstate8$DIMS; + } + private static final VarHandle __mbstate8$ELEM_HANDLE = __mbstate8$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __mbstate8[128] + * } + */ + public static byte __mbstate8(MemorySegment union, long index0) { + return (byte)__mbstate8$ELEM_HANDLE.get(union, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __mbstate8[128] + * } + */ + public static void __mbstate8(MemorySegment union, long index0, byte fieldValue) { + __mbstate8$ELEM_HANDLE.set(union, 0L, index0, fieldValue); + } + + private static final OfLong _mbstateL$LAYOUT = (OfLong)$LAYOUT.select(groupElement("_mbstateL")); + + /** + * Layout for field: + * {@snippet lang=c : + * long long _mbstateL + * } + */ + public static final OfLong _mbstateL$layout() { + return _mbstateL$LAYOUT; + } + + private static final long _mbstateL$OFFSET = $LAYOUT.byteOffset(groupElement("_mbstateL")); + + /** + * Offset for field: + * {@snippet lang=c : + * long long _mbstateL + * } + */ + public static final long _mbstateL$offset() { + return _mbstateL$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long long _mbstateL + * } + */ + public static long _mbstateL(MemorySegment union) { + return union.get(_mbstateL$LAYOUT, _mbstateL$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long long _mbstateL + * } + */ + public static void _mbstateL(MemorySegment union, long fieldValue) { + union.set(_mbstateL$LAYOUT, _mbstateL$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this union + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__sFILE.java b/generated/src/mlx/__sFILE.java new file mode 100644 index 00000000..20e4853a --- /dev/null +++ b/generated/src/mlx/__sFILE.java @@ -0,0 +1,1300 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __sFILE { + * unsigned char *_p; + * int _r; + * int _w; + * short _flags; + * short _file; + * struct __sbuf _bf; + * int _lbfsize; + * void *_cookie; + * int (* _Nullable _close)(void *); + * int (* _Nullable _read)(void *, char *, int); + * fpos_t (* _Nullable _seek)(void *, fpos_t, int); + * int (* _Nullable _write)(void *, const char *, int); + * struct __sbuf _ub; + * struct __sFILEX *_extra; + * int _ur; + * unsigned char _ubuf[3]; + * unsigned char _nbuf[1]; + * struct __sbuf _lb; + * int _blksize; + * fpos_t _offset; + * } + * } + */ +public class __sFILE { + + __sFILE() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("_p"), + mlx_h.C_INT.withName("_r"), + mlx_h.C_INT.withName("_w"), + mlx_h.C_SHORT.withName("_flags"), + mlx_h.C_SHORT.withName("_file"), + MemoryLayout.paddingLayout(4), + __sbuf.layout().withName("_bf"), + mlx_h.C_INT.withName("_lbfsize"), + MemoryLayout.paddingLayout(4), + mlx_h.C_POINTER.withName("_cookie"), + mlx_h.C_POINTER.withName("_close"), + mlx_h.C_POINTER.withName("_read"), + mlx_h.C_POINTER.withName("_seek"), + mlx_h.C_POINTER.withName("_write"), + __sbuf.layout().withName("_ub"), + mlx_h.C_POINTER.withName("_extra"), + mlx_h.C_INT.withName("_ur"), + MemoryLayout.sequenceLayout(3, mlx_h.C_CHAR).withName("_ubuf"), + MemoryLayout.sequenceLayout(1, mlx_h.C_CHAR).withName("_nbuf"), + __sbuf.layout().withName("_lb"), + mlx_h.C_INT.withName("_blksize"), + MemoryLayout.paddingLayout(4), + mlx_h.C_LONG_LONG.withName("_offset") + ).withName("__sFILE"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout _p$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("_p")); + + /** + * Layout for field: + * {@snippet lang=c : + * unsigned char *_p + * } + */ + public static final AddressLayout _p$layout() { + return _p$LAYOUT; + } + + private static final long _p$OFFSET = $LAYOUT.byteOffset(groupElement("_p")); + + /** + * Offset for field: + * {@snippet lang=c : + * unsigned char *_p + * } + */ + public static final long _p$offset() { + return _p$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * unsigned char *_p + * } + */ + public static MemorySegment _p(MemorySegment struct) { + return struct.get(_p$LAYOUT, _p$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * unsigned char *_p + * } + */ + public static void _p(MemorySegment struct, MemorySegment fieldValue) { + struct.set(_p$LAYOUT, _p$OFFSET, fieldValue); + } + + private static final OfInt _r$LAYOUT = (OfInt)$LAYOUT.select(groupElement("_r")); + + /** + * Layout for field: + * {@snippet lang=c : + * int _r + * } + */ + public static final OfInt _r$layout() { + return _r$LAYOUT; + } + + private static final long _r$OFFSET = $LAYOUT.byteOffset(groupElement("_r")); + + /** + * Offset for field: + * {@snippet lang=c : + * int _r + * } + */ + public static final long _r$offset() { + return _r$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int _r + * } + */ + public static int _r(MemorySegment struct) { + return struct.get(_r$LAYOUT, _r$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int _r + * } + */ + public static void _r(MemorySegment struct, int fieldValue) { + struct.set(_r$LAYOUT, _r$OFFSET, fieldValue); + } + + private static final OfInt _w$LAYOUT = (OfInt)$LAYOUT.select(groupElement("_w")); + + /** + * Layout for field: + * {@snippet lang=c : + * int _w + * } + */ + public static final OfInt _w$layout() { + return _w$LAYOUT; + } + + private static final long _w$OFFSET = $LAYOUT.byteOffset(groupElement("_w")); + + /** + * Offset for field: + * {@snippet lang=c : + * int _w + * } + */ + public static final long _w$offset() { + return _w$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int _w + * } + */ + public static int _w(MemorySegment struct) { + return struct.get(_w$LAYOUT, _w$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int _w + * } + */ + public static void _w(MemorySegment struct, int fieldValue) { + struct.set(_w$LAYOUT, _w$OFFSET, fieldValue); + } + + private static final OfShort _flags$LAYOUT = (OfShort)$LAYOUT.select(groupElement("_flags")); + + /** + * Layout for field: + * {@snippet lang=c : + * short _flags + * } + */ + public static final OfShort _flags$layout() { + return _flags$LAYOUT; + } + + private static final long _flags$OFFSET = $LAYOUT.byteOffset(groupElement("_flags")); + + /** + * Offset for field: + * {@snippet lang=c : + * short _flags + * } + */ + public static final long _flags$offset() { + return _flags$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * short _flags + * } + */ + public static short _flags(MemorySegment struct) { + return struct.get(_flags$LAYOUT, _flags$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * short _flags + * } + */ + public static void _flags(MemorySegment struct, short fieldValue) { + struct.set(_flags$LAYOUT, _flags$OFFSET, fieldValue); + } + + private static final OfShort _file$LAYOUT = (OfShort)$LAYOUT.select(groupElement("_file")); + + /** + * Layout for field: + * {@snippet lang=c : + * short _file + * } + */ + public static final OfShort _file$layout() { + return _file$LAYOUT; + } + + private static final long _file$OFFSET = $LAYOUT.byteOffset(groupElement("_file")); + + /** + * Offset for field: + * {@snippet lang=c : + * short _file + * } + */ + public static final long _file$offset() { + return _file$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * short _file + * } + */ + public static short _file(MemorySegment struct) { + return struct.get(_file$LAYOUT, _file$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * short _file + * } + */ + public static void _file(MemorySegment struct, short fieldValue) { + struct.set(_file$LAYOUT, _file$OFFSET, fieldValue); + } + + private static final GroupLayout _bf$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("_bf")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __sbuf _bf + * } + */ + public static final GroupLayout _bf$layout() { + return _bf$LAYOUT; + } + + private static final long _bf$OFFSET = $LAYOUT.byteOffset(groupElement("_bf")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __sbuf _bf + * } + */ + public static final long _bf$offset() { + return _bf$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __sbuf _bf + * } + */ + public static MemorySegment _bf(MemorySegment struct) { + return struct.asSlice(_bf$OFFSET, _bf$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __sbuf _bf + * } + */ + public static void _bf(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, _bf$OFFSET, _bf$LAYOUT.byteSize()); + } + + private static final OfInt _lbfsize$LAYOUT = (OfInt)$LAYOUT.select(groupElement("_lbfsize")); + + /** + * Layout for field: + * {@snippet lang=c : + * int _lbfsize + * } + */ + public static final OfInt _lbfsize$layout() { + return _lbfsize$LAYOUT; + } + + private static final long _lbfsize$OFFSET = $LAYOUT.byteOffset(groupElement("_lbfsize")); + + /** + * Offset for field: + * {@snippet lang=c : + * int _lbfsize + * } + */ + public static final long _lbfsize$offset() { + return _lbfsize$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int _lbfsize + * } + */ + public static int _lbfsize(MemorySegment struct) { + return struct.get(_lbfsize$LAYOUT, _lbfsize$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int _lbfsize + * } + */ + public static void _lbfsize(MemorySegment struct, int fieldValue) { + struct.set(_lbfsize$LAYOUT, _lbfsize$OFFSET, fieldValue); + } + + private static final AddressLayout _cookie$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("_cookie")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *_cookie + * } + */ + public static final AddressLayout _cookie$layout() { + return _cookie$LAYOUT; + } + + private static final long _cookie$OFFSET = $LAYOUT.byteOffset(groupElement("_cookie")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *_cookie + * } + */ + public static final long _cookie$offset() { + return _cookie$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *_cookie + * } + */ + public static MemorySegment _cookie(MemorySegment struct) { + return struct.get(_cookie$LAYOUT, _cookie$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *_cookie + * } + */ + public static void _cookie(MemorySegment struct, MemorySegment fieldValue) { + struct.set(_cookie$LAYOUT, _cookie$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * int (* _Nullable _close)(void *) + * } + */ + public final static class _close { + + private _close() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(_close.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(_close.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout _close$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("_close")); + + /** + * Layout for field: + * {@snippet lang=c : + * int (* _Nullable _close)(void *) + * } + */ + public static final AddressLayout _close$layout() { + return _close$LAYOUT; + } + + private static final long _close$OFFSET = $LAYOUT.byteOffset(groupElement("_close")); + + /** + * Offset for field: + * {@snippet lang=c : + * int (* _Nullable _close)(void *) + * } + */ + public static final long _close$offset() { + return _close$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int (* _Nullable _close)(void *) + * } + */ + public static MemorySegment _close(MemorySegment struct) { + return struct.get(_close$LAYOUT, _close$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int (* _Nullable _close)(void *) + * } + */ + public static void _close(MemorySegment struct, MemorySegment fieldValue) { + struct.set(_close$LAYOUT, _close$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * int (* _Nullable _read)(void *, char *, int) + * } + */ + public final static class _read { + + private _read() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, int _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(_read.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(_read.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, int _x2) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout _read$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("_read")); + + /** + * Layout for field: + * {@snippet lang=c : + * int (* _Nullable _read)(void *, char *, int) + * } + */ + public static final AddressLayout _read$layout() { + return _read$LAYOUT; + } + + private static final long _read$OFFSET = $LAYOUT.byteOffset(groupElement("_read")); + + /** + * Offset for field: + * {@snippet lang=c : + * int (* _Nullable _read)(void *, char *, int) + * } + */ + public static final long _read$offset() { + return _read$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int (* _Nullable _read)(void *, char *, int) + * } + */ + public static MemorySegment _read(MemorySegment struct) { + return struct.get(_read$LAYOUT, _read$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int (* _Nullable _read)(void *, char *, int) + * } + */ + public static void _read(MemorySegment struct, MemorySegment fieldValue) { + struct.set(_read$LAYOUT, _read$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * fpos_t (* _Nullable _seek)(void *, fpos_t, int) + * } + */ + public final static class _seek { + + private _seek() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + long apply(MemorySegment _x0, long _x1, int _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_LONG_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG_LONG, + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(_seek.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(_seek.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static long invoke(MemorySegment funcPtr, MemorySegment _x0, long _x1, int _x2) { + try { + return (long) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout _seek$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("_seek")); + + /** + * Layout for field: + * {@snippet lang=c : + * fpos_t (* _Nullable _seek)(void *, fpos_t, int) + * } + */ + public static final AddressLayout _seek$layout() { + return _seek$LAYOUT; + } + + private static final long _seek$OFFSET = $LAYOUT.byteOffset(groupElement("_seek")); + + /** + * Offset for field: + * {@snippet lang=c : + * fpos_t (* _Nullable _seek)(void *, fpos_t, int) + * } + */ + public static final long _seek$offset() { + return _seek$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * fpos_t (* _Nullable _seek)(void *, fpos_t, int) + * } + */ + public static MemorySegment _seek(MemorySegment struct) { + return struct.get(_seek$LAYOUT, _seek$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * fpos_t (* _Nullable _seek)(void *, fpos_t, int) + * } + */ + public static void _seek(MemorySegment struct, MemorySegment fieldValue) { + struct.set(_seek$LAYOUT, _seek$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * int (* _Nullable _write)(void *, const char *, int) + * } + */ + public final static class _write { + + private _write() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, int _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(_write.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(_write.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, int _x2) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout _write$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("_write")); + + /** + * Layout for field: + * {@snippet lang=c : + * int (* _Nullable _write)(void *, const char *, int) + * } + */ + public static final AddressLayout _write$layout() { + return _write$LAYOUT; + } + + private static final long _write$OFFSET = $LAYOUT.byteOffset(groupElement("_write")); + + /** + * Offset for field: + * {@snippet lang=c : + * int (* _Nullable _write)(void *, const char *, int) + * } + */ + public static final long _write$offset() { + return _write$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int (* _Nullable _write)(void *, const char *, int) + * } + */ + public static MemorySegment _write(MemorySegment struct) { + return struct.get(_write$LAYOUT, _write$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int (* _Nullable _write)(void *, const char *, int) + * } + */ + public static void _write(MemorySegment struct, MemorySegment fieldValue) { + struct.set(_write$LAYOUT, _write$OFFSET, fieldValue); + } + + private static final GroupLayout _ub$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("_ub")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __sbuf _ub + * } + */ + public static final GroupLayout _ub$layout() { + return _ub$LAYOUT; + } + + private static final long _ub$OFFSET = $LAYOUT.byteOffset(groupElement("_ub")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __sbuf _ub + * } + */ + public static final long _ub$offset() { + return _ub$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __sbuf _ub + * } + */ + public static MemorySegment _ub(MemorySegment struct) { + return struct.asSlice(_ub$OFFSET, _ub$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __sbuf _ub + * } + */ + public static void _ub(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, _ub$OFFSET, _ub$LAYOUT.byteSize()); + } + + private static final AddressLayout _extra$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("_extra")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __sFILEX *_extra + * } + */ + public static final AddressLayout _extra$layout() { + return _extra$LAYOUT; + } + + private static final long _extra$OFFSET = $LAYOUT.byteOffset(groupElement("_extra")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __sFILEX *_extra + * } + */ + public static final long _extra$offset() { + return _extra$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __sFILEX *_extra + * } + */ + public static MemorySegment _extra(MemorySegment struct) { + return struct.get(_extra$LAYOUT, _extra$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __sFILEX *_extra + * } + */ + public static void _extra(MemorySegment struct, MemorySegment fieldValue) { + struct.set(_extra$LAYOUT, _extra$OFFSET, fieldValue); + } + + private static final OfInt _ur$LAYOUT = (OfInt)$LAYOUT.select(groupElement("_ur")); + + /** + * Layout for field: + * {@snippet lang=c : + * int _ur + * } + */ + public static final OfInt _ur$layout() { + return _ur$LAYOUT; + } + + private static final long _ur$OFFSET = $LAYOUT.byteOffset(groupElement("_ur")); + + /** + * Offset for field: + * {@snippet lang=c : + * int _ur + * } + */ + public static final long _ur$offset() { + return _ur$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int _ur + * } + */ + public static int _ur(MemorySegment struct) { + return struct.get(_ur$LAYOUT, _ur$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int _ur + * } + */ + public static void _ur(MemorySegment struct, int fieldValue) { + struct.set(_ur$LAYOUT, _ur$OFFSET, fieldValue); + } + + private static final SequenceLayout _ubuf$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("_ubuf")); + + /** + * Layout for field: + * {@snippet lang=c : + * unsigned char _ubuf[3] + * } + */ + public static final SequenceLayout _ubuf$layout() { + return _ubuf$LAYOUT; + } + + private static final long _ubuf$OFFSET = $LAYOUT.byteOffset(groupElement("_ubuf")); + + /** + * Offset for field: + * {@snippet lang=c : + * unsigned char _ubuf[3] + * } + */ + public static final long _ubuf$offset() { + return _ubuf$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * unsigned char _ubuf[3] + * } + */ + public static MemorySegment _ubuf(MemorySegment struct) { + return struct.asSlice(_ubuf$OFFSET, _ubuf$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * unsigned char _ubuf[3] + * } + */ + public static void _ubuf(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, _ubuf$OFFSET, _ubuf$LAYOUT.byteSize()); + } + + private static long[] _ubuf$DIMS = { 3 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * unsigned char _ubuf[3] + * } + */ + public static long[] _ubuf$dimensions() { + return _ubuf$DIMS; + } + private static final VarHandle _ubuf$ELEM_HANDLE = _ubuf$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * unsigned char _ubuf[3] + * } + */ + public static byte _ubuf(MemorySegment struct, long index0) { + return (byte)_ubuf$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * unsigned char _ubuf[3] + * } + */ + public static void _ubuf(MemorySegment struct, long index0, byte fieldValue) { + _ubuf$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final SequenceLayout _nbuf$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("_nbuf")); + + /** + * Layout for field: + * {@snippet lang=c : + * unsigned char _nbuf[1] + * } + */ + public static final SequenceLayout _nbuf$layout() { + return _nbuf$LAYOUT; + } + + private static final long _nbuf$OFFSET = $LAYOUT.byteOffset(groupElement("_nbuf")); + + /** + * Offset for field: + * {@snippet lang=c : + * unsigned char _nbuf[1] + * } + */ + public static final long _nbuf$offset() { + return _nbuf$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * unsigned char _nbuf[1] + * } + */ + public static MemorySegment _nbuf(MemorySegment struct) { + return struct.asSlice(_nbuf$OFFSET, _nbuf$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * unsigned char _nbuf[1] + * } + */ + public static void _nbuf(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, _nbuf$OFFSET, _nbuf$LAYOUT.byteSize()); + } + + private static long[] _nbuf$DIMS = { 1 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * unsigned char _nbuf[1] + * } + */ + public static long[] _nbuf$dimensions() { + return _nbuf$DIMS; + } + private static final VarHandle _nbuf$ELEM_HANDLE = _nbuf$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * unsigned char _nbuf[1] + * } + */ + public static byte _nbuf(MemorySegment struct, long index0) { + return (byte)_nbuf$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * unsigned char _nbuf[1] + * } + */ + public static void _nbuf(MemorySegment struct, long index0, byte fieldValue) { + _nbuf$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final GroupLayout _lb$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("_lb")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __sbuf _lb + * } + */ + public static final GroupLayout _lb$layout() { + return _lb$LAYOUT; + } + + private static final long _lb$OFFSET = $LAYOUT.byteOffset(groupElement("_lb")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __sbuf _lb + * } + */ + public static final long _lb$offset() { + return _lb$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __sbuf _lb + * } + */ + public static MemorySegment _lb(MemorySegment struct) { + return struct.asSlice(_lb$OFFSET, _lb$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __sbuf _lb + * } + */ + public static void _lb(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, _lb$OFFSET, _lb$LAYOUT.byteSize()); + } + + private static final OfInt _blksize$LAYOUT = (OfInt)$LAYOUT.select(groupElement("_blksize")); + + /** + * Layout for field: + * {@snippet lang=c : + * int _blksize + * } + */ + public static final OfInt _blksize$layout() { + return _blksize$LAYOUT; + } + + private static final long _blksize$OFFSET = $LAYOUT.byteOffset(groupElement("_blksize")); + + /** + * Offset for field: + * {@snippet lang=c : + * int _blksize + * } + */ + public static final long _blksize$offset() { + return _blksize$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int _blksize + * } + */ + public static int _blksize(MemorySegment struct) { + return struct.get(_blksize$LAYOUT, _blksize$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int _blksize + * } + */ + public static void _blksize(MemorySegment struct, int fieldValue) { + struct.set(_blksize$LAYOUT, _blksize$OFFSET, fieldValue); + } + + private static final OfLong _offset$LAYOUT = (OfLong)$LAYOUT.select(groupElement("_offset")); + + /** + * Layout for field: + * {@snippet lang=c : + * fpos_t _offset + * } + */ + public static final OfLong _offset$layout() { + return _offset$LAYOUT; + } + + private static final long _offset$OFFSET = $LAYOUT.byteOffset(groupElement("_offset")); + + /** + * Offset for field: + * {@snippet lang=c : + * fpos_t _offset + * } + */ + public static final long _offset$offset() { + return _offset$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * fpos_t _offset + * } + */ + public static long _offset(MemorySegment struct) { + return struct.get(_offset$LAYOUT, _offset$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * fpos_t _offset + * } + */ + public static void _offset(MemorySegment struct, long fieldValue) { + struct.set(_offset$LAYOUT, _offset$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__sbuf.java b/generated/src/mlx/__sbuf.java new file mode 100644 index 00000000..255d9190 --- /dev/null +++ b/generated/src/mlx/__sbuf.java @@ -0,0 +1,174 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __sbuf { + * unsigned char *_base; + * int _size; + * } + * } + */ +public class __sbuf { + + __sbuf() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("_base"), + mlx_h.C_INT.withName("_size"), + MemoryLayout.paddingLayout(4) + ).withName("__sbuf"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout _base$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("_base")); + + /** + * Layout for field: + * {@snippet lang=c : + * unsigned char *_base + * } + */ + public static final AddressLayout _base$layout() { + return _base$LAYOUT; + } + + private static final long _base$OFFSET = $LAYOUT.byteOffset(groupElement("_base")); + + /** + * Offset for field: + * {@snippet lang=c : + * unsigned char *_base + * } + */ + public static final long _base$offset() { + return _base$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * unsigned char *_base + * } + */ + public static MemorySegment _base(MemorySegment struct) { + return struct.get(_base$LAYOUT, _base$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * unsigned char *_base + * } + */ + public static void _base(MemorySegment struct, MemorySegment fieldValue) { + struct.set(_base$LAYOUT, _base$OFFSET, fieldValue); + } + + private static final OfInt _size$LAYOUT = (OfInt)$LAYOUT.select(groupElement("_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * int _size + * } + */ + public static final OfInt _size$layout() { + return _size$LAYOUT; + } + + private static final long _size$OFFSET = $LAYOUT.byteOffset(groupElement("_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * int _size + * } + */ + public static final long _size$offset() { + return _size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int _size + * } + */ + public static int _size(MemorySegment struct) { + return struct.get(_size$LAYOUT, _size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int _size + * } + */ + public static void _size(MemorySegment struct, int fieldValue) { + struct.set(_size$LAYOUT, _size$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__sigaction.java b/generated/src/mlx/__sigaction.java new file mode 100644 index 00000000..df564e4f --- /dev/null +++ b/generated/src/mlx/__sigaction.java @@ -0,0 +1,324 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __sigaction { + * union __sigaction_u __sigaction_u; + * void (*sa_tramp)(void *, int, int, siginfo_t *, void *); + * sigset_t sa_mask; + * int sa_flags; + * } + * } + */ +public class __sigaction { + + __sigaction() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + __sigaction_u.layout().withName("__sigaction_u"), + mlx_h.C_POINTER.withName("sa_tramp"), + mlx_h.C_INT.withName("sa_mask"), + mlx_h.C_INT.withName("sa_flags") + ).withName("__sigaction"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout __sigaction_u$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("__sigaction_u")); + + /** + * Layout for field: + * {@snippet lang=c : + * union __sigaction_u __sigaction_u + * } + */ + public static final GroupLayout __sigaction_u$layout() { + return __sigaction_u$LAYOUT; + } + + private static final long __sigaction_u$OFFSET = $LAYOUT.byteOffset(groupElement("__sigaction_u")); + + /** + * Offset for field: + * {@snippet lang=c : + * union __sigaction_u __sigaction_u + * } + */ + public static final long __sigaction_u$offset() { + return __sigaction_u$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * union __sigaction_u __sigaction_u + * } + */ + public static MemorySegment __sigaction_u(MemorySegment struct) { + return struct.asSlice(__sigaction_u$OFFSET, __sigaction_u$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * union __sigaction_u __sigaction_u + * } + */ + public static void __sigaction_u(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __sigaction_u$OFFSET, __sigaction_u$LAYOUT.byteSize()); + } + + /** + * {@snippet lang=c : + * void (*sa_tramp)(void *, int, int, siginfo_t *, void *) + * } + */ + public final static class sa_tramp { + + private sa_tramp() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0, int _x1, int _x2, MemorySegment _x3, MemorySegment _x4); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(sa_tramp.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(sa_tramp.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0, int _x1, int _x2, MemorySegment _x3, MemorySegment _x4) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout sa_tramp$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("sa_tramp")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*sa_tramp)(void *, int, int, siginfo_t *, void *) + * } + */ + public static final AddressLayout sa_tramp$layout() { + return sa_tramp$LAYOUT; + } + + private static final long sa_tramp$OFFSET = $LAYOUT.byteOffset(groupElement("sa_tramp")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*sa_tramp)(void *, int, int, siginfo_t *, void *) + * } + */ + public static final long sa_tramp$offset() { + return sa_tramp$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*sa_tramp)(void *, int, int, siginfo_t *, void *) + * } + */ + public static MemorySegment sa_tramp(MemorySegment struct) { + return struct.get(sa_tramp$LAYOUT, sa_tramp$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*sa_tramp)(void *, int, int, siginfo_t *, void *) + * } + */ + public static void sa_tramp(MemorySegment struct, MemorySegment fieldValue) { + struct.set(sa_tramp$LAYOUT, sa_tramp$OFFSET, fieldValue); + } + + private static final OfInt sa_mask$LAYOUT = (OfInt)$LAYOUT.select(groupElement("sa_mask")); + + /** + * Layout for field: + * {@snippet lang=c : + * sigset_t sa_mask + * } + */ + public static final OfInt sa_mask$layout() { + return sa_mask$LAYOUT; + } + + private static final long sa_mask$OFFSET = $LAYOUT.byteOffset(groupElement("sa_mask")); + + /** + * Offset for field: + * {@snippet lang=c : + * sigset_t sa_mask + * } + */ + public static final long sa_mask$offset() { + return sa_mask$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * sigset_t sa_mask + * } + */ + public static int sa_mask(MemorySegment struct) { + return struct.get(sa_mask$LAYOUT, sa_mask$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * sigset_t sa_mask + * } + */ + public static void sa_mask(MemorySegment struct, int fieldValue) { + struct.set(sa_mask$LAYOUT, sa_mask$OFFSET, fieldValue); + } + + private static final OfInt sa_flags$LAYOUT = (OfInt)$LAYOUT.select(groupElement("sa_flags")); + + /** + * Layout for field: + * {@snippet lang=c : + * int sa_flags + * } + */ + public static final OfInt sa_flags$layout() { + return sa_flags$LAYOUT; + } + + private static final long sa_flags$OFFSET = $LAYOUT.byteOffset(groupElement("sa_flags")); + + /** + * Offset for field: + * {@snippet lang=c : + * int sa_flags + * } + */ + public static final long sa_flags$offset() { + return sa_flags$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int sa_flags + * } + */ + public static int sa_flags(MemorySegment struct) { + return struct.get(sa_flags$LAYOUT, sa_flags$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int sa_flags + * } + */ + public static void sa_flags(MemorySegment struct, int fieldValue) { + struct.set(sa_flags$LAYOUT, sa_flags$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__sigaction_u.java b/generated/src/mlx/__sigaction_u.java new file mode 100644 index 00000000..2ebb9201 --- /dev/null +++ b/generated/src/mlx/__sigaction_u.java @@ -0,0 +1,285 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * union __sigaction_u { + * void (*__sa_handler)(int); + * void (*__sa_sigaction)(int, struct __siginfo *, void *); + * } + * } + */ +public class __sigaction_u { + + __sigaction_u() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.unionLayout( + mlx_h.C_POINTER.withName("__sa_handler"), + mlx_h.C_POINTER.withName("__sa_sigaction") + ).withName("__sigaction_u"); + + /** + * The layout of this union + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + /** + * {@snippet lang=c : + * void (*__sa_handler)(int) + * } + */ + public final static class __sa_handler { + + private __sa_handler() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(__sa_handler.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(__sa_handler.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout __sa_handler$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("__sa_handler")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*__sa_handler)(int) + * } + */ + public static final AddressLayout __sa_handler$layout() { + return __sa_handler$LAYOUT; + } + + private static final long __sa_handler$OFFSET = $LAYOUT.byteOffset(groupElement("__sa_handler")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*__sa_handler)(int) + * } + */ + public static final long __sa_handler$offset() { + return __sa_handler$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*__sa_handler)(int) + * } + */ + public static MemorySegment __sa_handler(MemorySegment union) { + return union.get(__sa_handler$LAYOUT, __sa_handler$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*__sa_handler)(int) + * } + */ + public static void __sa_handler(MemorySegment union, MemorySegment fieldValue) { + union.set(__sa_handler$LAYOUT, __sa_handler$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * void (*__sa_sigaction)(int, struct __siginfo *, void *) + * } + */ + public final static class __sa_sigaction { + + private __sa_sigaction() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int _x0, MemorySegment _x1, MemorySegment _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(__sa_sigaction.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(__sa_sigaction.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int _x0, MemorySegment _x1, MemorySegment _x2) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout __sa_sigaction$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("__sa_sigaction")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*__sa_sigaction)(int, struct __siginfo *, void *) + * } + */ + public static final AddressLayout __sa_sigaction$layout() { + return __sa_sigaction$LAYOUT; + } + + private static final long __sa_sigaction$OFFSET = $LAYOUT.byteOffset(groupElement("__sa_sigaction")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*__sa_sigaction)(int, struct __siginfo *, void *) + * } + */ + public static final long __sa_sigaction$offset() { + return __sa_sigaction$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*__sa_sigaction)(int, struct __siginfo *, void *) + * } + */ + public static MemorySegment __sa_sigaction(MemorySegment union) { + return union.get(__sa_sigaction$LAYOUT, __sa_sigaction$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*__sa_sigaction)(int, struct __siginfo *, void *) + * } + */ + public static void __sa_sigaction(MemorySegment union, MemorySegment fieldValue) { + union.set(__sa_sigaction$LAYOUT, __sa_sigaction$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this union + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/__siginfo.java b/generated/src/mlx/__siginfo.java new file mode 100644 index 00000000..6d7a3663 --- /dev/null +++ b/generated/src/mlx/__siginfo.java @@ -0,0 +1,574 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct __siginfo { + * int si_signo; + * int si_errno; + * int si_code; + * pid_t si_pid; + * uid_t si_uid; + * int si_status; + * void *si_addr; + * union sigval si_value; + * long si_band; + * unsigned long __pad[7]; + * } + * } + */ +public class __siginfo { + + __siginfo() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_INT.withName("si_signo"), + mlx_h.C_INT.withName("si_errno"), + mlx_h.C_INT.withName("si_code"), + mlx_h.C_INT.withName("si_pid"), + mlx_h.C_INT.withName("si_uid"), + mlx_h.C_INT.withName("si_status"), + mlx_h.C_POINTER.withName("si_addr"), + sigval.layout().withName("si_value"), + mlx_h.C_LONG.withName("si_band"), + MemoryLayout.sequenceLayout(7, mlx_h.C_LONG).withName("__pad") + ).withName("__siginfo"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt si_signo$LAYOUT = (OfInt)$LAYOUT.select(groupElement("si_signo")); + + /** + * Layout for field: + * {@snippet lang=c : + * int si_signo + * } + */ + public static final OfInt si_signo$layout() { + return si_signo$LAYOUT; + } + + private static final long si_signo$OFFSET = $LAYOUT.byteOffset(groupElement("si_signo")); + + /** + * Offset for field: + * {@snippet lang=c : + * int si_signo + * } + */ + public static final long si_signo$offset() { + return si_signo$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int si_signo + * } + */ + public static int si_signo(MemorySegment struct) { + return struct.get(si_signo$LAYOUT, si_signo$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int si_signo + * } + */ + public static void si_signo(MemorySegment struct, int fieldValue) { + struct.set(si_signo$LAYOUT, si_signo$OFFSET, fieldValue); + } + + private static final OfInt si_errno$LAYOUT = (OfInt)$LAYOUT.select(groupElement("si_errno")); + + /** + * Layout for field: + * {@snippet lang=c : + * int si_errno + * } + */ + public static final OfInt si_errno$layout() { + return si_errno$LAYOUT; + } + + private static final long si_errno$OFFSET = $LAYOUT.byteOffset(groupElement("si_errno")); + + /** + * Offset for field: + * {@snippet lang=c : + * int si_errno + * } + */ + public static final long si_errno$offset() { + return si_errno$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int si_errno + * } + */ + public static int si_errno(MemorySegment struct) { + return struct.get(si_errno$LAYOUT, si_errno$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int si_errno + * } + */ + public static void si_errno(MemorySegment struct, int fieldValue) { + struct.set(si_errno$LAYOUT, si_errno$OFFSET, fieldValue); + } + + private static final OfInt si_code$LAYOUT = (OfInt)$LAYOUT.select(groupElement("si_code")); + + /** + * Layout for field: + * {@snippet lang=c : + * int si_code + * } + */ + public static final OfInt si_code$layout() { + return si_code$LAYOUT; + } + + private static final long si_code$OFFSET = $LAYOUT.byteOffset(groupElement("si_code")); + + /** + * Offset for field: + * {@snippet lang=c : + * int si_code + * } + */ + public static final long si_code$offset() { + return si_code$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int si_code + * } + */ + public static int si_code(MemorySegment struct) { + return struct.get(si_code$LAYOUT, si_code$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int si_code + * } + */ + public static void si_code(MemorySegment struct, int fieldValue) { + struct.set(si_code$LAYOUT, si_code$OFFSET, fieldValue); + } + + private static final OfInt si_pid$LAYOUT = (OfInt)$LAYOUT.select(groupElement("si_pid")); + + /** + * Layout for field: + * {@snippet lang=c : + * pid_t si_pid + * } + */ + public static final OfInt si_pid$layout() { + return si_pid$LAYOUT; + } + + private static final long si_pid$OFFSET = $LAYOUT.byteOffset(groupElement("si_pid")); + + /** + * Offset for field: + * {@snippet lang=c : + * pid_t si_pid + * } + */ + public static final long si_pid$offset() { + return si_pid$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * pid_t si_pid + * } + */ + public static int si_pid(MemorySegment struct) { + return struct.get(si_pid$LAYOUT, si_pid$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * pid_t si_pid + * } + */ + public static void si_pid(MemorySegment struct, int fieldValue) { + struct.set(si_pid$LAYOUT, si_pid$OFFSET, fieldValue); + } + + private static final OfInt si_uid$LAYOUT = (OfInt)$LAYOUT.select(groupElement("si_uid")); + + /** + * Layout for field: + * {@snippet lang=c : + * uid_t si_uid + * } + */ + public static final OfInt si_uid$layout() { + return si_uid$LAYOUT; + } + + private static final long si_uid$OFFSET = $LAYOUT.byteOffset(groupElement("si_uid")); + + /** + * Offset for field: + * {@snippet lang=c : + * uid_t si_uid + * } + */ + public static final long si_uid$offset() { + return si_uid$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uid_t si_uid + * } + */ + public static int si_uid(MemorySegment struct) { + return struct.get(si_uid$LAYOUT, si_uid$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uid_t si_uid + * } + */ + public static void si_uid(MemorySegment struct, int fieldValue) { + struct.set(si_uid$LAYOUT, si_uid$OFFSET, fieldValue); + } + + private static final OfInt si_status$LAYOUT = (OfInt)$LAYOUT.select(groupElement("si_status")); + + /** + * Layout for field: + * {@snippet lang=c : + * int si_status + * } + */ + public static final OfInt si_status$layout() { + return si_status$LAYOUT; + } + + private static final long si_status$OFFSET = $LAYOUT.byteOffset(groupElement("si_status")); + + /** + * Offset for field: + * {@snippet lang=c : + * int si_status + * } + */ + public static final long si_status$offset() { + return si_status$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int si_status + * } + */ + public static int si_status(MemorySegment struct) { + return struct.get(si_status$LAYOUT, si_status$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int si_status + * } + */ + public static void si_status(MemorySegment struct, int fieldValue) { + struct.set(si_status$LAYOUT, si_status$OFFSET, fieldValue); + } + + private static final AddressLayout si_addr$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("si_addr")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *si_addr + * } + */ + public static final AddressLayout si_addr$layout() { + return si_addr$LAYOUT; + } + + private static final long si_addr$OFFSET = $LAYOUT.byteOffset(groupElement("si_addr")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *si_addr + * } + */ + public static final long si_addr$offset() { + return si_addr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *si_addr + * } + */ + public static MemorySegment si_addr(MemorySegment struct) { + return struct.get(si_addr$LAYOUT, si_addr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *si_addr + * } + */ + public static void si_addr(MemorySegment struct, MemorySegment fieldValue) { + struct.set(si_addr$LAYOUT, si_addr$OFFSET, fieldValue); + } + + private static final GroupLayout si_value$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("si_value")); + + /** + * Layout for field: + * {@snippet lang=c : + * union sigval si_value + * } + */ + public static final GroupLayout si_value$layout() { + return si_value$LAYOUT; + } + + private static final long si_value$OFFSET = $LAYOUT.byteOffset(groupElement("si_value")); + + /** + * Offset for field: + * {@snippet lang=c : + * union sigval si_value + * } + */ + public static final long si_value$offset() { + return si_value$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * union sigval si_value + * } + */ + public static MemorySegment si_value(MemorySegment struct) { + return struct.asSlice(si_value$OFFSET, si_value$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * union sigval si_value + * } + */ + public static void si_value(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, si_value$OFFSET, si_value$LAYOUT.byteSize()); + } + + private static final OfLong si_band$LAYOUT = (OfLong)$LAYOUT.select(groupElement("si_band")); + + /** + * Layout for field: + * {@snippet lang=c : + * long si_band + * } + */ + public static final OfLong si_band$layout() { + return si_band$LAYOUT; + } + + private static final long si_band$OFFSET = $LAYOUT.byteOffset(groupElement("si_band")); + + /** + * Offset for field: + * {@snippet lang=c : + * long si_band + * } + */ + public static final long si_band$offset() { + return si_band$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long si_band + * } + */ + public static long si_band(MemorySegment struct) { + return struct.get(si_band$LAYOUT, si_band$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long si_band + * } + */ + public static void si_band(MemorySegment struct, long fieldValue) { + struct.set(si_band$LAYOUT, si_band$OFFSET, fieldValue); + } + + private static final SequenceLayout __pad$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__pad")); + + /** + * Layout for field: + * {@snippet lang=c : + * unsigned long __pad[7] + * } + */ + public static final SequenceLayout __pad$layout() { + return __pad$LAYOUT; + } + + private static final long __pad$OFFSET = $LAYOUT.byteOffset(groupElement("__pad")); + + /** + * Offset for field: + * {@snippet lang=c : + * unsigned long __pad[7] + * } + */ + public static final long __pad$offset() { + return __pad$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * unsigned long __pad[7] + * } + */ + public static MemorySegment __pad(MemorySegment struct) { + return struct.asSlice(__pad$OFFSET, __pad$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * unsigned long __pad[7] + * } + */ + public static void __pad(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __pad$OFFSET, __pad$LAYOUT.byteSize()); + } + + private static long[] __pad$DIMS = { 7 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * unsigned long __pad[7] + * } + */ + public static long[] __pad$dimensions() { + return __pad$DIMS; + } + private static final VarHandle __pad$ELEM_HANDLE = __pad$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * unsigned long __pad[7] + * } + */ + public static long __pad(MemorySegment struct, long index0) { + return (long)__pad$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * unsigned long __pad[7] + * } + */ + public static void __pad(MemorySegment struct, long index0, long fieldValue) { + __pad$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/_opaque_pthread_attr_t.java b/generated/src/mlx/_opaque_pthread_attr_t.java new file mode 100644 index 00000000..4033ef25 --- /dev/null +++ b/generated/src/mlx/_opaque_pthread_attr_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_attr_t { + * long __sig; + * char __opaque[56]; + * } + * } + */ +public class _opaque_pthread_attr_t { + + _opaque_pthread_attr_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(56, mlx_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_attr_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 56 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/_opaque_pthread_cond_t.java b/generated/src/mlx/_opaque_pthread_cond_t.java new file mode 100644 index 00000000..8571d5dc --- /dev/null +++ b/generated/src/mlx/_opaque_pthread_cond_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_cond_t { + * long __sig; + * char __opaque[40]; + * } + * } + */ +public class _opaque_pthread_cond_t { + + _opaque_pthread_cond_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(40, mlx_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_cond_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 40 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[40] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/_opaque_pthread_condattr_t.java b/generated/src/mlx/_opaque_pthread_condattr_t.java new file mode 100644 index 00000000..339ad693 --- /dev/null +++ b/generated/src/mlx/_opaque_pthread_condattr_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_condattr_t { + * long __sig; + * char __opaque[8]; + * } + * } + */ +public class _opaque_pthread_condattr_t { + + _opaque_pthread_condattr_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(8, mlx_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_condattr_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 8 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/_opaque_pthread_mutex_t.java b/generated/src/mlx/_opaque_pthread_mutex_t.java new file mode 100644 index 00000000..fad389d3 --- /dev/null +++ b/generated/src/mlx/_opaque_pthread_mutex_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_mutex_t { + * long __sig; + * char __opaque[56]; + * } + * } + */ +public class _opaque_pthread_mutex_t { + + _opaque_pthread_mutex_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(56, mlx_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_mutex_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 56 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[56] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/_opaque_pthread_mutexattr_t.java b/generated/src/mlx/_opaque_pthread_mutexattr_t.java new file mode 100644 index 00000000..73f450dc --- /dev/null +++ b/generated/src/mlx/_opaque_pthread_mutexattr_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_mutexattr_t { + * long __sig; + * char __opaque[8]; + * } + * } + */ +public class _opaque_pthread_mutexattr_t { + + _opaque_pthread_mutexattr_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(8, mlx_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_mutexattr_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 8 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/_opaque_pthread_once_t.java b/generated/src/mlx/_opaque_pthread_once_t.java new file mode 100644 index 00000000..01ac5850 --- /dev/null +++ b/generated/src/mlx/_opaque_pthread_once_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_once_t { + * long __sig; + * char __opaque[8]; + * } + * } + */ +public class _opaque_pthread_once_t { + + _opaque_pthread_once_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(8, mlx_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_once_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 8 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[8] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/_opaque_pthread_rwlock_t.java b/generated/src/mlx/_opaque_pthread_rwlock_t.java new file mode 100644 index 00000000..bb5618ab --- /dev/null +++ b/generated/src/mlx/_opaque_pthread_rwlock_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_rwlock_t { + * long __sig; + * char __opaque[192]; + * } + * } + */ +public class _opaque_pthread_rwlock_t { + + _opaque_pthread_rwlock_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(192, mlx_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_rwlock_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 192 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[192] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/_opaque_pthread_rwlockattr_t.java b/generated/src/mlx/_opaque_pthread_rwlockattr_t.java new file mode 100644 index 00000000..00e2f259 --- /dev/null +++ b/generated/src/mlx/_opaque_pthread_rwlockattr_t.java @@ -0,0 +1,206 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_rwlockattr_t { + * long __sig; + * char __opaque[16]; + * } + * } + */ +public class _opaque_pthread_rwlockattr_t { + + _opaque_pthread_rwlockattr_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG.withName("__sig"), + MemoryLayout.sequenceLayout(16, mlx_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_rwlockattr_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[16] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/_opaque_pthread_t.java b/generated/src/mlx/_opaque_pthread_t.java new file mode 100644 index 00000000..7c96350e --- /dev/null +++ b/generated/src/mlx/_opaque_pthread_t.java @@ -0,0 +1,252 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct _opaque_pthread_t { + * long __sig; + * struct __darwin_pthread_handler_rec *__cleanup_stack; + * char __opaque[8176]; + * } + * } + */ +public class _opaque_pthread_t { + + _opaque_pthread_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG.withName("__sig"), + mlx_h.C_POINTER.withName("__cleanup_stack"), + MemoryLayout.sequenceLayout(8176, mlx_h.C_CHAR).withName("__opaque") + ).withName("_opaque_pthread_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong __sig$LAYOUT = (OfLong)$LAYOUT.select(groupElement("__sig")); + + /** + * Layout for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final OfLong __sig$layout() { + return __sig$LAYOUT; + } + + private static final long __sig$OFFSET = $LAYOUT.byteOffset(groupElement("__sig")); + + /** + * Offset for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static final long __sig$offset() { + return __sig$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static long __sig(MemorySegment struct) { + return struct.get(__sig$LAYOUT, __sig$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long __sig + * } + */ + public static void __sig(MemorySegment struct, long fieldValue) { + struct.set(__sig$LAYOUT, __sig$OFFSET, fieldValue); + } + + private static final AddressLayout __cleanup_stack$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("__cleanup_stack")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__cleanup_stack + * } + */ + public static final AddressLayout __cleanup_stack$layout() { + return __cleanup_stack$LAYOUT; + } + + private static final long __cleanup_stack$OFFSET = $LAYOUT.byteOffset(groupElement("__cleanup_stack")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__cleanup_stack + * } + */ + public static final long __cleanup_stack$offset() { + return __cleanup_stack$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__cleanup_stack + * } + */ + public static MemorySegment __cleanup_stack(MemorySegment struct) { + return struct.get(__cleanup_stack$LAYOUT, __cleanup_stack$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct __darwin_pthread_handler_rec *__cleanup_stack + * } + */ + public static void __cleanup_stack(MemorySegment struct, MemorySegment fieldValue) { + struct.set(__cleanup_stack$LAYOUT, __cleanup_stack$OFFSET, fieldValue); + } + + private static final SequenceLayout __opaque$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("__opaque")); + + /** + * Layout for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static final SequenceLayout __opaque$layout() { + return __opaque$LAYOUT; + } + + private static final long __opaque$OFFSET = $LAYOUT.byteOffset(groupElement("__opaque")); + + /** + * Offset for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static final long __opaque$offset() { + return __opaque$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static MemorySegment __opaque(MemorySegment struct) { + return struct.asSlice(__opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static void __opaque(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __opaque$OFFSET, __opaque$LAYOUT.byteSize()); + } + + private static long[] __opaque$DIMS = { 8176 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static long[] __opaque$dimensions() { + return __opaque$DIMS; + } + private static final VarHandle __opaque$ELEM_HANDLE = __opaque$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static byte __opaque(MemorySegment struct, long index0) { + return (byte)__opaque$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char __opaque[8176] + * } + */ + public static void __opaque(MemorySegment struct, long index0, byte fieldValue) { + __opaque$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/at_quick_exit$x0.java b/generated/src/mlx/at_quick_exit$x0.java new file mode 100644 index 00000000..03e32484 --- /dev/null +++ b/generated/src/mlx/at_quick_exit$x0.java @@ -0,0 +1,67 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (*)(void) + * } + */ +public final class at_quick_exit$x0 { + + private at_quick_exit$x0() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid(); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(at_quick_exit$x0.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(at_quick_exit$x0.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr) { + try { + DOWN$MH.invokeExact(funcPtr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/atexit$x0.java b/generated/src/mlx/atexit$x0.java new file mode 100644 index 00000000..fb59e653 --- /dev/null +++ b/generated/src/mlx/atexit$x0.java @@ -0,0 +1,67 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (* _Nonnull)(void) + * } + */ +public final class atexit$x0 { + + private atexit$x0() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid(); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(atexit$x0.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(atexit$x0.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr) { + try { + DOWN$MH.invokeExact(funcPtr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/atexit_b$x0.java b/generated/src/mlx/atexit_b$x0.java new file mode 100644 index 00000000..9de60100 --- /dev/null +++ b/generated/src/mlx/atexit_b$x0.java @@ -0,0 +1,67 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (^ _Nonnull)(void) + * } + */ +public final class atexit_b$x0 { + + private atexit_b$x0() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid(); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(atexit_b$x0.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(atexit_b$x0.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr) { + try { + DOWN$MH.invokeExact(funcPtr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/bsearch$__compar.java b/generated/src/mlx/bsearch$__compar.java new file mode 100644 index 00000000..c27f4b40 --- /dev/null +++ b/generated/src/mlx/bsearch$__compar.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (* _Nonnull __compar)(const void *, const void *) + * } + */ +public final class bsearch$__compar { + + private bsearch$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(bsearch$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(bsearch$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/bsearch_b$__compar.java b/generated/src/mlx/bsearch_b$__compar.java new file mode 100644 index 00000000..8c9d1870 --- /dev/null +++ b/generated/src/mlx/bsearch_b$__compar.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * __bsearch_noescape int (^__compar)(const void *, const void *) + * } + */ +public final class bsearch_b$__compar { + + private bsearch_b$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(bsearch_b$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(bsearch_b$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/div_t.java b/generated/src/mlx/div_t.java new file mode 100644 index 00000000..02701a93 --- /dev/null +++ b/generated/src/mlx/div_t.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * int quot; + * int rem; + * } + * } + */ +public class div_t { + + div_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_INT.withName("quot"), + mlx_h.C_INT.withName("rem") + ).withName("div_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt quot$LAYOUT = (OfInt)$LAYOUT.select(groupElement("quot")); + + /** + * Layout for field: + * {@snippet lang=c : + * int quot + * } + */ + public static final OfInt quot$layout() { + return quot$LAYOUT; + } + + private static final long quot$OFFSET = $LAYOUT.byteOffset(groupElement("quot")); + + /** + * Offset for field: + * {@snippet lang=c : + * int quot + * } + */ + public static final long quot$offset() { + return quot$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int quot + * } + */ + public static int quot(MemorySegment struct) { + return struct.get(quot$LAYOUT, quot$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int quot + * } + */ + public static void quot(MemorySegment struct, int fieldValue) { + struct.set(quot$LAYOUT, quot$OFFSET, fieldValue); + } + + private static final OfInt rem$LAYOUT = (OfInt)$LAYOUT.select(groupElement("rem")); + + /** + * Layout for field: + * {@snippet lang=c : + * int rem + * } + */ + public static final OfInt rem$layout() { + return rem$LAYOUT; + } + + private static final long rem$OFFSET = $LAYOUT.byteOffset(groupElement("rem")); + + /** + * Offset for field: + * {@snippet lang=c : + * int rem + * } + */ + public static final long rem$offset() { + return rem$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int rem + * } + */ + public static int rem(MemorySegment struct) { + return struct.get(rem$LAYOUT, rem$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int rem + * } + */ + public static void rem(MemorySegment struct, int fieldValue) { + struct.set(rem$LAYOUT, rem$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/funopen$x0.java b/generated/src/mlx/funopen$x0.java new file mode 100644 index 00000000..2593c9ab --- /dev/null +++ b/generated/src/mlx/funopen$x0.java @@ -0,0 +1,72 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (* _Nullable)(void *, char *, int) + * } + */ +public final class funopen$x0 { + + private funopen$x0() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, int _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(funopen$x0.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(funopen$x0.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, int _x2) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/funopen$x1.java b/generated/src/mlx/funopen$x1.java new file mode 100644 index 00000000..64328d07 --- /dev/null +++ b/generated/src/mlx/funopen$x1.java @@ -0,0 +1,72 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (* _Nullable)(void *, const char *, int) + * } + */ +public final class funopen$x1 { + + private funopen$x1() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, int _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(funopen$x1.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(funopen$x1.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, int _x2) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/funopen$x2.java b/generated/src/mlx/funopen$x2.java new file mode 100644 index 00000000..b2e34b9b --- /dev/null +++ b/generated/src/mlx/funopen$x2.java @@ -0,0 +1,72 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * fpos_t (* _Nullable)(void *, fpos_t, int) + * } + */ +public final class funopen$x2 { + + private funopen$x2() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + long apply(MemorySegment _x0, long _x1, int _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_LONG_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG_LONG, + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(funopen$x2.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(funopen$x2.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static long invoke(MemorySegment funcPtr, MemorySegment _x0, long _x1, int _x2) { + try { + return (long) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/funopen$x3.java b/generated/src/mlx/funopen$x3.java new file mode 100644 index 00000000..b391188c --- /dev/null +++ b/generated/src/mlx/funopen$x3.java @@ -0,0 +1,70 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (* _Nullable)(void *) + * } + */ +public final class funopen$x3 { + + private funopen$x3() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(funopen$x3.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(funopen$x3.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/heapsort$__compar.java b/generated/src/mlx/heapsort$__compar.java new file mode 100644 index 00000000..0bbc4ed4 --- /dev/null +++ b/generated/src/mlx/heapsort$__compar.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (* _Nonnull __compar)(const void *, const void *) + * } + */ +public final class heapsort$__compar { + + private heapsort$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(heapsort$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(heapsort$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/heapsort_b$__compar.java b/generated/src/mlx/heapsort_b$__compar.java new file mode 100644 index 00000000..93dd5705 --- /dev/null +++ b/generated/src/mlx/heapsort_b$__compar.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * __sort_noescape int (^__compar)(const void *, const void *) + * } + */ +public final class heapsort_b$__compar { + + private heapsort_b$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(heapsort_b$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(heapsort_b$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/ldiv_t.java b/generated/src/mlx/ldiv_t.java new file mode 100644 index 00000000..5a234662 --- /dev/null +++ b/generated/src/mlx/ldiv_t.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * long quot; + * long rem; + * } + * } + */ +public class ldiv_t { + + ldiv_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG.withName("quot"), + mlx_h.C_LONG.withName("rem") + ).withName("ldiv_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong quot$LAYOUT = (OfLong)$LAYOUT.select(groupElement("quot")); + + /** + * Layout for field: + * {@snippet lang=c : + * long quot + * } + */ + public static final OfLong quot$layout() { + return quot$LAYOUT; + } + + private static final long quot$OFFSET = $LAYOUT.byteOffset(groupElement("quot")); + + /** + * Offset for field: + * {@snippet lang=c : + * long quot + * } + */ + public static final long quot$offset() { + return quot$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long quot + * } + */ + public static long quot(MemorySegment struct) { + return struct.get(quot$LAYOUT, quot$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long quot + * } + */ + public static void quot(MemorySegment struct, long fieldValue) { + struct.set(quot$LAYOUT, quot$OFFSET, fieldValue); + } + + private static final OfLong rem$LAYOUT = (OfLong)$LAYOUT.select(groupElement("rem")); + + /** + * Layout for field: + * {@snippet lang=c : + * long rem + * } + */ + public static final OfLong rem$layout() { + return rem$LAYOUT; + } + + private static final long rem$OFFSET = $LAYOUT.byteOffset(groupElement("rem")); + + /** + * Offset for field: + * {@snippet lang=c : + * long rem + * } + */ + public static final long rem$offset() { + return rem$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long rem + * } + */ + public static long rem(MemorySegment struct) { + return struct.get(rem$LAYOUT, rem$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long rem + * } + */ + public static void rem(MemorySegment struct, long fieldValue) { + struct.set(rem$LAYOUT, rem$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/lldiv_t.java b/generated/src/mlx/lldiv_t.java new file mode 100644 index 00000000..e876eda8 --- /dev/null +++ b/generated/src/mlx/lldiv_t.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct { + * long long quot; + * long long rem; + * } + * } + */ +public class lldiv_t { + + lldiv_t() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG_LONG.withName("quot"), + mlx_h.C_LONG_LONG.withName("rem") + ).withName("lldiv_t"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong quot$LAYOUT = (OfLong)$LAYOUT.select(groupElement("quot")); + + /** + * Layout for field: + * {@snippet lang=c : + * long long quot + * } + */ + public static final OfLong quot$layout() { + return quot$LAYOUT; + } + + private static final long quot$OFFSET = $LAYOUT.byteOffset(groupElement("quot")); + + /** + * Offset for field: + * {@snippet lang=c : + * long long quot + * } + */ + public static final long quot$offset() { + return quot$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long long quot + * } + */ + public static long quot(MemorySegment struct) { + return struct.get(quot$LAYOUT, quot$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long long quot + * } + */ + public static void quot(MemorySegment struct, long fieldValue) { + struct.set(quot$LAYOUT, quot$OFFSET, fieldValue); + } + + private static final OfLong rem$LAYOUT = (OfLong)$LAYOUT.select(groupElement("rem")); + + /** + * Layout for field: + * {@snippet lang=c : + * long long rem + * } + */ + public static final OfLong rem$layout() { + return rem$LAYOUT; + } + + private static final long rem$OFFSET = $LAYOUT.byteOffset(groupElement("rem")); + + /** + * Offset for field: + * {@snippet lang=c : + * long long rem + * } + */ + public static final long rem$offset() { + return rem$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long long rem + * } + */ + public static long rem(MemorySegment struct) { + return struct.get(rem$LAYOUT, rem$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long long rem + * } + */ + public static void rem(MemorySegment struct, long fieldValue) { + struct.set(rem$LAYOUT, rem$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mergesort$__compar.java b/generated/src/mlx/mergesort$__compar.java new file mode 100644 index 00000000..273c11a1 --- /dev/null +++ b/generated/src/mlx/mergesort$__compar.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (* _Nonnull __compar)(const void *, const void *) + * } + */ +public final class mergesort$__compar { + + private mergesort$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mergesort$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mergesort$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mergesort_b$__compar.java b/generated/src/mlx/mergesort_b$__compar.java new file mode 100644 index 00000000..e671b357 --- /dev/null +++ b/generated/src/mlx/mergesort_b$__compar.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * __sort_noescape int (^__compar)(const void *, const void *) + * } + */ +public final class mergesort_b$__compar { + + private mergesort_b$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mergesort_b$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mergesort_b$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_array.java b/generated/src/mlx/mlx_array.java new file mode 100644 index 00000000..67bdd6e2 --- /dev/null +++ b/generated/src/mlx/mlx_array.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_array_ { + * void *ctx; + * } mlx_array + * } + */ +public class mlx_array extends mlx_array_ { + + mlx_array() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_array_.java b/generated/src/mlx/mlx_array_.java new file mode 100644 index 00000000..42f59f3e --- /dev/null +++ b/generated/src/mlx/mlx_array_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_array_ { + * void *ctx; + * } + * } + */ +public class mlx_array_ { + + mlx_array_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_array_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_closure.java b/generated/src/mlx/mlx_closure.java new file mode 100644 index 00000000..3b229026 --- /dev/null +++ b/generated/src/mlx/mlx_closure.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_closure_ { + * void *ctx; + * } mlx_closure + * } + */ +public class mlx_closure extends mlx_closure_ { + + mlx_closure() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_closure_.java b/generated/src/mlx/mlx_closure_.java new file mode 100644 index 00000000..a6e03445 --- /dev/null +++ b/generated/src/mlx/mlx_closure_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_closure_ { + * void *ctx; + * } + * } + */ +public class mlx_closure_ { + + mlx_closure_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_closure_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_closure_custom.java b/generated/src/mlx/mlx_closure_custom.java new file mode 100644 index 00000000..959f5989 --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_closure_custom_ { + * void *ctx; + * } mlx_closure_custom + * } + */ +public class mlx_closure_custom extends mlx_closure_custom_ { + + mlx_closure_custom() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_.java b/generated/src/mlx/mlx_closure_custom_.java new file mode 100644 index 00000000..6fec705a --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_closure_custom_ { + * void *ctx; + * } + * } + */ +public class mlx_closure_custom_ { + + mlx_closure_custom_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_closure_custom_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_jvp.java b/generated/src/mlx/mlx_closure_custom_jvp.java new file mode 100644 index 00000000..fb67b74f --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_jvp.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_closure_custom_jvp_ { + * void *ctx; + * } mlx_closure_custom_jvp + * } + */ +public class mlx_closure_custom_jvp extends mlx_closure_custom_jvp_ { + + mlx_closure_custom_jvp() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_jvp_.java b/generated/src/mlx/mlx_closure_custom_jvp_.java new file mode 100644 index 00000000..6c3ca149 --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_jvp_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_closure_custom_jvp_ { + * void *ctx; + * } + * } + */ +public class mlx_closure_custom_jvp_ { + + mlx_closure_custom_jvp_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_closure_custom_jvp_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_jvp_new_func$fun.java b/generated/src/mlx/mlx_closure_custom_jvp_new_func$fun.java new file mode 100644 index 00000000..f74fb0c0 --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_jvp_new_func$fun.java @@ -0,0 +1,74 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const int *, size_t) + * } + */ +public final class mlx_closure_custom_jvp_new_func$fun { + + private mlx_closure_custom_jvp_new_func$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, long _x4); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_custom_jvp_new_func$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_custom_jvp_new_func$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, long _x4) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_jvp_new_func_payload$dtor.java b/generated/src/mlx/mlx_closure_custom_jvp_new_func_payload$dtor.java new file mode 100644 index 00000000..8bd738bd --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_jvp_new_func_payload$dtor.java @@ -0,0 +1,69 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (*dtor)(void *) + * } + */ +public final class mlx_closure_custom_jvp_new_func_payload$dtor { + + private mlx_closure_custom_jvp_new_func_payload$dtor() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_custom_jvp_new_func_payload$dtor.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_custom_jvp_new_func_payload$dtor.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_jvp_new_func_payload$fun.java b/generated/src/mlx/mlx_closure_custom_jvp_new_func_payload$fun.java new file mode 100644 index 00000000..54ec2f5a --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_jvp_new_func_payload$fun.java @@ -0,0 +1,75 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const int *, size_t, void *) + * } + */ +public final class mlx_closure_custom_jvp_new_func_payload$fun { + + private mlx_closure_custom_jvp_new_func_payload$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, long _x4, MemorySegment _x5); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_custom_jvp_new_func_payload$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_custom_jvp_new_func_payload$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, long _x4, MemorySegment _x5) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_new_func$fun.java b/generated/src/mlx/mlx_closure_custom_new_func$fun.java new file mode 100644 index 00000000..8c9bdb95 --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_new_func$fun.java @@ -0,0 +1,73 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const mlx_vector_array) + * } + */ +public final class mlx_closure_custom_new_func$fun { + + private mlx_closure_custom_new_func$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_vector_array_.layout(), + mlx_vector_array_.layout() + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_custom_new_func$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_custom_new_func$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_new_func_payload$dtor.java b/generated/src/mlx/mlx_closure_custom_new_func_payload$dtor.java new file mode 100644 index 00000000..9da5562b --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_new_func_payload$dtor.java @@ -0,0 +1,69 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (*dtor)(void *) + * } + */ +public final class mlx_closure_custom_new_func_payload$dtor { + + private mlx_closure_custom_new_func_payload$dtor() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_custom_new_func_payload$dtor.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_custom_new_func_payload$dtor.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_new_func_payload$fun.java b/generated/src/mlx/mlx_closure_custom_new_func_payload$fun.java new file mode 100644 index 00000000..a30c3e42 --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_new_func_payload$fun.java @@ -0,0 +1,74 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const mlx_vector_array, void *) + * } + */ +public final class mlx_closure_custom_new_func_payload$fun { + + private mlx_closure_custom_new_func_payload$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, MemorySegment _x4); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_vector_array_.layout(), + mlx_vector_array_.layout(), + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_custom_new_func_payload$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_custom_new_func_payload$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, MemorySegment _x4) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_vmap.java b/generated/src/mlx/mlx_closure_custom_vmap.java new file mode 100644 index 00000000..4731a4bf --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_vmap.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_closure_custom_vmap_ { + * void *ctx; + * } mlx_closure_custom_vmap + * } + */ +public class mlx_closure_custom_vmap extends mlx_closure_custom_vmap_ { + + mlx_closure_custom_vmap() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_vmap_.java b/generated/src/mlx/mlx_closure_custom_vmap_.java new file mode 100644 index 00000000..25e3ac68 --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_vmap_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_closure_custom_vmap_ { + * void *ctx; + * } + * } + */ +public class mlx_closure_custom_vmap_ { + + mlx_closure_custom_vmap_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_closure_custom_vmap_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_vmap_new_func$fun.java b/generated/src/mlx/mlx_closure_custom_vmap_new_func$fun.java new file mode 100644 index 00000000..42113faf --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_vmap_new_func$fun.java @@ -0,0 +1,74 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, mlx_vector_int *, const mlx_vector_array, const int *, size_t) + * } + */ +public final class mlx_closure_custom_vmap_new_func$fun { + + private mlx_closure_custom_vmap_new_func$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, long _x4); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_custom_vmap_new_func$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_custom_vmap_new_func$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, long _x4) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_vmap_new_func_payload$dtor.java b/generated/src/mlx/mlx_closure_custom_vmap_new_func_payload$dtor.java new file mode 100644 index 00000000..e5b1fd62 --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_vmap_new_func_payload$dtor.java @@ -0,0 +1,69 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (*dtor)(void *) + * } + */ +public final class mlx_closure_custom_vmap_new_func_payload$dtor { + + private mlx_closure_custom_vmap_new_func_payload$dtor() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_custom_vmap_new_func_payload$dtor.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_custom_vmap_new_func_payload$dtor.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_custom_vmap_new_func_payload$fun.java b/generated/src/mlx/mlx_closure_custom_vmap_new_func_payload$fun.java new file mode 100644 index 00000000..ab962997 --- /dev/null +++ b/generated/src/mlx/mlx_closure_custom_vmap_new_func_payload$fun.java @@ -0,0 +1,75 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, mlx_vector_int *, const mlx_vector_array, const int *, size_t, void *) + * } + */ +public final class mlx_closure_custom_vmap_new_func_payload$fun { + + private mlx_closure_custom_vmap_new_func_payload$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, long _x4, MemorySegment _x5); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_custom_vmap_new_func_payload$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_custom_vmap_new_func_payload$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3, long _x4, MemorySegment _x5) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3, _x4, _x5); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_kwargs.java b/generated/src/mlx/mlx_closure_kwargs.java new file mode 100644 index 00000000..43d89213 --- /dev/null +++ b/generated/src/mlx/mlx_closure_kwargs.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_closure_kwargs_ { + * void *ctx; + * } mlx_closure_kwargs + * } + */ +public class mlx_closure_kwargs extends mlx_closure_kwargs_ { + + mlx_closure_kwargs() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_closure_kwargs_.java b/generated/src/mlx/mlx_closure_kwargs_.java new file mode 100644 index 00000000..224ca4a5 --- /dev/null +++ b/generated/src/mlx/mlx_closure_kwargs_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_closure_kwargs_ { + * void *ctx; + * } + * } + */ +public class mlx_closure_kwargs_ { + + mlx_closure_kwargs_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_closure_kwargs_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_closure_kwargs_new_func$fun.java b/generated/src/mlx/mlx_closure_kwargs_new_func$fun.java new file mode 100644 index 00000000..512bdc7f --- /dev/null +++ b/generated/src/mlx/mlx_closure_kwargs_new_func$fun.java @@ -0,0 +1,72 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_map_string_to_array) + * } + */ +public final class mlx_closure_kwargs_new_func$fun { + + private mlx_closure_kwargs_new_func$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_map_string_to_array_.layout() + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_kwargs_new_func$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_kwargs_new_func$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_kwargs_new_func_payload$dtor.java b/generated/src/mlx/mlx_closure_kwargs_new_func_payload$dtor.java new file mode 100644 index 00000000..b9758700 --- /dev/null +++ b/generated/src/mlx/mlx_closure_kwargs_new_func_payload$dtor.java @@ -0,0 +1,69 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (*dtor)(void *) + * } + */ +public final class mlx_closure_kwargs_new_func_payload$dtor { + + private mlx_closure_kwargs_new_func_payload$dtor() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_kwargs_new_func_payload$dtor.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_kwargs_new_func_payload$dtor.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_kwargs_new_func_payload$fun.java b/generated/src/mlx/mlx_closure_kwargs_new_func_payload$fun.java new file mode 100644 index 00000000..21ea6a0c --- /dev/null +++ b/generated/src/mlx/mlx_closure_kwargs_new_func_payload$fun.java @@ -0,0 +1,73 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_map_string_to_array, void *) + * } + */ +public final class mlx_closure_kwargs_new_func_payload$fun { + + private mlx_closure_kwargs_new_func_payload$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_map_string_to_array_.layout(), + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_kwargs_new_func_payload$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_kwargs_new_func_payload$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_new_func$fun.java b/generated/src/mlx/mlx_closure_new_func$fun.java new file mode 100644 index 00000000..1fc125e4 --- /dev/null +++ b/generated/src/mlx/mlx_closure_new_func$fun.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, const mlx_vector_array) + * } + */ +public final class mlx_closure_new_func$fun { + + private mlx_closure_new_func$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout() + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_new_func$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_new_func$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_new_func_payload$dtor.java b/generated/src/mlx/mlx_closure_new_func_payload$dtor.java new file mode 100644 index 00000000..f5cb1434 --- /dev/null +++ b/generated/src/mlx/mlx_closure_new_func_payload$dtor.java @@ -0,0 +1,69 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (*dtor)(void *) + * } + */ +public final class mlx_closure_new_func_payload$dtor { + + private mlx_closure_new_func_payload$dtor() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_new_func_payload$dtor.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_new_func_payload$dtor.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_new_func_payload$fun.java b/generated/src/mlx/mlx_closure_new_func_payload$fun.java new file mode 100644 index 00000000..ea4c77d3 --- /dev/null +++ b/generated/src/mlx/mlx_closure_new_func_payload$fun.java @@ -0,0 +1,72 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, const mlx_vector_array, void *) + * } + */ +public final class mlx_closure_new_func_payload$fun { + + private mlx_closure_new_func_payload$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_new_func_payload$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_new_func_payload$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_new_unary$fun.java b/generated/src/mlx/mlx_closure_new_unary$fun.java new file mode 100644 index 00000000..271250d7 --- /dev/null +++ b/generated/src/mlx/mlx_closure_new_unary$fun.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_array *, const mlx_array) + * } + */ +public final class mlx_closure_new_unary$fun { + + private mlx_closure_new_unary$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_new_unary$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_new_unary$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_value_and_grad.java b/generated/src/mlx/mlx_closure_value_and_grad.java new file mode 100644 index 00000000..8c99771e --- /dev/null +++ b/generated/src/mlx/mlx_closure_value_and_grad.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_closure_value_and_grad_ { + * void *ctx; + * } mlx_closure_value_and_grad + * } + */ +public class mlx_closure_value_and_grad extends mlx_closure_value_and_grad_ { + + mlx_closure_value_and_grad() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_closure_value_and_grad_.java b/generated/src/mlx/mlx_closure_value_and_grad_.java new file mode 100644 index 00000000..99116d55 --- /dev/null +++ b/generated/src/mlx/mlx_closure_value_and_grad_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_closure_value_and_grad_ { + * void *ctx; + * } + * } + */ +public class mlx_closure_value_and_grad_ { + + mlx_closure_value_and_grad_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_closure_value_and_grad_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_closure_value_and_grad_new_func$fun.java b/generated/src/mlx/mlx_closure_value_and_grad_new_func$fun.java new file mode 100644 index 00000000..d2753c03 --- /dev/null +++ b/generated/src/mlx/mlx_closure_value_and_grad_new_func$fun.java @@ -0,0 +1,72 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, mlx_vector_array *, const mlx_vector_array) + * } + */ +public final class mlx_closure_value_and_grad_new_func$fun { + + private mlx_closure_value_and_grad_new_func$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_vector_array_.layout() + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_value_and_grad_new_func$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_value_and_grad_new_func$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_value_and_grad_new_func_payload$dtor.java b/generated/src/mlx/mlx_closure_value_and_grad_new_func_payload$dtor.java new file mode 100644 index 00000000..7e46c8ea --- /dev/null +++ b/generated/src/mlx/mlx_closure_value_and_grad_new_func_payload$dtor.java @@ -0,0 +1,69 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (*dtor)(void *) + * } + */ +public final class mlx_closure_value_and_grad_new_func_payload$dtor { + + private mlx_closure_value_and_grad_new_func_payload$dtor() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_value_and_grad_new_func_payload$dtor.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_value_and_grad_new_func_payload$dtor.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_closure_value_and_grad_new_func_payload$fun.java b/generated/src/mlx/mlx_closure_value_and_grad_new_func_payload$fun.java new file mode 100644 index 00000000..ff0caffc --- /dev/null +++ b/generated/src/mlx/mlx_closure_value_and_grad_new_func_payload$fun.java @@ -0,0 +1,73 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (*fun)(mlx_vector_array *, mlx_vector_array *, const mlx_vector_array, void *) + * } + */ +public final class mlx_closure_value_and_grad_new_func_payload$fun { + + private mlx_closure_value_and_grad_new_func_payload$fun() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_closure_value_and_grad_new_func_payload$fun.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_closure_value_and_grad_new_func_payload$fun.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2, MemorySegment _x3) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_device.java b/generated/src/mlx/mlx_device.java new file mode 100644 index 00000000..d85397ba --- /dev/null +++ b/generated/src/mlx/mlx_device.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_device_ { + * void *ctx; + * } mlx_device + * } + */ +public class mlx_device extends mlx_device_ { + + mlx_device() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_device_.java b/generated/src/mlx/mlx_device_.java new file mode 100644 index 00000000..4e846cec --- /dev/null +++ b/generated/src/mlx/mlx_device_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_device_ { + * void *ctx; + * } + * } + */ +public class mlx_device_ { + + mlx_device_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_device_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_distributed_group.java b/generated/src/mlx/mlx_distributed_group.java new file mode 100644 index 00000000..98457765 --- /dev/null +++ b/generated/src/mlx/mlx_distributed_group.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_distributed_group_ { + * void *ctx; + * } mlx_distributed_group + * } + */ +public class mlx_distributed_group extends mlx_distributed_group_ { + + mlx_distributed_group() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_distributed_group_.java b/generated/src/mlx/mlx_distributed_group_.java new file mode 100644 index 00000000..46e3ecca --- /dev/null +++ b/generated/src/mlx/mlx_distributed_group_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_distributed_group_ { + * void *ctx; + * } + * } + */ +public class mlx_distributed_group_ { + + mlx_distributed_group_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_distributed_group_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_error_handler_func.java b/generated/src/mlx/mlx_error_handler_func.java new file mode 100644 index 00000000..45682b78 --- /dev/null +++ b/generated/src/mlx/mlx_error_handler_func.java @@ -0,0 +1,70 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*mlx_error_handler_func)(const char *, void *) + * } + */ +public final class mlx_error_handler_func { + + private mlx_error_handler_func() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment msg, MemorySegment data); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_error_handler_func.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_error_handler_func.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment msg, MemorySegment data) { + try { + DOWN$MH.invokeExact(funcPtr, msg, data); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_fast_metal_kernel.java b/generated/src/mlx/mlx_fast_metal_kernel.java new file mode 100644 index 00000000..ce0df43d --- /dev/null +++ b/generated/src/mlx/mlx_fast_metal_kernel.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_fast_metal_kernel_ { + * void *ctx; + * } mlx_fast_metal_kernel + * } + */ +public class mlx_fast_metal_kernel extends mlx_fast_metal_kernel_ { + + mlx_fast_metal_kernel() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_fast_metal_kernel_.java b/generated/src/mlx/mlx_fast_metal_kernel_.java new file mode 100644 index 00000000..b300605f --- /dev/null +++ b/generated/src/mlx/mlx_fast_metal_kernel_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_fast_metal_kernel_ { + * void *ctx; + * } + * } + */ +public class mlx_fast_metal_kernel_ { + + mlx_fast_metal_kernel_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_fast_metal_kernel_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_fast_metal_kernel_config.java b/generated/src/mlx/mlx_fast_metal_kernel_config.java new file mode 100644 index 00000000..bda562af --- /dev/null +++ b/generated/src/mlx/mlx_fast_metal_kernel_config.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_fast_metal_kernel_config_ { + * void *ctx; + * } mlx_fast_metal_kernel_config + * } + */ +public class mlx_fast_metal_kernel_config extends mlx_fast_metal_kernel_config_ { + + mlx_fast_metal_kernel_config() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_fast_metal_kernel_config_.java b/generated/src/mlx/mlx_fast_metal_kernel_config_.java new file mode 100644 index 00000000..550f4d8a --- /dev/null +++ b/generated/src/mlx/mlx_fast_metal_kernel_config_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_fast_metal_kernel_config_ { + * void *ctx; + * } + * } + */ +public class mlx_fast_metal_kernel_config_ { + + mlx_fast_metal_kernel_config_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_fast_metal_kernel_config_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_function_exporter.java b/generated/src/mlx/mlx_function_exporter.java new file mode 100644 index 00000000..1e5406d9 --- /dev/null +++ b/generated/src/mlx/mlx_function_exporter.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_function_exporter_ { + * void *ctx; + * } mlx_function_exporter + * } + */ +public class mlx_function_exporter extends mlx_function_exporter_ { + + mlx_function_exporter() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_function_exporter_.java b/generated/src/mlx/mlx_function_exporter_.java new file mode 100644 index 00000000..46528f36 --- /dev/null +++ b/generated/src/mlx/mlx_function_exporter_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_function_exporter_ { + * void *ctx; + * } + * } + */ +public class mlx_function_exporter_ { + + mlx_function_exporter_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_function_exporter_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_h.java b/generated/src/mlx/mlx_h.java new file mode 100644 index 00000000..4acc879f --- /dev/null +++ b/generated/src/mlx/mlx_h.java @@ -0,0 +1,34475 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +public class mlx_h extends mlx_h_1 { + + mlx_h() { + // Should not be called directly + } + + private static class mlx_vector_vector_array_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_vector_array_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_vector_array_free(mlx_vector_vector_array vec) + * } + */ + public static FunctionDescriptor mlx_vector_vector_array_free$descriptor() { + return mlx_vector_vector_array_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_vector_array_free(mlx_vector_vector_array vec) + * } + */ + public static MethodHandle mlx_vector_vector_array_free$handle() { + return mlx_vector_vector_array_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_vector_array_free(mlx_vector_vector_array vec) + * } + */ + public static MemorySegment mlx_vector_vector_array_free$address() { + return mlx_vector_vector_array_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_vector_array_free(mlx_vector_vector_array vec) + * } + */ + public static int mlx_vector_vector_array_free(MemorySegment vec) { + var mh$ = mlx_vector_vector_array_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_vector_array_free", vec); + } + return (int)mh$.invokeExact(vec); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_vector_array_new_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_vector_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_vector_array_new_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_vector_vector_array mlx_vector_vector_array_new_data(const mlx_vector_array *data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_vector_array_new_data$descriptor() { + return mlx_vector_vector_array_new_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_vector_vector_array mlx_vector_vector_array_new_data(const mlx_vector_array *data, size_t size) + * } + */ + public static MethodHandle mlx_vector_vector_array_new_data$handle() { + return mlx_vector_vector_array_new_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_vector_vector_array mlx_vector_vector_array_new_data(const mlx_vector_array *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_vector_array_new_data$address() { + return mlx_vector_vector_array_new_data.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_vector_vector_array mlx_vector_vector_array_new_data(const mlx_vector_array *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_vector_array_new_data(SegmentAllocator allocator, MemorySegment data, long size) { + var mh$ = mlx_vector_vector_array_new_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_vector_array_new_data", allocator, data, size); + } + return (MemorySegment)mh$.invokeExact(allocator, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_vector_array_new_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_vector_vector_array_.layout(), + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_vector_array_new_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_vector_vector_array mlx_vector_vector_array_new_value(const mlx_vector_array val) + * } + */ + public static FunctionDescriptor mlx_vector_vector_array_new_value$descriptor() { + return mlx_vector_vector_array_new_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_vector_vector_array mlx_vector_vector_array_new_value(const mlx_vector_array val) + * } + */ + public static MethodHandle mlx_vector_vector_array_new_value$handle() { + return mlx_vector_vector_array_new_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_vector_vector_array mlx_vector_vector_array_new_value(const mlx_vector_array val) + * } + */ + public static MemorySegment mlx_vector_vector_array_new_value$address() { + return mlx_vector_vector_array_new_value.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_vector_vector_array mlx_vector_vector_array_new_value(const mlx_vector_array val) + * } + */ + public static MemorySegment mlx_vector_vector_array_new_value(SegmentAllocator allocator, MemorySegment val) { + var mh$ = mlx_vector_vector_array_new_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_vector_array_new_value", allocator, val); + } + return (MemorySegment)mh$.invokeExact(allocator, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_vector_array_set_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_vector_array_set_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_vector_array_set_data(mlx_vector_vector_array *vec, const mlx_vector_array *data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_vector_array_set_data$descriptor() { + return mlx_vector_vector_array_set_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_vector_array_set_data(mlx_vector_vector_array *vec, const mlx_vector_array *data, size_t size) + * } + */ + public static MethodHandle mlx_vector_vector_array_set_data$handle() { + return mlx_vector_vector_array_set_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_vector_array_set_data(mlx_vector_vector_array *vec, const mlx_vector_array *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_vector_array_set_data$address() { + return mlx_vector_vector_array_set_data.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_vector_array_set_data(mlx_vector_vector_array *vec, const mlx_vector_array *data, size_t size) + * } + */ + public static int mlx_vector_vector_array_set_data(MemorySegment vec, MemorySegment data, long size) { + var mh$ = mlx_vector_vector_array_set_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_vector_array_set_data", vec, data, size); + } + return (int)mh$.invokeExact(vec, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_vector_array_set_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_vector_array_set_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_vector_array_set_value(mlx_vector_vector_array *vec, const mlx_vector_array val) + * } + */ + public static FunctionDescriptor mlx_vector_vector_array_set_value$descriptor() { + return mlx_vector_vector_array_set_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_vector_array_set_value(mlx_vector_vector_array *vec, const mlx_vector_array val) + * } + */ + public static MethodHandle mlx_vector_vector_array_set_value$handle() { + return mlx_vector_vector_array_set_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_vector_array_set_value(mlx_vector_vector_array *vec, const mlx_vector_array val) + * } + */ + public static MemorySegment mlx_vector_vector_array_set_value$address() { + return mlx_vector_vector_array_set_value.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_vector_array_set_value(mlx_vector_vector_array *vec, const mlx_vector_array val) + * } + */ + public static int mlx_vector_vector_array_set_value(MemorySegment vec, MemorySegment val) { + var mh$ = mlx_vector_vector_array_set_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_vector_array_set_value", vec, val); + } + return (int)mh$.invokeExact(vec, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_vector_array_append_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_vector_array_append_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_vector_array_append_data(mlx_vector_vector_array vec, const mlx_vector_array *data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_vector_array_append_data$descriptor() { + return mlx_vector_vector_array_append_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_vector_array_append_data(mlx_vector_vector_array vec, const mlx_vector_array *data, size_t size) + * } + */ + public static MethodHandle mlx_vector_vector_array_append_data$handle() { + return mlx_vector_vector_array_append_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_vector_array_append_data(mlx_vector_vector_array vec, const mlx_vector_array *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_vector_array_append_data$address() { + return mlx_vector_vector_array_append_data.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_vector_array_append_data(mlx_vector_vector_array vec, const mlx_vector_array *data, size_t size) + * } + */ + public static int mlx_vector_vector_array_append_data(MemorySegment vec, MemorySegment data, long size) { + var mh$ = mlx_vector_vector_array_append_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_vector_array_append_data", vec, data, size); + } + return (int)mh$.invokeExact(vec, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_vector_array_append_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_vector_array_.layout(), + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_vector_array_append_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_vector_array_append_value(mlx_vector_vector_array vec, const mlx_vector_array val) + * } + */ + public static FunctionDescriptor mlx_vector_vector_array_append_value$descriptor() { + return mlx_vector_vector_array_append_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_vector_array_append_value(mlx_vector_vector_array vec, const mlx_vector_array val) + * } + */ + public static MethodHandle mlx_vector_vector_array_append_value$handle() { + return mlx_vector_vector_array_append_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_vector_array_append_value(mlx_vector_vector_array vec, const mlx_vector_array val) + * } + */ + public static MemorySegment mlx_vector_vector_array_append_value$address() { + return mlx_vector_vector_array_append_value.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_vector_array_append_value(mlx_vector_vector_array vec, const mlx_vector_array val) + * } + */ + public static int mlx_vector_vector_array_append_value(MemorySegment vec, MemorySegment val) { + var mh$ = mlx_vector_vector_array_append_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_vector_array_append_value", vec, val); + } + return (int)mh$.invokeExact(vec, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_vector_array_size { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_vector_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_vector_array_size"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * size_t mlx_vector_vector_array_size(mlx_vector_vector_array vec) + * } + */ + public static FunctionDescriptor mlx_vector_vector_array_size$descriptor() { + return mlx_vector_vector_array_size.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * size_t mlx_vector_vector_array_size(mlx_vector_vector_array vec) + * } + */ + public static MethodHandle mlx_vector_vector_array_size$handle() { + return mlx_vector_vector_array_size.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * size_t mlx_vector_vector_array_size(mlx_vector_vector_array vec) + * } + */ + public static MemorySegment mlx_vector_vector_array_size$address() { + return mlx_vector_vector_array_size.ADDR; + } + + /** + * {@snippet lang=c : + * size_t mlx_vector_vector_array_size(mlx_vector_vector_array vec) + * } + */ + public static long mlx_vector_vector_array_size(MemorySegment vec) { + var mh$ = mlx_vector_vector_array_size.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_vector_array_size", vec); + } + return (long)mh$.invokeExact(vec); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_vector_array_get { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_vector_array_.layout(), + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_vector_array_get"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_vector_array_get(mlx_vector_array *res, const mlx_vector_vector_array vec, size_t idx) + * } + */ + public static FunctionDescriptor mlx_vector_vector_array_get$descriptor() { + return mlx_vector_vector_array_get.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_vector_array_get(mlx_vector_array *res, const mlx_vector_vector_array vec, size_t idx) + * } + */ + public static MethodHandle mlx_vector_vector_array_get$handle() { + return mlx_vector_vector_array_get.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_vector_array_get(mlx_vector_array *res, const mlx_vector_vector_array vec, size_t idx) + * } + */ + public static MemorySegment mlx_vector_vector_array_get$address() { + return mlx_vector_vector_array_get.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_vector_array_get(mlx_vector_array *res, const mlx_vector_vector_array vec, size_t idx) + * } + */ + public static int mlx_vector_vector_array_get(MemorySegment res, MemorySegment vec, long idx) { + var mh$ = mlx_vector_vector_array_get.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_vector_array_get", res, vec, idx); + } + return (int)mh$.invokeExact(res, vec, idx); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_vector_int mlx_vector_int_new() + * } + */ + public static class mlx_vector_int_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_vector_int_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_int_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_vector_int_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_vector_int mlx_vector_int_new() + * } + */ + public static mlx_vector_int_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_vector_int_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_int_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_vector_int_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_int_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_int_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_int_set(mlx_vector_int *vec, const mlx_vector_int src) + * } + */ + public static FunctionDescriptor mlx_vector_int_set$descriptor() { + return mlx_vector_int_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_int_set(mlx_vector_int *vec, const mlx_vector_int src) + * } + */ + public static MethodHandle mlx_vector_int_set$handle() { + return mlx_vector_int_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_int_set(mlx_vector_int *vec, const mlx_vector_int src) + * } + */ + public static MemorySegment mlx_vector_int_set$address() { + return mlx_vector_int_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_int_set(mlx_vector_int *vec, const mlx_vector_int src) + * } + */ + public static int mlx_vector_int_set(MemorySegment vec, MemorySegment src) { + var mh$ = mlx_vector_int_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_int_set", vec, src); + } + return (int)mh$.invokeExact(vec, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_int_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_int_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_int_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_int_free(mlx_vector_int vec) + * } + */ + public static FunctionDescriptor mlx_vector_int_free$descriptor() { + return mlx_vector_int_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_int_free(mlx_vector_int vec) + * } + */ + public static MethodHandle mlx_vector_int_free$handle() { + return mlx_vector_int_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_int_free(mlx_vector_int vec) + * } + */ + public static MemorySegment mlx_vector_int_free$address() { + return mlx_vector_int_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_int_free(mlx_vector_int vec) + * } + */ + public static int mlx_vector_int_free(MemorySegment vec) { + var mh$ = mlx_vector_int_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_int_free", vec); + } + return (int)mh$.invokeExact(vec); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_int_new_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_vector_int_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_int_new_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_vector_int mlx_vector_int_new_data(int *data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_int_new_data$descriptor() { + return mlx_vector_int_new_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_vector_int mlx_vector_int_new_data(int *data, size_t size) + * } + */ + public static MethodHandle mlx_vector_int_new_data$handle() { + return mlx_vector_int_new_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_vector_int mlx_vector_int_new_data(int *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_int_new_data$address() { + return mlx_vector_int_new_data.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_vector_int mlx_vector_int_new_data(int *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_int_new_data(SegmentAllocator allocator, MemorySegment data, long size) { + var mh$ = mlx_vector_int_new_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_int_new_data", allocator, data, size); + } + return (MemorySegment)mh$.invokeExact(allocator, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_int_new_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_vector_int_.layout(), + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_int_new_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_vector_int mlx_vector_int_new_value(int val) + * } + */ + public static FunctionDescriptor mlx_vector_int_new_value$descriptor() { + return mlx_vector_int_new_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_vector_int mlx_vector_int_new_value(int val) + * } + */ + public static MethodHandle mlx_vector_int_new_value$handle() { + return mlx_vector_int_new_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_vector_int mlx_vector_int_new_value(int val) + * } + */ + public static MemorySegment mlx_vector_int_new_value$address() { + return mlx_vector_int_new_value.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_vector_int mlx_vector_int_new_value(int val) + * } + */ + public static MemorySegment mlx_vector_int_new_value(SegmentAllocator allocator, int val) { + var mh$ = mlx_vector_int_new_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_int_new_value", allocator, val); + } + return (MemorySegment)mh$.invokeExact(allocator, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_int_set_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_int_set_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_int_set_data(mlx_vector_int *vec, int *data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_int_set_data$descriptor() { + return mlx_vector_int_set_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_int_set_data(mlx_vector_int *vec, int *data, size_t size) + * } + */ + public static MethodHandle mlx_vector_int_set_data$handle() { + return mlx_vector_int_set_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_int_set_data(mlx_vector_int *vec, int *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_int_set_data$address() { + return mlx_vector_int_set_data.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_int_set_data(mlx_vector_int *vec, int *data, size_t size) + * } + */ + public static int mlx_vector_int_set_data(MemorySegment vec, MemorySegment data, long size) { + var mh$ = mlx_vector_int_set_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_int_set_data", vec, data, size); + } + return (int)mh$.invokeExact(vec, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_int_set_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_int_set_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_int_set_value(mlx_vector_int *vec, int val) + * } + */ + public static FunctionDescriptor mlx_vector_int_set_value$descriptor() { + return mlx_vector_int_set_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_int_set_value(mlx_vector_int *vec, int val) + * } + */ + public static MethodHandle mlx_vector_int_set_value$handle() { + return mlx_vector_int_set_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_int_set_value(mlx_vector_int *vec, int val) + * } + */ + public static MemorySegment mlx_vector_int_set_value$address() { + return mlx_vector_int_set_value.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_int_set_value(mlx_vector_int *vec, int val) + * } + */ + public static int mlx_vector_int_set_value(MemorySegment vec, int val) { + var mh$ = mlx_vector_int_set_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_int_set_value", vec, val); + } + return (int)mh$.invokeExact(vec, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_int_append_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_int_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_int_append_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_int_append_data(mlx_vector_int vec, int *data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_int_append_data$descriptor() { + return mlx_vector_int_append_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_int_append_data(mlx_vector_int vec, int *data, size_t size) + * } + */ + public static MethodHandle mlx_vector_int_append_data$handle() { + return mlx_vector_int_append_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_int_append_data(mlx_vector_int vec, int *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_int_append_data$address() { + return mlx_vector_int_append_data.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_int_append_data(mlx_vector_int vec, int *data, size_t size) + * } + */ + public static int mlx_vector_int_append_data(MemorySegment vec, MemorySegment data, long size) { + var mh$ = mlx_vector_int_append_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_int_append_data", vec, data, size); + } + return (int)mh$.invokeExact(vec, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_int_append_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_int_.layout(), + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_int_append_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_int_append_value(mlx_vector_int vec, int val) + * } + */ + public static FunctionDescriptor mlx_vector_int_append_value$descriptor() { + return mlx_vector_int_append_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_int_append_value(mlx_vector_int vec, int val) + * } + */ + public static MethodHandle mlx_vector_int_append_value$handle() { + return mlx_vector_int_append_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_int_append_value(mlx_vector_int vec, int val) + * } + */ + public static MemorySegment mlx_vector_int_append_value$address() { + return mlx_vector_int_append_value.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_int_append_value(mlx_vector_int vec, int val) + * } + */ + public static int mlx_vector_int_append_value(MemorySegment vec, int val) { + var mh$ = mlx_vector_int_append_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_int_append_value", vec, val); + } + return (int)mh$.invokeExact(vec, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_int_size { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_vector_int_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_int_size"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * size_t mlx_vector_int_size(mlx_vector_int vec) + * } + */ + public static FunctionDescriptor mlx_vector_int_size$descriptor() { + return mlx_vector_int_size.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * size_t mlx_vector_int_size(mlx_vector_int vec) + * } + */ + public static MethodHandle mlx_vector_int_size$handle() { + return mlx_vector_int_size.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * size_t mlx_vector_int_size(mlx_vector_int vec) + * } + */ + public static MemorySegment mlx_vector_int_size$address() { + return mlx_vector_int_size.ADDR; + } + + /** + * {@snippet lang=c : + * size_t mlx_vector_int_size(mlx_vector_int vec) + * } + */ + public static long mlx_vector_int_size(MemorySegment vec) { + var mh$ = mlx_vector_int_size.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_int_size", vec); + } + return (long)mh$.invokeExact(vec); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_int_get { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_int_.layout(), + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_int_get"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_int_get(int *res, const mlx_vector_int vec, size_t idx) + * } + */ + public static FunctionDescriptor mlx_vector_int_get$descriptor() { + return mlx_vector_int_get.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_int_get(int *res, const mlx_vector_int vec, size_t idx) + * } + */ + public static MethodHandle mlx_vector_int_get$handle() { + return mlx_vector_int_get.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_int_get(int *res, const mlx_vector_int vec, size_t idx) + * } + */ + public static MemorySegment mlx_vector_int_get$address() { + return mlx_vector_int_get.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_int_get(int *res, const mlx_vector_int vec, size_t idx) + * } + */ + public static int mlx_vector_int_get(MemorySegment res, MemorySegment vec, long idx) { + var mh$ = mlx_vector_int_get.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_int_get", res, vec, idx); + } + return (int)mh$.invokeExact(res, vec, idx); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_vector_string mlx_vector_string_new() + * } + */ + public static class mlx_vector_string_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_vector_string_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_string_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_vector_string_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_vector_string mlx_vector_string_new() + * } + */ + public static mlx_vector_string_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_vector_string_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_string_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_vector_string_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_string_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_string_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_string_set(mlx_vector_string *vec, const mlx_vector_string src) + * } + */ + public static FunctionDescriptor mlx_vector_string_set$descriptor() { + return mlx_vector_string_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_string_set(mlx_vector_string *vec, const mlx_vector_string src) + * } + */ + public static MethodHandle mlx_vector_string_set$handle() { + return mlx_vector_string_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_string_set(mlx_vector_string *vec, const mlx_vector_string src) + * } + */ + public static MemorySegment mlx_vector_string_set$address() { + return mlx_vector_string_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_string_set(mlx_vector_string *vec, const mlx_vector_string src) + * } + */ + public static int mlx_vector_string_set(MemorySegment vec, MemorySegment src) { + var mh$ = mlx_vector_string_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_string_set", vec, src); + } + return (int)mh$.invokeExact(vec, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_string_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_string_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_string_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_string_free(mlx_vector_string vec) + * } + */ + public static FunctionDescriptor mlx_vector_string_free$descriptor() { + return mlx_vector_string_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_string_free(mlx_vector_string vec) + * } + */ + public static MethodHandle mlx_vector_string_free$handle() { + return mlx_vector_string_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_string_free(mlx_vector_string vec) + * } + */ + public static MemorySegment mlx_vector_string_free$address() { + return mlx_vector_string_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_string_free(mlx_vector_string vec) + * } + */ + public static int mlx_vector_string_free(MemorySegment vec) { + var mh$ = mlx_vector_string_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_string_free", vec); + } + return (int)mh$.invokeExact(vec); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_string_new_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_vector_string_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_string_new_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_vector_string mlx_vector_string_new_data(const char **data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_string_new_data$descriptor() { + return mlx_vector_string_new_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_vector_string mlx_vector_string_new_data(const char **data, size_t size) + * } + */ + public static MethodHandle mlx_vector_string_new_data$handle() { + return mlx_vector_string_new_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_vector_string mlx_vector_string_new_data(const char **data, size_t size) + * } + */ + public static MemorySegment mlx_vector_string_new_data$address() { + return mlx_vector_string_new_data.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_vector_string mlx_vector_string_new_data(const char **data, size_t size) + * } + */ + public static MemorySegment mlx_vector_string_new_data(SegmentAllocator allocator, MemorySegment data, long size) { + var mh$ = mlx_vector_string_new_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_string_new_data", allocator, data, size); + } + return (MemorySegment)mh$.invokeExact(allocator, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_string_new_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_vector_string_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_string_new_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_vector_string mlx_vector_string_new_value(const char *val) + * } + */ + public static FunctionDescriptor mlx_vector_string_new_value$descriptor() { + return mlx_vector_string_new_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_vector_string mlx_vector_string_new_value(const char *val) + * } + */ + public static MethodHandle mlx_vector_string_new_value$handle() { + return mlx_vector_string_new_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_vector_string mlx_vector_string_new_value(const char *val) + * } + */ + public static MemorySegment mlx_vector_string_new_value$address() { + return mlx_vector_string_new_value.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_vector_string mlx_vector_string_new_value(const char *val) + * } + */ + public static MemorySegment mlx_vector_string_new_value(SegmentAllocator allocator, MemorySegment val) { + var mh$ = mlx_vector_string_new_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_string_new_value", allocator, val); + } + return (MemorySegment)mh$.invokeExact(allocator, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_string_set_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_string_set_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_string_set_data(mlx_vector_string *vec, const char **data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_string_set_data$descriptor() { + return mlx_vector_string_set_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_string_set_data(mlx_vector_string *vec, const char **data, size_t size) + * } + */ + public static MethodHandle mlx_vector_string_set_data$handle() { + return mlx_vector_string_set_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_string_set_data(mlx_vector_string *vec, const char **data, size_t size) + * } + */ + public static MemorySegment mlx_vector_string_set_data$address() { + return mlx_vector_string_set_data.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_string_set_data(mlx_vector_string *vec, const char **data, size_t size) + * } + */ + public static int mlx_vector_string_set_data(MemorySegment vec, MemorySegment data, long size) { + var mh$ = mlx_vector_string_set_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_string_set_data", vec, data, size); + } + return (int)mh$.invokeExact(vec, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_string_set_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_string_set_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_string_set_value(mlx_vector_string *vec, const char *val) + * } + */ + public static FunctionDescriptor mlx_vector_string_set_value$descriptor() { + return mlx_vector_string_set_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_string_set_value(mlx_vector_string *vec, const char *val) + * } + */ + public static MethodHandle mlx_vector_string_set_value$handle() { + return mlx_vector_string_set_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_string_set_value(mlx_vector_string *vec, const char *val) + * } + */ + public static MemorySegment mlx_vector_string_set_value$address() { + return mlx_vector_string_set_value.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_string_set_value(mlx_vector_string *vec, const char *val) + * } + */ + public static int mlx_vector_string_set_value(MemorySegment vec, MemorySegment val) { + var mh$ = mlx_vector_string_set_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_string_set_value", vec, val); + } + return (int)mh$.invokeExact(vec, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_string_append_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_string_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_string_append_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_string_append_data(mlx_vector_string vec, const char **data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_string_append_data$descriptor() { + return mlx_vector_string_append_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_string_append_data(mlx_vector_string vec, const char **data, size_t size) + * } + */ + public static MethodHandle mlx_vector_string_append_data$handle() { + return mlx_vector_string_append_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_string_append_data(mlx_vector_string vec, const char **data, size_t size) + * } + */ + public static MemorySegment mlx_vector_string_append_data$address() { + return mlx_vector_string_append_data.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_string_append_data(mlx_vector_string vec, const char **data, size_t size) + * } + */ + public static int mlx_vector_string_append_data(MemorySegment vec, MemorySegment data, long size) { + var mh$ = mlx_vector_string_append_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_string_append_data", vec, data, size); + } + return (int)mh$.invokeExact(vec, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_string_append_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_string_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_string_append_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_string_append_value(mlx_vector_string vec, const char *val) + * } + */ + public static FunctionDescriptor mlx_vector_string_append_value$descriptor() { + return mlx_vector_string_append_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_string_append_value(mlx_vector_string vec, const char *val) + * } + */ + public static MethodHandle mlx_vector_string_append_value$handle() { + return mlx_vector_string_append_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_string_append_value(mlx_vector_string vec, const char *val) + * } + */ + public static MemorySegment mlx_vector_string_append_value$address() { + return mlx_vector_string_append_value.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_string_append_value(mlx_vector_string vec, const char *val) + * } + */ + public static int mlx_vector_string_append_value(MemorySegment vec, MemorySegment val) { + var mh$ = mlx_vector_string_append_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_string_append_value", vec, val); + } + return (int)mh$.invokeExact(vec, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_string_size { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_vector_string_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_string_size"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * size_t mlx_vector_string_size(mlx_vector_string vec) + * } + */ + public static FunctionDescriptor mlx_vector_string_size$descriptor() { + return mlx_vector_string_size.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * size_t mlx_vector_string_size(mlx_vector_string vec) + * } + */ + public static MethodHandle mlx_vector_string_size$handle() { + return mlx_vector_string_size.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * size_t mlx_vector_string_size(mlx_vector_string vec) + * } + */ + public static MemorySegment mlx_vector_string_size$address() { + return mlx_vector_string_size.ADDR; + } + + /** + * {@snippet lang=c : + * size_t mlx_vector_string_size(mlx_vector_string vec) + * } + */ + public static long mlx_vector_string_size(MemorySegment vec) { + var mh$ = mlx_vector_string_size.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_string_size", vec); + } + return (long)mh$.invokeExact(vec); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_string_get { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_string_.layout(), + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_string_get"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_string_get(char **res, const mlx_vector_string vec, size_t idx) + * } + */ + public static FunctionDescriptor mlx_vector_string_get$descriptor() { + return mlx_vector_string_get.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_string_get(char **res, const mlx_vector_string vec, size_t idx) + * } + */ + public static MethodHandle mlx_vector_string_get$handle() { + return mlx_vector_string_get.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_string_get(char **res, const mlx_vector_string vec, size_t idx) + * } + */ + public static MemorySegment mlx_vector_string_get$address() { + return mlx_vector_string_get.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_string_get(char **res, const mlx_vector_string vec, size_t idx) + * } + */ + public static int mlx_vector_string_get(MemorySegment res, MemorySegment vec, long idx) { + var mh$ = mlx_vector_string_get.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_string_get", res, vec, idx); + } + return (int)mh$.invokeExact(res, vec, idx); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_closure mlx_closure_new() + * } + */ + public static class mlx_closure_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_closure_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_closure_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_closure mlx_closure_new() + * } + */ + public static mlx_closure_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_closure_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_closure_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_closure_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_free(mlx_closure cls) + * } + */ + public static FunctionDescriptor mlx_closure_free$descriptor() { + return mlx_closure_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_free(mlx_closure cls) + * } + */ + public static MethodHandle mlx_closure_free$handle() { + return mlx_closure_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_free(mlx_closure cls) + * } + */ + public static MemorySegment mlx_closure_free$address() { + return mlx_closure_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_free(mlx_closure cls) + * } + */ + public static int mlx_closure_free(MemorySegment cls) { + var mh$ = mlx_closure_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_free", cls); + } + return (int)mh$.invokeExact(cls); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_new_func { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_new_func"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure mlx_closure_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array)) + * } + */ + public static FunctionDescriptor mlx_closure_new_func$descriptor() { + return mlx_closure_new_func.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure mlx_closure_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array)) + * } + */ + public static MethodHandle mlx_closure_new_func$handle() { + return mlx_closure_new_func.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure mlx_closure_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array)) + * } + */ + public static MemorySegment mlx_closure_new_func$address() { + return mlx_closure_new_func.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure mlx_closure_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array)) + * } + */ + public static MemorySegment mlx_closure_new_func(SegmentAllocator allocator, MemorySegment fun) { + var mh$ = mlx_closure_new_func.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_new_func", allocator, fun); + } + return (MemorySegment)mh$.invokeExact(allocator, fun); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_new_func_payload { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_.layout(), + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_new_func_payload"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure mlx_closure_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static FunctionDescriptor mlx_closure_new_func_payload$descriptor() { + return mlx_closure_new_func_payload.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure mlx_closure_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MethodHandle mlx_closure_new_func_payload$handle() { + return mlx_closure_new_func_payload.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure mlx_closure_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_new_func_payload$address() { + return mlx_closure_new_func_payload.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure mlx_closure_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_new_func_payload(SegmentAllocator allocator, MemorySegment fun, MemorySegment payload, MemorySegment dtor) { + var mh$ = mlx_closure_new_func_payload.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_new_func_payload", allocator, fun, payload, dtor); + } + return (MemorySegment)mh$.invokeExact(allocator, fun, payload, dtor); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_set(mlx_closure *cls, const mlx_closure src) + * } + */ + public static FunctionDescriptor mlx_closure_set$descriptor() { + return mlx_closure_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_set(mlx_closure *cls, const mlx_closure src) + * } + */ + public static MethodHandle mlx_closure_set$handle() { + return mlx_closure_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_set(mlx_closure *cls, const mlx_closure src) + * } + */ + public static MemorySegment mlx_closure_set$address() { + return mlx_closure_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_set(mlx_closure *cls, const mlx_closure src) + * } + */ + public static int mlx_closure_set(MemorySegment cls, MemorySegment src) { + var mh$ = mlx_closure_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_set", cls, src); + } + return (int)mh$.invokeExact(cls, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_apply { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_.layout(), + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_apply"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_apply(mlx_vector_array *res, mlx_closure cls, const mlx_vector_array input) + * } + */ + public static FunctionDescriptor mlx_closure_apply$descriptor() { + return mlx_closure_apply.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_apply(mlx_vector_array *res, mlx_closure cls, const mlx_vector_array input) + * } + */ + public static MethodHandle mlx_closure_apply$handle() { + return mlx_closure_apply.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_apply(mlx_vector_array *res, mlx_closure cls, const mlx_vector_array input) + * } + */ + public static MemorySegment mlx_closure_apply$address() { + return mlx_closure_apply.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_apply(mlx_vector_array *res, mlx_closure cls, const mlx_vector_array input) + * } + */ + public static int mlx_closure_apply(MemorySegment res, MemorySegment cls, MemorySegment input) { + var mh$ = mlx_closure_apply.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_apply", res, cls, input); + } + return (int)mh$.invokeExact(res, cls, input); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_new_unary { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_new_unary"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure mlx_closure_new_unary(int (*fun)(mlx_array *, const mlx_array)) + * } + */ + public static FunctionDescriptor mlx_closure_new_unary$descriptor() { + return mlx_closure_new_unary.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure mlx_closure_new_unary(int (*fun)(mlx_array *, const mlx_array)) + * } + */ + public static MethodHandle mlx_closure_new_unary$handle() { + return mlx_closure_new_unary.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure mlx_closure_new_unary(int (*fun)(mlx_array *, const mlx_array)) + * } + */ + public static MemorySegment mlx_closure_new_unary$address() { + return mlx_closure_new_unary.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure mlx_closure_new_unary(int (*fun)(mlx_array *, const mlx_array)) + * } + */ + public static MemorySegment mlx_closure_new_unary(SegmentAllocator allocator, MemorySegment fun) { + var mh$ = mlx_closure_new_unary.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_new_unary", allocator, fun); + } + return (MemorySegment)mh$.invokeExact(allocator, fun); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_closure_kwargs mlx_closure_kwargs_new() + * } + */ + public static class mlx_closure_kwargs_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_closure_kwargs_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_kwargs_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_closure_kwargs_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_closure_kwargs mlx_closure_kwargs_new() + * } + */ + public static mlx_closure_kwargs_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_closure_kwargs_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_kwargs_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_closure_kwargs_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_closure_kwargs_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_kwargs_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_kwargs_free(mlx_closure_kwargs cls) + * } + */ + public static FunctionDescriptor mlx_closure_kwargs_free$descriptor() { + return mlx_closure_kwargs_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_kwargs_free(mlx_closure_kwargs cls) + * } + */ + public static MethodHandle mlx_closure_kwargs_free$handle() { + return mlx_closure_kwargs_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_kwargs_free(mlx_closure_kwargs cls) + * } + */ + public static MemorySegment mlx_closure_kwargs_free$address() { + return mlx_closure_kwargs_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_kwargs_free(mlx_closure_kwargs cls) + * } + */ + public static int mlx_closure_kwargs_free(MemorySegment cls) { + var mh$ = mlx_closure_kwargs_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_kwargs_free", cls); + } + return (int)mh$.invokeExact(cls); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_kwargs_new_func { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_kwargs_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_kwargs_new_func"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure_kwargs mlx_closure_kwargs_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_map_string_to_array)) + * } + */ + public static FunctionDescriptor mlx_closure_kwargs_new_func$descriptor() { + return mlx_closure_kwargs_new_func.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure_kwargs mlx_closure_kwargs_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_map_string_to_array)) + * } + */ + public static MethodHandle mlx_closure_kwargs_new_func$handle() { + return mlx_closure_kwargs_new_func.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure_kwargs mlx_closure_kwargs_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_map_string_to_array)) + * } + */ + public static MemorySegment mlx_closure_kwargs_new_func$address() { + return mlx_closure_kwargs_new_func.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure_kwargs mlx_closure_kwargs_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_map_string_to_array)) + * } + */ + public static MemorySegment mlx_closure_kwargs_new_func(SegmentAllocator allocator, MemorySegment fun) { + var mh$ = mlx_closure_kwargs_new_func.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_kwargs_new_func", allocator, fun); + } + return (MemorySegment)mh$.invokeExact(allocator, fun); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_kwargs_new_func_payload { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_kwargs_.layout(), + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_kwargs_new_func_payload"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure_kwargs mlx_closure_kwargs_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_map_string_to_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static FunctionDescriptor mlx_closure_kwargs_new_func_payload$descriptor() { + return mlx_closure_kwargs_new_func_payload.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure_kwargs mlx_closure_kwargs_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_map_string_to_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MethodHandle mlx_closure_kwargs_new_func_payload$handle() { + return mlx_closure_kwargs_new_func_payload.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure_kwargs mlx_closure_kwargs_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_map_string_to_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_kwargs_new_func_payload$address() { + return mlx_closure_kwargs_new_func_payload.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure_kwargs mlx_closure_kwargs_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_map_string_to_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_kwargs_new_func_payload(SegmentAllocator allocator, MemorySegment fun, MemorySegment payload, MemorySegment dtor) { + var mh$ = mlx_closure_kwargs_new_func_payload.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_kwargs_new_func_payload", allocator, fun, payload, dtor); + } + return (MemorySegment)mh$.invokeExact(allocator, fun, payload, dtor); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_kwargs_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_kwargs_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_kwargs_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_kwargs_set(mlx_closure_kwargs *cls, const mlx_closure_kwargs src) + * } + */ + public static FunctionDescriptor mlx_closure_kwargs_set$descriptor() { + return mlx_closure_kwargs_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_kwargs_set(mlx_closure_kwargs *cls, const mlx_closure_kwargs src) + * } + */ + public static MethodHandle mlx_closure_kwargs_set$handle() { + return mlx_closure_kwargs_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_kwargs_set(mlx_closure_kwargs *cls, const mlx_closure_kwargs src) + * } + */ + public static MemorySegment mlx_closure_kwargs_set$address() { + return mlx_closure_kwargs_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_kwargs_set(mlx_closure_kwargs *cls, const mlx_closure_kwargs src) + * } + */ + public static int mlx_closure_kwargs_set(MemorySegment cls, MemorySegment src) { + var mh$ = mlx_closure_kwargs_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_kwargs_set", cls, src); + } + return (int)mh$.invokeExact(cls, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_kwargs_apply { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_kwargs_.layout(), + mlx_vector_array_.layout(), + mlx_map_string_to_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_kwargs_apply"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_kwargs_apply(mlx_vector_array *res, mlx_closure_kwargs cls, const mlx_vector_array input_0, const mlx_map_string_to_array input_1) + * } + */ + public static FunctionDescriptor mlx_closure_kwargs_apply$descriptor() { + return mlx_closure_kwargs_apply.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_kwargs_apply(mlx_vector_array *res, mlx_closure_kwargs cls, const mlx_vector_array input_0, const mlx_map_string_to_array input_1) + * } + */ + public static MethodHandle mlx_closure_kwargs_apply$handle() { + return mlx_closure_kwargs_apply.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_kwargs_apply(mlx_vector_array *res, mlx_closure_kwargs cls, const mlx_vector_array input_0, const mlx_map_string_to_array input_1) + * } + */ + public static MemorySegment mlx_closure_kwargs_apply$address() { + return mlx_closure_kwargs_apply.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_kwargs_apply(mlx_vector_array *res, mlx_closure_kwargs cls, const mlx_vector_array input_0, const mlx_map_string_to_array input_1) + * } + */ + public static int mlx_closure_kwargs_apply(MemorySegment res, MemorySegment cls, MemorySegment input_0, MemorySegment input_1) { + var mh$ = mlx_closure_kwargs_apply.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_kwargs_apply", res, cls, input_0, input_1); + } + return (int)mh$.invokeExact(res, cls, input_0, input_1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_closure_value_and_grad mlx_closure_value_and_grad_new() + * } + */ + public static class mlx_closure_value_and_grad_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_closure_value_and_grad_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_value_and_grad_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_closure_value_and_grad_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_closure_value_and_grad mlx_closure_value_and_grad_new() + * } + */ + public static mlx_closure_value_and_grad_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_closure_value_and_grad_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_value_and_grad_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_closure_value_and_grad_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_closure_value_and_grad_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_value_and_grad_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_value_and_grad_free(mlx_closure_value_and_grad cls) + * } + */ + public static FunctionDescriptor mlx_closure_value_and_grad_free$descriptor() { + return mlx_closure_value_and_grad_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_value_and_grad_free(mlx_closure_value_and_grad cls) + * } + */ + public static MethodHandle mlx_closure_value_and_grad_free$handle() { + return mlx_closure_value_and_grad_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_value_and_grad_free(mlx_closure_value_and_grad cls) + * } + */ + public static MemorySegment mlx_closure_value_and_grad_free$address() { + return mlx_closure_value_and_grad_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_value_and_grad_free(mlx_closure_value_and_grad cls) + * } + */ + public static int mlx_closure_value_and_grad_free(MemorySegment cls) { + var mh$ = mlx_closure_value_and_grad_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_value_and_grad_free", cls); + } + return (int)mh$.invokeExact(cls); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_value_and_grad_new_func { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_value_and_grad_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_value_and_grad_new_func"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure_value_and_grad mlx_closure_value_and_grad_new_func(int (*fun)(mlx_vector_array *, mlx_vector_array *, const mlx_vector_array)) + * } + */ + public static FunctionDescriptor mlx_closure_value_and_grad_new_func$descriptor() { + return mlx_closure_value_and_grad_new_func.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure_value_and_grad mlx_closure_value_and_grad_new_func(int (*fun)(mlx_vector_array *, mlx_vector_array *, const mlx_vector_array)) + * } + */ + public static MethodHandle mlx_closure_value_and_grad_new_func$handle() { + return mlx_closure_value_and_grad_new_func.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure_value_and_grad mlx_closure_value_and_grad_new_func(int (*fun)(mlx_vector_array *, mlx_vector_array *, const mlx_vector_array)) + * } + */ + public static MemorySegment mlx_closure_value_and_grad_new_func$address() { + return mlx_closure_value_and_grad_new_func.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure_value_and_grad mlx_closure_value_and_grad_new_func(int (*fun)(mlx_vector_array *, mlx_vector_array *, const mlx_vector_array)) + * } + */ + public static MemorySegment mlx_closure_value_and_grad_new_func(SegmentAllocator allocator, MemorySegment fun) { + var mh$ = mlx_closure_value_and_grad_new_func.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_value_and_grad_new_func", allocator, fun); + } + return (MemorySegment)mh$.invokeExact(allocator, fun); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_value_and_grad_new_func_payload { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_value_and_grad_.layout(), + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_value_and_grad_new_func_payload"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure_value_and_grad mlx_closure_value_and_grad_new_func_payload(int (*fun)(mlx_vector_array *, mlx_vector_array *, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static FunctionDescriptor mlx_closure_value_and_grad_new_func_payload$descriptor() { + return mlx_closure_value_and_grad_new_func_payload.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure_value_and_grad mlx_closure_value_and_grad_new_func_payload(int (*fun)(mlx_vector_array *, mlx_vector_array *, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MethodHandle mlx_closure_value_and_grad_new_func_payload$handle() { + return mlx_closure_value_and_grad_new_func_payload.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure_value_and_grad mlx_closure_value_and_grad_new_func_payload(int (*fun)(mlx_vector_array *, mlx_vector_array *, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_value_and_grad_new_func_payload$address() { + return mlx_closure_value_and_grad_new_func_payload.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure_value_and_grad mlx_closure_value_and_grad_new_func_payload(int (*fun)(mlx_vector_array *, mlx_vector_array *, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_value_and_grad_new_func_payload(SegmentAllocator allocator, MemorySegment fun, MemorySegment payload, MemorySegment dtor) { + var mh$ = mlx_closure_value_and_grad_new_func_payload.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_value_and_grad_new_func_payload", allocator, fun, payload, dtor); + } + return (MemorySegment)mh$.invokeExact(allocator, fun, payload, dtor); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_value_and_grad_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_value_and_grad_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_value_and_grad_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_value_and_grad_set(mlx_closure_value_and_grad *cls, const mlx_closure_value_and_grad src) + * } + */ + public static FunctionDescriptor mlx_closure_value_and_grad_set$descriptor() { + return mlx_closure_value_and_grad_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_value_and_grad_set(mlx_closure_value_and_grad *cls, const mlx_closure_value_and_grad src) + * } + */ + public static MethodHandle mlx_closure_value_and_grad_set$handle() { + return mlx_closure_value_and_grad_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_value_and_grad_set(mlx_closure_value_and_grad *cls, const mlx_closure_value_and_grad src) + * } + */ + public static MemorySegment mlx_closure_value_and_grad_set$address() { + return mlx_closure_value_and_grad_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_value_and_grad_set(mlx_closure_value_and_grad *cls, const mlx_closure_value_and_grad src) + * } + */ + public static int mlx_closure_value_and_grad_set(MemorySegment cls, MemorySegment src) { + var mh$ = mlx_closure_value_and_grad_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_value_and_grad_set", cls, src); + } + return (int)mh$.invokeExact(cls, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_value_and_grad_apply { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_closure_value_and_grad_.layout(), + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_value_and_grad_apply"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_value_and_grad_apply(mlx_vector_array *res_0, mlx_vector_array *res_1, mlx_closure_value_and_grad cls, const mlx_vector_array input) + * } + */ + public static FunctionDescriptor mlx_closure_value_and_grad_apply$descriptor() { + return mlx_closure_value_and_grad_apply.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_value_and_grad_apply(mlx_vector_array *res_0, mlx_vector_array *res_1, mlx_closure_value_and_grad cls, const mlx_vector_array input) + * } + */ + public static MethodHandle mlx_closure_value_and_grad_apply$handle() { + return mlx_closure_value_and_grad_apply.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_value_and_grad_apply(mlx_vector_array *res_0, mlx_vector_array *res_1, mlx_closure_value_and_grad cls, const mlx_vector_array input) + * } + */ + public static MemorySegment mlx_closure_value_and_grad_apply$address() { + return mlx_closure_value_and_grad_apply.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_value_and_grad_apply(mlx_vector_array *res_0, mlx_vector_array *res_1, mlx_closure_value_and_grad cls, const mlx_vector_array input) + * } + */ + public static int mlx_closure_value_and_grad_apply(MemorySegment res_0, MemorySegment res_1, MemorySegment cls, MemorySegment input) { + var mh$ = mlx_closure_value_and_grad_apply.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_value_and_grad_apply", res_0, res_1, cls, input); + } + return (int)mh$.invokeExact(res_0, res_1, cls, input); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_closure_custom mlx_closure_custom_new() + * } + */ + public static class mlx_closure_custom_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_closure_custom_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_closure_custom_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_closure_custom mlx_closure_custom_new() + * } + */ + public static mlx_closure_custom_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_closure_custom_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_closure_custom_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_closure_custom_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_custom_free(mlx_closure_custom cls) + * } + */ + public static FunctionDescriptor mlx_closure_custom_free$descriptor() { + return mlx_closure_custom_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_custom_free(mlx_closure_custom cls) + * } + */ + public static MethodHandle mlx_closure_custom_free$handle() { + return mlx_closure_custom_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_custom_free(mlx_closure_custom cls) + * } + */ + public static MemorySegment mlx_closure_custom_free$address() { + return mlx_closure_custom_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_custom_free(mlx_closure_custom cls) + * } + */ + public static int mlx_closure_custom_free(MemorySegment cls) { + var mh$ = mlx_closure_custom_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_free", cls); + } + return (int)mh$.invokeExact(cls); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_new_func { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_custom_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_new_func"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure_custom mlx_closure_custom_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const mlx_vector_array)) + * } + */ + public static FunctionDescriptor mlx_closure_custom_new_func$descriptor() { + return mlx_closure_custom_new_func.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure_custom mlx_closure_custom_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const mlx_vector_array)) + * } + */ + public static MethodHandle mlx_closure_custom_new_func$handle() { + return mlx_closure_custom_new_func.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure_custom mlx_closure_custom_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const mlx_vector_array)) + * } + */ + public static MemorySegment mlx_closure_custom_new_func$address() { + return mlx_closure_custom_new_func.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure_custom mlx_closure_custom_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const mlx_vector_array)) + * } + */ + public static MemorySegment mlx_closure_custom_new_func(SegmentAllocator allocator, MemorySegment fun) { + var mh$ = mlx_closure_custom_new_func.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_new_func", allocator, fun); + } + return (MemorySegment)mh$.invokeExact(allocator, fun); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_new_func_payload { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_custom_.layout(), + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_new_func_payload"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure_custom mlx_closure_custom_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static FunctionDescriptor mlx_closure_custom_new_func_payload$descriptor() { + return mlx_closure_custom_new_func_payload.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure_custom mlx_closure_custom_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MethodHandle mlx_closure_custom_new_func_payload$handle() { + return mlx_closure_custom_new_func_payload.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure_custom mlx_closure_custom_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_custom_new_func_payload$address() { + return mlx_closure_custom_new_func_payload.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure_custom mlx_closure_custom_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const mlx_vector_array, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_custom_new_func_payload(SegmentAllocator allocator, MemorySegment fun, MemorySegment payload, MemorySegment dtor) { + var mh$ = mlx_closure_custom_new_func_payload.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_new_func_payload", allocator, fun, payload, dtor); + } + return (MemorySegment)mh$.invokeExact(allocator, fun, payload, dtor); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_custom_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_custom_set(mlx_closure_custom *cls, const mlx_closure_custom src) + * } + */ + public static FunctionDescriptor mlx_closure_custom_set$descriptor() { + return mlx_closure_custom_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_custom_set(mlx_closure_custom *cls, const mlx_closure_custom src) + * } + */ + public static MethodHandle mlx_closure_custom_set$handle() { + return mlx_closure_custom_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_custom_set(mlx_closure_custom *cls, const mlx_closure_custom src) + * } + */ + public static MemorySegment mlx_closure_custom_set$address() { + return mlx_closure_custom_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_custom_set(mlx_closure_custom *cls, const mlx_closure_custom src) + * } + */ + public static int mlx_closure_custom_set(MemorySegment cls, MemorySegment src) { + var mh$ = mlx_closure_custom_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_set", cls, src); + } + return (int)mh$.invokeExact(cls, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_apply { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_custom_.layout(), + mlx_vector_array_.layout(), + mlx_vector_array_.layout(), + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_apply"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_custom_apply(mlx_vector_array *res, mlx_closure_custom cls, const mlx_vector_array input_0, const mlx_vector_array input_1, const mlx_vector_array input_2) + * } + */ + public static FunctionDescriptor mlx_closure_custom_apply$descriptor() { + return mlx_closure_custom_apply.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_custom_apply(mlx_vector_array *res, mlx_closure_custom cls, const mlx_vector_array input_0, const mlx_vector_array input_1, const mlx_vector_array input_2) + * } + */ + public static MethodHandle mlx_closure_custom_apply$handle() { + return mlx_closure_custom_apply.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_custom_apply(mlx_vector_array *res, mlx_closure_custom cls, const mlx_vector_array input_0, const mlx_vector_array input_1, const mlx_vector_array input_2) + * } + */ + public static MemorySegment mlx_closure_custom_apply$address() { + return mlx_closure_custom_apply.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_custom_apply(mlx_vector_array *res, mlx_closure_custom cls, const mlx_vector_array input_0, const mlx_vector_array input_1, const mlx_vector_array input_2) + * } + */ + public static int mlx_closure_custom_apply(MemorySegment res, MemorySegment cls, MemorySegment input_0, MemorySegment input_1, MemorySegment input_2) { + var mh$ = mlx_closure_custom_apply.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_apply", res, cls, input_0, input_1, input_2); + } + return (int)mh$.invokeExact(res, cls, input_0, input_1, input_2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_closure_custom_jvp mlx_closure_custom_jvp_new() + * } + */ + public static class mlx_closure_custom_jvp_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_closure_custom_jvp_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_jvp_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_closure_custom_jvp_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_closure_custom_jvp mlx_closure_custom_jvp_new() + * } + */ + public static mlx_closure_custom_jvp_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_closure_custom_jvp_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_jvp_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_closure_custom_jvp_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_closure_custom_jvp_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_jvp_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_custom_jvp_free(mlx_closure_custom_jvp cls) + * } + */ + public static FunctionDescriptor mlx_closure_custom_jvp_free$descriptor() { + return mlx_closure_custom_jvp_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_custom_jvp_free(mlx_closure_custom_jvp cls) + * } + */ + public static MethodHandle mlx_closure_custom_jvp_free$handle() { + return mlx_closure_custom_jvp_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_custom_jvp_free(mlx_closure_custom_jvp cls) + * } + */ + public static MemorySegment mlx_closure_custom_jvp_free$address() { + return mlx_closure_custom_jvp_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_custom_jvp_free(mlx_closure_custom_jvp cls) + * } + */ + public static int mlx_closure_custom_jvp_free(MemorySegment cls) { + var mh$ = mlx_closure_custom_jvp_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_jvp_free", cls); + } + return (int)mh$.invokeExact(cls); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_jvp_new_func { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_custom_jvp_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_jvp_new_func"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure_custom_jvp mlx_closure_custom_jvp_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const int *, size_t)) + * } + */ + public static FunctionDescriptor mlx_closure_custom_jvp_new_func$descriptor() { + return mlx_closure_custom_jvp_new_func.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure_custom_jvp mlx_closure_custom_jvp_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const int *, size_t)) + * } + */ + public static MethodHandle mlx_closure_custom_jvp_new_func$handle() { + return mlx_closure_custom_jvp_new_func.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure_custom_jvp mlx_closure_custom_jvp_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const int *, size_t)) + * } + */ + public static MemorySegment mlx_closure_custom_jvp_new_func$address() { + return mlx_closure_custom_jvp_new_func.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure_custom_jvp mlx_closure_custom_jvp_new_func(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const int *, size_t)) + * } + */ + public static MemorySegment mlx_closure_custom_jvp_new_func(SegmentAllocator allocator, MemorySegment fun) { + var mh$ = mlx_closure_custom_jvp_new_func.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_jvp_new_func", allocator, fun); + } + return (MemorySegment)mh$.invokeExact(allocator, fun); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_jvp_new_func_payload { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_custom_jvp_.layout(), + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_jvp_new_func_payload"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure_custom_jvp mlx_closure_custom_jvp_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const int *, size_t, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static FunctionDescriptor mlx_closure_custom_jvp_new_func_payload$descriptor() { + return mlx_closure_custom_jvp_new_func_payload.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure_custom_jvp mlx_closure_custom_jvp_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const int *, size_t, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MethodHandle mlx_closure_custom_jvp_new_func_payload$handle() { + return mlx_closure_custom_jvp_new_func_payload.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure_custom_jvp mlx_closure_custom_jvp_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const int *, size_t, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_custom_jvp_new_func_payload$address() { + return mlx_closure_custom_jvp_new_func_payload.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure_custom_jvp mlx_closure_custom_jvp_new_func_payload(int (*fun)(mlx_vector_array *, const mlx_vector_array, const mlx_vector_array, const int *, size_t, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_custom_jvp_new_func_payload(SegmentAllocator allocator, MemorySegment fun, MemorySegment payload, MemorySegment dtor) { + var mh$ = mlx_closure_custom_jvp_new_func_payload.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_jvp_new_func_payload", allocator, fun, payload, dtor); + } + return (MemorySegment)mh$.invokeExact(allocator, fun, payload, dtor); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_jvp_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_custom_jvp_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_jvp_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_custom_jvp_set(mlx_closure_custom_jvp *cls, const mlx_closure_custom_jvp src) + * } + */ + public static FunctionDescriptor mlx_closure_custom_jvp_set$descriptor() { + return mlx_closure_custom_jvp_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_custom_jvp_set(mlx_closure_custom_jvp *cls, const mlx_closure_custom_jvp src) + * } + */ + public static MethodHandle mlx_closure_custom_jvp_set$handle() { + return mlx_closure_custom_jvp_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_custom_jvp_set(mlx_closure_custom_jvp *cls, const mlx_closure_custom_jvp src) + * } + */ + public static MemorySegment mlx_closure_custom_jvp_set$address() { + return mlx_closure_custom_jvp_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_custom_jvp_set(mlx_closure_custom_jvp *cls, const mlx_closure_custom_jvp src) + * } + */ + public static int mlx_closure_custom_jvp_set(MemorySegment cls, MemorySegment src) { + var mh$ = mlx_closure_custom_jvp_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_jvp_set", cls, src); + } + return (int)mh$.invokeExact(cls, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_jvp_apply { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_custom_jvp_.layout(), + mlx_vector_array_.layout(), + mlx_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_jvp_apply"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_custom_jvp_apply(mlx_vector_array *res, mlx_closure_custom_jvp cls, const mlx_vector_array input_0, const mlx_vector_array input_1, const int *input_2, size_t input_2_num) + * } + */ + public static FunctionDescriptor mlx_closure_custom_jvp_apply$descriptor() { + return mlx_closure_custom_jvp_apply.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_custom_jvp_apply(mlx_vector_array *res, mlx_closure_custom_jvp cls, const mlx_vector_array input_0, const mlx_vector_array input_1, const int *input_2, size_t input_2_num) + * } + */ + public static MethodHandle mlx_closure_custom_jvp_apply$handle() { + return mlx_closure_custom_jvp_apply.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_custom_jvp_apply(mlx_vector_array *res, mlx_closure_custom_jvp cls, const mlx_vector_array input_0, const mlx_vector_array input_1, const int *input_2, size_t input_2_num) + * } + */ + public static MemorySegment mlx_closure_custom_jvp_apply$address() { + return mlx_closure_custom_jvp_apply.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_custom_jvp_apply(mlx_vector_array *res, mlx_closure_custom_jvp cls, const mlx_vector_array input_0, const mlx_vector_array input_1, const int *input_2, size_t input_2_num) + * } + */ + public static int mlx_closure_custom_jvp_apply(MemorySegment res, MemorySegment cls, MemorySegment input_0, MemorySegment input_1, MemorySegment input_2, long input_2_num) { + var mh$ = mlx_closure_custom_jvp_apply.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_jvp_apply", res, cls, input_0, input_1, input_2, input_2_num); + } + return (int)mh$.invokeExact(res, cls, input_0, input_1, input_2, input_2_num); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_closure_custom_vmap mlx_closure_custom_vmap_new() + * } + */ + public static class mlx_closure_custom_vmap_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_closure_custom_vmap_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_vmap_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_closure_custom_vmap_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_closure_custom_vmap mlx_closure_custom_vmap_new() + * } + */ + public static mlx_closure_custom_vmap_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_closure_custom_vmap_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_vmap_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_closure_custom_vmap_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_closure_custom_vmap_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_vmap_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_custom_vmap_free(mlx_closure_custom_vmap cls) + * } + */ + public static FunctionDescriptor mlx_closure_custom_vmap_free$descriptor() { + return mlx_closure_custom_vmap_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_custom_vmap_free(mlx_closure_custom_vmap cls) + * } + */ + public static MethodHandle mlx_closure_custom_vmap_free$handle() { + return mlx_closure_custom_vmap_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_custom_vmap_free(mlx_closure_custom_vmap cls) + * } + */ + public static MemorySegment mlx_closure_custom_vmap_free$address() { + return mlx_closure_custom_vmap_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_custom_vmap_free(mlx_closure_custom_vmap cls) + * } + */ + public static int mlx_closure_custom_vmap_free(MemorySegment cls) { + var mh$ = mlx_closure_custom_vmap_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_vmap_free", cls); + } + return (int)mh$.invokeExact(cls); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_vmap_new_func { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_custom_vmap_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_vmap_new_func"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure_custom_vmap mlx_closure_custom_vmap_new_func(int (*fun)(mlx_vector_array *, mlx_vector_int *, const mlx_vector_array, const int *, size_t)) + * } + */ + public static FunctionDescriptor mlx_closure_custom_vmap_new_func$descriptor() { + return mlx_closure_custom_vmap_new_func.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure_custom_vmap mlx_closure_custom_vmap_new_func(int (*fun)(mlx_vector_array *, mlx_vector_int *, const mlx_vector_array, const int *, size_t)) + * } + */ + public static MethodHandle mlx_closure_custom_vmap_new_func$handle() { + return mlx_closure_custom_vmap_new_func.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure_custom_vmap mlx_closure_custom_vmap_new_func(int (*fun)(mlx_vector_array *, mlx_vector_int *, const mlx_vector_array, const int *, size_t)) + * } + */ + public static MemorySegment mlx_closure_custom_vmap_new_func$address() { + return mlx_closure_custom_vmap_new_func.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure_custom_vmap mlx_closure_custom_vmap_new_func(int (*fun)(mlx_vector_array *, mlx_vector_int *, const mlx_vector_array, const int *, size_t)) + * } + */ + public static MemorySegment mlx_closure_custom_vmap_new_func(SegmentAllocator allocator, MemorySegment fun) { + var mh$ = mlx_closure_custom_vmap_new_func.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_vmap_new_func", allocator, fun); + } + return (MemorySegment)mh$.invokeExact(allocator, fun); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_vmap_new_func_payload { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_closure_custom_vmap_.layout(), + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_vmap_new_func_payload"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_closure_custom_vmap mlx_closure_custom_vmap_new_func_payload(int (*fun)(mlx_vector_array *, mlx_vector_int *, const mlx_vector_array, const int *, size_t, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static FunctionDescriptor mlx_closure_custom_vmap_new_func_payload$descriptor() { + return mlx_closure_custom_vmap_new_func_payload.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_closure_custom_vmap mlx_closure_custom_vmap_new_func_payload(int (*fun)(mlx_vector_array *, mlx_vector_int *, const mlx_vector_array, const int *, size_t, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MethodHandle mlx_closure_custom_vmap_new_func_payload$handle() { + return mlx_closure_custom_vmap_new_func_payload.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_closure_custom_vmap mlx_closure_custom_vmap_new_func_payload(int (*fun)(mlx_vector_array *, mlx_vector_int *, const mlx_vector_array, const int *, size_t, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_custom_vmap_new_func_payload$address() { + return mlx_closure_custom_vmap_new_func_payload.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_closure_custom_vmap mlx_closure_custom_vmap_new_func_payload(int (*fun)(mlx_vector_array *, mlx_vector_int *, const mlx_vector_array, const int *, size_t, void *), void *payload, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_closure_custom_vmap_new_func_payload(SegmentAllocator allocator, MemorySegment fun, MemorySegment payload, MemorySegment dtor) { + var mh$ = mlx_closure_custom_vmap_new_func_payload.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_vmap_new_func_payload", allocator, fun, payload, dtor); + } + return (MemorySegment)mh$.invokeExact(allocator, fun, payload, dtor); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_vmap_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_custom_vmap_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_vmap_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_custom_vmap_set(mlx_closure_custom_vmap *cls, const mlx_closure_custom_vmap src) + * } + */ + public static FunctionDescriptor mlx_closure_custom_vmap_set$descriptor() { + return mlx_closure_custom_vmap_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_custom_vmap_set(mlx_closure_custom_vmap *cls, const mlx_closure_custom_vmap src) + * } + */ + public static MethodHandle mlx_closure_custom_vmap_set$handle() { + return mlx_closure_custom_vmap_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_custom_vmap_set(mlx_closure_custom_vmap *cls, const mlx_closure_custom_vmap src) + * } + */ + public static MemorySegment mlx_closure_custom_vmap_set$address() { + return mlx_closure_custom_vmap_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_custom_vmap_set(mlx_closure_custom_vmap *cls, const mlx_closure_custom_vmap src) + * } + */ + public static int mlx_closure_custom_vmap_set(MemorySegment cls, MemorySegment src) { + var mh$ = mlx_closure_custom_vmap_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_vmap_set", cls, src); + } + return (int)mh$.invokeExact(cls, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_closure_custom_vmap_apply { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_closure_custom_vmap_.layout(), + mlx_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_closure_custom_vmap_apply"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_closure_custom_vmap_apply(mlx_vector_array *res_0, mlx_vector_int *res_1, mlx_closure_custom_vmap cls, const mlx_vector_array input_0, const int *input_1, size_t input_1_num) + * } + */ + public static FunctionDescriptor mlx_closure_custom_vmap_apply$descriptor() { + return mlx_closure_custom_vmap_apply.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_closure_custom_vmap_apply(mlx_vector_array *res_0, mlx_vector_int *res_1, mlx_closure_custom_vmap cls, const mlx_vector_array input_0, const int *input_1, size_t input_1_num) + * } + */ + public static MethodHandle mlx_closure_custom_vmap_apply$handle() { + return mlx_closure_custom_vmap_apply.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_closure_custom_vmap_apply(mlx_vector_array *res_0, mlx_vector_int *res_1, mlx_closure_custom_vmap cls, const mlx_vector_array input_0, const int *input_1, size_t input_1_num) + * } + */ + public static MemorySegment mlx_closure_custom_vmap_apply$address() { + return mlx_closure_custom_vmap_apply.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_closure_custom_vmap_apply(mlx_vector_array *res_0, mlx_vector_int *res_1, mlx_closure_custom_vmap cls, const mlx_vector_array input_0, const int *input_1, size_t input_1_num) + * } + */ + public static int mlx_closure_custom_vmap_apply(MemorySegment res_0, MemorySegment res_1, MemorySegment cls, MemorySegment input_0, MemorySegment input_1, long input_1_num) { + var mh$ = mlx_closure_custom_vmap_apply.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_closure_custom_vmap_apply", res_0, res_1, cls, input_0, input_1, input_1_num); + } + return (int)mh$.invokeExact(res_0, res_1, cls, input_0, input_1, input_1_num); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + /** + * {@snippet lang=c : + * typedef __darwin_va_list va_list + * } + */ + public static final AddressLayout va_list = mlx_h.C_POINTER; + + private static class renameat { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("renameat"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int renameat(int, const char *, int, const char *) + * } + */ + public static FunctionDescriptor renameat$descriptor() { + return renameat.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int renameat(int, const char *, int, const char *) + * } + */ + public static MethodHandle renameat$handle() { + return renameat.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int renameat(int, const char *, int, const char *) + * } + */ + public static MemorySegment renameat$address() { + return renameat.ADDR; + } + + /** + * {@snippet lang=c : + * int renameat(int, const char *, int, const char *) + * } + */ + public static int renameat(int x0, MemorySegment x1, int x2, MemorySegment x3) { + var mh$ = renameat.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("renameat", x0, x1, x2, x3); + } + return (int)mh$.invokeExact(x0, x1, x2, x3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class renamex_np { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("renamex_np"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int renamex_np(const char *, const char *, unsigned int) + * } + */ + public static FunctionDescriptor renamex_np$descriptor() { + return renamex_np.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int renamex_np(const char *, const char *, unsigned int) + * } + */ + public static MethodHandle renamex_np$handle() { + return renamex_np.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int renamex_np(const char *, const char *, unsigned int) + * } + */ + public static MemorySegment renamex_np$address() { + return renamex_np.ADDR; + } + + /** + * {@snippet lang=c : + * int renamex_np(const char *, const char *, unsigned int) + * } + */ + public static int renamex_np(MemorySegment x0, MemorySegment x1, int x2) { + var mh$ = renamex_np.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("renamex_np", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class renameatx_np { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("renameatx_np"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int renameatx_np(int, const char *, int, const char *, unsigned int) + * } + */ + public static FunctionDescriptor renameatx_np$descriptor() { + return renameatx_np.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int renameatx_np(int, const char *, int, const char *, unsigned int) + * } + */ + public static MethodHandle renameatx_np$handle() { + return renameatx_np.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int renameatx_np(int, const char *, int, const char *, unsigned int) + * } + */ + public static MemorySegment renameatx_np$address() { + return renameatx_np.ADDR; + } + + /** + * {@snippet lang=c : + * int renameatx_np(int, const char *, int, const char *, unsigned int) + * } + */ + public static int renameatx_np(int x0, MemorySegment x1, int x2, MemorySegment x3, int x4) { + var mh$ = renameatx_np.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("renameatx_np", x0, x1, x2, x3, x4); + } + return (int)mh$.invokeExact(x0, x1, x2, x3, x4); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int printf(const char *restrict, ...) + * } + */ + public static class printf { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("printf"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private printf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int printf(const char *restrict, ...) + * } + */ + public static printf makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new printf(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(MemorySegment x0, Object... x1) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("printf", x0, x1); + } + return (int) spreader.invokeExact(x0, x1); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + /** + * {@snippet lang=c : + * typedef __darwin_off_t fpos_t + * } + */ + public static final OfLong fpos_t = mlx_h.C_LONG_LONG; + + private static class __stdinp$constants { + public static final AddressLayout LAYOUT = mlx_h.C_POINTER; + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("__stdinp").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern FILE *__stdinp + * } + */ + public static AddressLayout __stdinp$layout() { + return __stdinp$constants.LAYOUT; + } + + /** + * Segment for variable: + * {@snippet lang=c : + * extern FILE *__stdinp + * } + */ + public static MemorySegment __stdinp$segment() { + return __stdinp$constants.SEGMENT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern FILE *__stdinp + * } + */ + public static MemorySegment __stdinp() { + return __stdinp$constants.SEGMENT.get(__stdinp$constants.LAYOUT, 0L); + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern FILE *__stdinp + * } + */ + public static void __stdinp(MemorySegment varValue) { + __stdinp$constants.SEGMENT.set(__stdinp$constants.LAYOUT, 0L, varValue); + } + + private static class __stdoutp$constants { + public static final AddressLayout LAYOUT = mlx_h.C_POINTER; + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("__stdoutp").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern FILE *__stdoutp + * } + */ + public static AddressLayout __stdoutp$layout() { + return __stdoutp$constants.LAYOUT; + } + + /** + * Segment for variable: + * {@snippet lang=c : + * extern FILE *__stdoutp + * } + */ + public static MemorySegment __stdoutp$segment() { + return __stdoutp$constants.SEGMENT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern FILE *__stdoutp + * } + */ + public static MemorySegment __stdoutp() { + return __stdoutp$constants.SEGMENT.get(__stdoutp$constants.LAYOUT, 0L); + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern FILE *__stdoutp + * } + */ + public static void __stdoutp(MemorySegment varValue) { + __stdoutp$constants.SEGMENT.set(__stdoutp$constants.LAYOUT, 0L, varValue); + } + + private static class __stderrp$constants { + public static final AddressLayout LAYOUT = mlx_h.C_POINTER; + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("__stderrp").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern FILE *__stderrp + * } + */ + public static AddressLayout __stderrp$layout() { + return __stderrp$constants.LAYOUT; + } + + /** + * Segment for variable: + * {@snippet lang=c : + * extern FILE *__stderrp + * } + */ + public static MemorySegment __stderrp$segment() { + return __stderrp$constants.SEGMENT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern FILE *__stderrp + * } + */ + public static MemorySegment __stderrp() { + return __stderrp$constants.SEGMENT.get(__stderrp$constants.LAYOUT, 0L); + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern FILE *__stderrp + * } + */ + public static void __stderrp(MemorySegment varValue) { + __stderrp$constants.SEGMENT.set(__stderrp$constants.LAYOUT, 0L, varValue); + } + + private static class clearerr { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("clearerr"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void clearerr(FILE *) + * } + */ + public static FunctionDescriptor clearerr$descriptor() { + return clearerr.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void clearerr(FILE *) + * } + */ + public static MethodHandle clearerr$handle() { + return clearerr.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void clearerr(FILE *) + * } + */ + public static MemorySegment clearerr$address() { + return clearerr.ADDR; + } + + /** + * {@snippet lang=c : + * void clearerr(FILE *) + * } + */ + public static void clearerr(MemorySegment x0) { + var mh$ = clearerr.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("clearerr", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fclose { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fclose"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int fclose(FILE *) + * } + */ + public static FunctionDescriptor fclose$descriptor() { + return fclose.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int fclose(FILE *) + * } + */ + public static MethodHandle fclose$handle() { + return fclose.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int fclose(FILE *) + * } + */ + public static MemorySegment fclose$address() { + return fclose.ADDR; + } + + /** + * {@snippet lang=c : + * int fclose(FILE *) + * } + */ + public static int fclose(MemorySegment x0) { + var mh$ = fclose.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fclose", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class feof { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("feof"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int feof(FILE *) + * } + */ + public static FunctionDescriptor feof$descriptor() { + return feof.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int feof(FILE *) + * } + */ + public static MethodHandle feof$handle() { + return feof.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int feof(FILE *) + * } + */ + public static MemorySegment feof$address() { + return feof.ADDR; + } + + /** + * {@snippet lang=c : + * int feof(FILE *) + * } + */ + public static int feof(MemorySegment x0) { + var mh$ = feof.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("feof", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class ferror { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("ferror"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int ferror(FILE *) + * } + */ + public static FunctionDescriptor ferror$descriptor() { + return ferror.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int ferror(FILE *) + * } + */ + public static MethodHandle ferror$handle() { + return ferror.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int ferror(FILE *) + * } + */ + public static MemorySegment ferror$address() { + return ferror.ADDR; + } + + /** + * {@snippet lang=c : + * int ferror(FILE *) + * } + */ + public static int ferror(MemorySegment x0) { + var mh$ = ferror.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("ferror", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fflush { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fflush"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int fflush(FILE *) + * } + */ + public static FunctionDescriptor fflush$descriptor() { + return fflush.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int fflush(FILE *) + * } + */ + public static MethodHandle fflush$handle() { + return fflush.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int fflush(FILE *) + * } + */ + public static MemorySegment fflush$address() { + return fflush.ADDR; + } + + /** + * {@snippet lang=c : + * int fflush(FILE *) + * } + */ + public static int fflush(MemorySegment x0) { + var mh$ = fflush.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fflush", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fgetc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fgetc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int fgetc(FILE *) + * } + */ + public static FunctionDescriptor fgetc$descriptor() { + return fgetc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int fgetc(FILE *) + * } + */ + public static MethodHandle fgetc$handle() { + return fgetc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int fgetc(FILE *) + * } + */ + public static MemorySegment fgetc$address() { + return fgetc.ADDR; + } + + /** + * {@snippet lang=c : + * int fgetc(FILE *) + * } + */ + public static int fgetc(MemorySegment x0) { + var mh$ = fgetc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fgetc", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fgetpos { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fgetpos"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int fgetpos(FILE *restrict, fpos_t *) + * } + */ + public static FunctionDescriptor fgetpos$descriptor() { + return fgetpos.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int fgetpos(FILE *restrict, fpos_t *) + * } + */ + public static MethodHandle fgetpos$handle() { + return fgetpos.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int fgetpos(FILE *restrict, fpos_t *) + * } + */ + public static MemorySegment fgetpos$address() { + return fgetpos.ADDR; + } + + /** + * {@snippet lang=c : + * int fgetpos(FILE *restrict, fpos_t *) + * } + */ + public static int fgetpos(MemorySegment x0, MemorySegment x1) { + var mh$ = fgetpos.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fgetpos", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fgets { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fgets"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *fgets(char *restrict, int __size, FILE *) + * } + */ + public static FunctionDescriptor fgets$descriptor() { + return fgets.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *fgets(char *restrict, int __size, FILE *) + * } + */ + public static MethodHandle fgets$handle() { + return fgets.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *fgets(char *restrict, int __size, FILE *) + * } + */ + public static MemorySegment fgets$address() { + return fgets.ADDR; + } + + /** + * {@snippet lang=c : + * char *fgets(char *restrict, int __size, FILE *) + * } + */ + public static MemorySegment fgets(MemorySegment x0, int __size, MemorySegment x2) { + var mh$ = fgets.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fgets", x0, __size, x2); + } + return (MemorySegment)mh$.invokeExact(x0, __size, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fopen { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fopen"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * FILE *fopen(const char *restrict __filename, const char *restrict __mode) asm("_fopen") + * } + */ + public static FunctionDescriptor fopen$descriptor() { + return fopen.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * FILE *fopen(const char *restrict __filename, const char *restrict __mode) asm("_fopen") + * } + */ + public static MethodHandle fopen$handle() { + return fopen.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * FILE *fopen(const char *restrict __filename, const char *restrict __mode) asm("_fopen") + * } + */ + public static MemorySegment fopen$address() { + return fopen.ADDR; + } + + /** + * {@snippet lang=c : + * FILE *fopen(const char *restrict __filename, const char *restrict __mode) asm("_fopen") + * } + */ + public static MemorySegment fopen(MemorySegment __filename, MemorySegment __mode) { + var mh$ = fopen.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fopen", __filename, __mode); + } + return (MemorySegment)mh$.invokeExact(__filename, __mode); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int fprintf(FILE *restrict, const char *restrict, ...) + * } + */ + public static class fprintf { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fprintf"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private fprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int fprintf(FILE *restrict, const char *restrict, ...) + * } + */ + public static fprintf makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new fprintf(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(MemorySegment x0, MemorySegment x1, Object... x2) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fprintf", x0, x1, x2); + } + return (int) spreader.invokeExact(x0, x1, x2); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class fputc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fputc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int fputc(int, FILE *) + * } + */ + public static FunctionDescriptor fputc$descriptor() { + return fputc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int fputc(int, FILE *) + * } + */ + public static MethodHandle fputc$handle() { + return fputc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int fputc(int, FILE *) + * } + */ + public static MemorySegment fputc$address() { + return fputc.ADDR; + } + + /** + * {@snippet lang=c : + * int fputc(int, FILE *) + * } + */ + public static int fputc(int x0, MemorySegment x1) { + var mh$ = fputc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fputc", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fputs { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fputs"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int fputs(const char *restrict, FILE *restrict) asm("_fputs") + * } + */ + public static FunctionDescriptor fputs$descriptor() { + return fputs.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int fputs(const char *restrict, FILE *restrict) asm("_fputs") + * } + */ + public static MethodHandle fputs$handle() { + return fputs.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int fputs(const char *restrict, FILE *restrict) asm("_fputs") + * } + */ + public static MemorySegment fputs$address() { + return fputs.ADDR; + } + + /** + * {@snippet lang=c : + * int fputs(const char *restrict, FILE *restrict) asm("_fputs") + * } + */ + public static int fputs(MemorySegment x0, MemorySegment x1) { + var mh$ = fputs.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fputs", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fread { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fread"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream) + * } + */ + public static FunctionDescriptor fread$descriptor() { + return fread.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream) + * } + */ + public static MethodHandle fread$handle() { + return fread.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream) + * } + */ + public static MemorySegment fread$address() { + return fread.ADDR; + } + + /** + * {@snippet lang=c : + * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream) + * } + */ + public static long fread(MemorySegment __ptr, long __size, long __nitems, MemorySegment __stream) { + var mh$ = fread.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fread", __ptr, __size, __nitems, __stream); + } + return (long)mh$.invokeExact(__ptr, __size, __nitems, __stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class freopen { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("freopen"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict) asm("_freopen") + * } + */ + public static FunctionDescriptor freopen$descriptor() { + return freopen.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict) asm("_freopen") + * } + */ + public static MethodHandle freopen$handle() { + return freopen.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict) asm("_freopen") + * } + */ + public static MemorySegment freopen$address() { + return freopen.ADDR; + } + + /** + * {@snippet lang=c : + * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict) asm("_freopen") + * } + */ + public static MemorySegment freopen(MemorySegment x0, MemorySegment x1, MemorySegment x2) { + var mh$ = freopen.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("freopen", x0, x1, x2); + } + return (MemorySegment)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int fscanf(FILE *restrict, const char *restrict, ...) + * } + */ + public static class fscanf { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fscanf"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private fscanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int fscanf(FILE *restrict, const char *restrict, ...) + * } + */ + public static fscanf makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new fscanf(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(MemorySegment x0, MemorySegment x1, Object... x2) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fscanf", x0, x1, x2); + } + return (int) spreader.invokeExact(x0, x1, x2); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class fseek { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fseek"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int fseek(FILE *, long, int) + * } + */ + public static FunctionDescriptor fseek$descriptor() { + return fseek.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int fseek(FILE *, long, int) + * } + */ + public static MethodHandle fseek$handle() { + return fseek.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int fseek(FILE *, long, int) + * } + */ + public static MemorySegment fseek$address() { + return fseek.ADDR; + } + + /** + * {@snippet lang=c : + * int fseek(FILE *, long, int) + * } + */ + public static int fseek(MemorySegment x0, long x1, int x2) { + var mh$ = fseek.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fseek", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fsetpos { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fsetpos"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int fsetpos(FILE *, const fpos_t *) + * } + */ + public static FunctionDescriptor fsetpos$descriptor() { + return fsetpos.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int fsetpos(FILE *, const fpos_t *) + * } + */ + public static MethodHandle fsetpos$handle() { + return fsetpos.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int fsetpos(FILE *, const fpos_t *) + * } + */ + public static MemorySegment fsetpos$address() { + return fsetpos.ADDR; + } + + /** + * {@snippet lang=c : + * int fsetpos(FILE *, const fpos_t *) + * } + */ + public static int fsetpos(MemorySegment x0, MemorySegment x1) { + var mh$ = fsetpos.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fsetpos", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class ftell { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("ftell"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long ftell(FILE *) + * } + */ + public static FunctionDescriptor ftell$descriptor() { + return ftell.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long ftell(FILE *) + * } + */ + public static MethodHandle ftell$handle() { + return ftell.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long ftell(FILE *) + * } + */ + public static MemorySegment ftell$address() { + return ftell.ADDR; + } + + /** + * {@snippet lang=c : + * long ftell(FILE *) + * } + */ + public static long ftell(MemorySegment x0) { + var mh$ = ftell.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("ftell", x0); + } + return (long)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fwrite { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fwrite"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream) asm("_fwrite") + * } + */ + public static FunctionDescriptor fwrite$descriptor() { + return fwrite.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream) asm("_fwrite") + * } + */ + public static MethodHandle fwrite$handle() { + return fwrite.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream) asm("_fwrite") + * } + */ + public static MemorySegment fwrite$address() { + return fwrite.ADDR; + } + + /** + * {@snippet lang=c : + * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream) asm("_fwrite") + * } + */ + public static long fwrite(MemorySegment __ptr, long __size, long __nitems, MemorySegment __stream) { + var mh$ = fwrite.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fwrite", __ptr, __size, __nitems, __stream); + } + return (long)mh$.invokeExact(__ptr, __size, __nitems, __stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int getc(FILE *) + * } + */ + public static FunctionDescriptor getc$descriptor() { + return getc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int getc(FILE *) + * } + */ + public static MethodHandle getc$handle() { + return getc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int getc(FILE *) + * } + */ + public static MemorySegment getc$address() { + return getc.ADDR; + } + + /** + * {@snippet lang=c : + * int getc(FILE *) + * } + */ + public static int getc(MemorySegment x0) { + var mh$ = getc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getc", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getchar { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getchar"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int getchar(void) + * } + */ + public static FunctionDescriptor getchar$descriptor() { + return getchar.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int getchar(void) + * } + */ + public static MethodHandle getchar$handle() { + return getchar.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int getchar(void) + * } + */ + public static MemorySegment getchar$address() { + return getchar.ADDR; + } + + /** + * {@snippet lang=c : + * int getchar(void) + * } + */ + public static int getchar() { + var mh$ = getchar.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getchar"); + } + return (int)mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class gets { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("gets"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *gets(char *) + * } + */ + public static FunctionDescriptor gets$descriptor() { + return gets.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *gets(char *) + * } + */ + public static MethodHandle gets$handle() { + return gets.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *gets(char *) + * } + */ + public static MemorySegment gets$address() { + return gets.ADDR; + } + + /** + * {@snippet lang=c : + * char *gets(char *) + * } + */ + public static MemorySegment gets(MemorySegment x0) { + var mh$ = gets.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("gets", x0); + } + return (MemorySegment)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class perror { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("perror"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void perror(const char *) + * } + */ + public static FunctionDescriptor perror$descriptor() { + return perror.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void perror(const char *) + * } + */ + public static MethodHandle perror$handle() { + return perror.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void perror(const char *) + * } + */ + public static MemorySegment perror$address() { + return perror.ADDR; + } + + /** + * {@snippet lang=c : + * void perror(const char *) + * } + */ + public static void perror(MemorySegment x0) { + var mh$ = perror.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("perror", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class putc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("putc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int putc(int, FILE *) + * } + */ + public static FunctionDescriptor putc$descriptor() { + return putc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int putc(int, FILE *) + * } + */ + public static MethodHandle putc$handle() { + return putc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int putc(int, FILE *) + * } + */ + public static MemorySegment putc$address() { + return putc.ADDR; + } + + /** + * {@snippet lang=c : + * int putc(int, FILE *) + * } + */ + public static int putc(int x0, MemorySegment x1) { + var mh$ = putc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("putc", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class putchar { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("putchar"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int putchar(int) + * } + */ + public static FunctionDescriptor putchar$descriptor() { + return putchar.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int putchar(int) + * } + */ + public static MethodHandle putchar$handle() { + return putchar.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int putchar(int) + * } + */ + public static MemorySegment putchar$address() { + return putchar.ADDR; + } + + /** + * {@snippet lang=c : + * int putchar(int) + * } + */ + public static int putchar(int x0) { + var mh$ = putchar.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("putchar", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class puts { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("puts"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int puts(const char *) + * } + */ + public static FunctionDescriptor puts$descriptor() { + return puts.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int puts(const char *) + * } + */ + public static MethodHandle puts$handle() { + return puts.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int puts(const char *) + * } + */ + public static MemorySegment puts$address() { + return puts.ADDR; + } + + /** + * {@snippet lang=c : + * int puts(const char *) + * } + */ + public static int puts(MemorySegment x0) { + var mh$ = puts.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("puts", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class remove { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("remove"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int remove(const char *) + * } + */ + public static FunctionDescriptor remove$descriptor() { + return remove.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int remove(const char *) + * } + */ + public static MethodHandle remove$handle() { + return remove.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int remove(const char *) + * } + */ + public static MemorySegment remove$address() { + return remove.ADDR; + } + + /** + * {@snippet lang=c : + * int remove(const char *) + * } + */ + public static int remove(MemorySegment x0) { + var mh$ = remove.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("remove", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class rename { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("rename"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int rename(const char *__old, const char *__new) + * } + */ + public static FunctionDescriptor rename$descriptor() { + return rename.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int rename(const char *__old, const char *__new) + * } + */ + public static MethodHandle rename$handle() { + return rename.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int rename(const char *__old, const char *__new) + * } + */ + public static MemorySegment rename$address() { + return rename.ADDR; + } + + /** + * {@snippet lang=c : + * int rename(const char *__old, const char *__new) + * } + */ + public static int rename(MemorySegment __old, MemorySegment __new) { + var mh$ = rename.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("rename", __old, __new); + } + return (int)mh$.invokeExact(__old, __new); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class rewind { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("rewind"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void rewind(FILE *) + * } + */ + public static FunctionDescriptor rewind$descriptor() { + return rewind.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void rewind(FILE *) + * } + */ + public static MethodHandle rewind$handle() { + return rewind.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void rewind(FILE *) + * } + */ + public static MemorySegment rewind$address() { + return rewind.ADDR; + } + + /** + * {@snippet lang=c : + * void rewind(FILE *) + * } + */ + public static void rewind(MemorySegment x0) { + var mh$ = rewind.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("rewind", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int scanf(const char *restrict, ...) + * } + */ + public static class scanf { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("scanf"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private scanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int scanf(const char *restrict, ...) + * } + */ + public static scanf makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new scanf(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(MemorySegment x0, Object... x1) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("scanf", x0, x1); + } + return (int) spreader.invokeExact(x0, x1); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class setbuf { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("setbuf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void setbuf(FILE *restrict, char *restrict) + * } + */ + public static FunctionDescriptor setbuf$descriptor() { + return setbuf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void setbuf(FILE *restrict, char *restrict) + * } + */ + public static MethodHandle setbuf$handle() { + return setbuf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void setbuf(FILE *restrict, char *restrict) + * } + */ + public static MemorySegment setbuf$address() { + return setbuf.ADDR; + } + + /** + * {@snippet lang=c : + * void setbuf(FILE *restrict, char *restrict) + * } + */ + public static void setbuf(MemorySegment x0, MemorySegment x1) { + var mh$ = setbuf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("setbuf", x0, x1); + } + mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class setvbuf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("setvbuf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int setvbuf(FILE *restrict, char *restrict, int, size_t __size) + * } + */ + public static FunctionDescriptor setvbuf$descriptor() { + return setvbuf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int setvbuf(FILE *restrict, char *restrict, int, size_t __size) + * } + */ + public static MethodHandle setvbuf$handle() { + return setvbuf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int setvbuf(FILE *restrict, char *restrict, int, size_t __size) + * } + */ + public static MemorySegment setvbuf$address() { + return setvbuf.ADDR; + } + + /** + * {@snippet lang=c : + * int setvbuf(FILE *restrict, char *restrict, int, size_t __size) + * } + */ + public static int setvbuf(MemorySegment x0, MemorySegment x1, int x2, long __size) { + var mh$ = setvbuf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("setvbuf", x0, x1, x2, __size); + } + return (int)mh$.invokeExact(x0, x1, x2, __size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int sprintf(char *restrict, const char *restrict, ...) + * } + */ + public static class sprintf { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("sprintf"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private sprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int sprintf(char *restrict, const char *restrict, ...) + * } + */ + public static sprintf makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new sprintf(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(MemorySegment x0, MemorySegment x1, Object... x2) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("sprintf", x0, x1, x2); + } + return (int) spreader.invokeExact(x0, x1, x2); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int sscanf(const char *restrict, const char *restrict, ...) + * } + */ + public static class sscanf { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("sscanf"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private sscanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int sscanf(const char *restrict, const char *restrict, ...) + * } + */ + public static sscanf makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new sscanf(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(MemorySegment x0, MemorySegment x1, Object... x2) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("sscanf", x0, x1, x2); + } + return (int) spreader.invokeExact(x0, x1, x2); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class tmpfile { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("tmpfile"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * FILE *tmpfile(void) + * } + */ + public static FunctionDescriptor tmpfile$descriptor() { + return tmpfile.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * FILE *tmpfile(void) + * } + */ + public static MethodHandle tmpfile$handle() { + return tmpfile.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * FILE *tmpfile(void) + * } + */ + public static MemorySegment tmpfile$address() { + return tmpfile.ADDR; + } + + /** + * {@snippet lang=c : + * FILE *tmpfile(void) + * } + */ + public static MemorySegment tmpfile() { + var mh$ = tmpfile.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("tmpfile"); + } + return (MemorySegment)mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class tmpnam { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("tmpnam"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *tmpnam(char *) + * } + */ + public static FunctionDescriptor tmpnam$descriptor() { + return tmpnam.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *tmpnam(char *) + * } + */ + public static MethodHandle tmpnam$handle() { + return tmpnam.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *tmpnam(char *) + * } + */ + public static MemorySegment tmpnam$address() { + return tmpnam.ADDR; + } + + /** + * {@snippet lang=c : + * char *tmpnam(char *) + * } + */ + public static MemorySegment tmpnam(MemorySegment x0) { + var mh$ = tmpnam.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("tmpnam", x0); + } + return (MemorySegment)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class ungetc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("ungetc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int ungetc(int, FILE *) + * } + */ + public static FunctionDescriptor ungetc$descriptor() { + return ungetc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int ungetc(int, FILE *) + * } + */ + public static MethodHandle ungetc$handle() { + return ungetc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int ungetc(int, FILE *) + * } + */ + public static MemorySegment ungetc$address() { + return ungetc.ADDR; + } + + /** + * {@snippet lang=c : + * int ungetc(int, FILE *) + * } + */ + public static int ungetc(int x0, MemorySegment x1) { + var mh$ = ungetc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("ungetc", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class vfprintf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("vfprintf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int vfprintf(FILE *restrict, const char *restrict, va_list) + * } + */ + public static FunctionDescriptor vfprintf$descriptor() { + return vfprintf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int vfprintf(FILE *restrict, const char *restrict, va_list) + * } + */ + public static MethodHandle vfprintf$handle() { + return vfprintf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int vfprintf(FILE *restrict, const char *restrict, va_list) + * } + */ + public static MemorySegment vfprintf$address() { + return vfprintf.ADDR; + } + + /** + * {@snippet lang=c : + * int vfprintf(FILE *restrict, const char *restrict, va_list) + * } + */ + public static int vfprintf(MemorySegment x0, MemorySegment x1, MemorySegment x2) { + var mh$ = vfprintf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("vfprintf", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class vprintf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("vprintf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int vprintf(const char *restrict, va_list) + * } + */ + public static FunctionDescriptor vprintf$descriptor() { + return vprintf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int vprintf(const char *restrict, va_list) + * } + */ + public static MethodHandle vprintf$handle() { + return vprintf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int vprintf(const char *restrict, va_list) + * } + */ + public static MemorySegment vprintf$address() { + return vprintf.ADDR; + } + + /** + * {@snippet lang=c : + * int vprintf(const char *restrict, va_list) + * } + */ + public static int vprintf(MemorySegment x0, MemorySegment x1) { + var mh$ = vprintf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("vprintf", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class vsprintf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("vsprintf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int vsprintf(char *restrict, const char *restrict, va_list) + * } + */ + public static FunctionDescriptor vsprintf$descriptor() { + return vsprintf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int vsprintf(char *restrict, const char *restrict, va_list) + * } + */ + public static MethodHandle vsprintf$handle() { + return vsprintf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int vsprintf(char *restrict, const char *restrict, va_list) + * } + */ + public static MemorySegment vsprintf$address() { + return vsprintf.ADDR; + } + + /** + * {@snippet lang=c : + * int vsprintf(char *restrict, const char *restrict, va_list) + * } + */ + public static int vsprintf(MemorySegment x0, MemorySegment x1, MemorySegment x2) { + var mh$ = vsprintf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("vsprintf", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class ctermid { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("ctermid"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *ctermid(char *) + * } + */ + public static FunctionDescriptor ctermid$descriptor() { + return ctermid.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *ctermid(char *) + * } + */ + public static MethodHandle ctermid$handle() { + return ctermid.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *ctermid(char *) + * } + */ + public static MemorySegment ctermid$address() { + return ctermid.ADDR; + } + + /** + * {@snippet lang=c : + * char *ctermid(char *) + * } + */ + public static MemorySegment ctermid(MemorySegment x0) { + var mh$ = ctermid.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("ctermid", x0); + } + return (MemorySegment)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fdopen { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fdopen"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * FILE *fdopen(int, const char *) asm("_fdopen") + * } + */ + public static FunctionDescriptor fdopen$descriptor() { + return fdopen.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * FILE *fdopen(int, const char *) asm("_fdopen") + * } + */ + public static MethodHandle fdopen$handle() { + return fdopen.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * FILE *fdopen(int, const char *) asm("_fdopen") + * } + */ + public static MemorySegment fdopen$address() { + return fdopen.ADDR; + } + + /** + * {@snippet lang=c : + * FILE *fdopen(int, const char *) asm("_fdopen") + * } + */ + public static MemorySegment fdopen(int x0, MemorySegment x1) { + var mh$ = fdopen.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fdopen", x0, x1); + } + return (MemorySegment)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fileno { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fileno"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int fileno(FILE *) + * } + */ + public static FunctionDescriptor fileno$descriptor() { + return fileno.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int fileno(FILE *) + * } + */ + public static MethodHandle fileno$handle() { + return fileno.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int fileno(FILE *) + * } + */ + public static MemorySegment fileno$address() { + return fileno.ADDR; + } + + /** + * {@snippet lang=c : + * int fileno(FILE *) + * } + */ + public static int fileno(MemorySegment x0) { + var mh$ = fileno.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fileno", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class pclose { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("pclose"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int pclose(FILE *) + * } + */ + public static FunctionDescriptor pclose$descriptor() { + return pclose.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int pclose(FILE *) + * } + */ + public static MethodHandle pclose$handle() { + return pclose.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int pclose(FILE *) + * } + */ + public static MemorySegment pclose$address() { + return pclose.ADDR; + } + + /** + * {@snippet lang=c : + * int pclose(FILE *) + * } + */ + public static int pclose(MemorySegment x0) { + var mh$ = pclose.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("pclose", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class popen { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("popen"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * FILE *popen(const char *, const char *) asm("_popen") + * } + */ + public static FunctionDescriptor popen$descriptor() { + return popen.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * FILE *popen(const char *, const char *) asm("_popen") + * } + */ + public static MethodHandle popen$handle() { + return popen.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * FILE *popen(const char *, const char *) asm("_popen") + * } + */ + public static MemorySegment popen$address() { + return popen.ADDR; + } + + /** + * {@snippet lang=c : + * FILE *popen(const char *, const char *) asm("_popen") + * } + */ + public static MemorySegment popen(MemorySegment x0, MemorySegment x1) { + var mh$ = popen.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("popen", x0, x1); + } + return (MemorySegment)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class __srget { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("__srget"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int __srget(FILE *) + * } + */ + public static FunctionDescriptor __srget$descriptor() { + return __srget.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int __srget(FILE *) + * } + */ + public static MethodHandle __srget$handle() { + return __srget.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int __srget(FILE *) + * } + */ + public static MemorySegment __srget$address() { + return __srget.ADDR; + } + + /** + * {@snippet lang=c : + * int __srget(FILE *) + * } + */ + public static int __srget(MemorySegment x0) { + var mh$ = __srget.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("__srget", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class __svfscanf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("__svfscanf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int __svfscanf(FILE *, const char *, va_list) + * } + */ + public static FunctionDescriptor __svfscanf$descriptor() { + return __svfscanf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int __svfscanf(FILE *, const char *, va_list) + * } + */ + public static MethodHandle __svfscanf$handle() { + return __svfscanf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int __svfscanf(FILE *, const char *, va_list) + * } + */ + public static MemorySegment __svfscanf$address() { + return __svfscanf.ADDR; + } + + /** + * {@snippet lang=c : + * int __svfscanf(FILE *, const char *, va_list) + * } + */ + public static int __svfscanf(MemorySegment x0, MemorySegment x1, MemorySegment x2) { + var mh$ = __svfscanf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("__svfscanf", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class __swbuf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("__swbuf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int __swbuf(int, FILE *) + * } + */ + public static FunctionDescriptor __swbuf$descriptor() { + return __swbuf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int __swbuf(int, FILE *) + * } + */ + public static MethodHandle __swbuf$handle() { + return __swbuf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int __swbuf(int, FILE *) + * } + */ + public static MemorySegment __swbuf$address() { + return __swbuf.ADDR; + } + + /** + * {@snippet lang=c : + * int __swbuf(int, FILE *) + * } + */ + public static int __swbuf(int x0, MemorySegment x1) { + var mh$ = __swbuf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("__swbuf", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class flockfile { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("flockfile"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void flockfile(FILE *) + * } + */ + public static FunctionDescriptor flockfile$descriptor() { + return flockfile.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void flockfile(FILE *) + * } + */ + public static MethodHandle flockfile$handle() { + return flockfile.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void flockfile(FILE *) + * } + */ + public static MemorySegment flockfile$address() { + return flockfile.ADDR; + } + + /** + * {@snippet lang=c : + * void flockfile(FILE *) + * } + */ + public static void flockfile(MemorySegment x0) { + var mh$ = flockfile.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("flockfile", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class ftrylockfile { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("ftrylockfile"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int ftrylockfile(FILE *) + * } + */ + public static FunctionDescriptor ftrylockfile$descriptor() { + return ftrylockfile.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int ftrylockfile(FILE *) + * } + */ + public static MethodHandle ftrylockfile$handle() { + return ftrylockfile.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int ftrylockfile(FILE *) + * } + */ + public static MemorySegment ftrylockfile$address() { + return ftrylockfile.ADDR; + } + + /** + * {@snippet lang=c : + * int ftrylockfile(FILE *) + * } + */ + public static int ftrylockfile(MemorySegment x0) { + var mh$ = ftrylockfile.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("ftrylockfile", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class funlockfile { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("funlockfile"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void funlockfile(FILE *) + * } + */ + public static FunctionDescriptor funlockfile$descriptor() { + return funlockfile.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void funlockfile(FILE *) + * } + */ + public static MethodHandle funlockfile$handle() { + return funlockfile.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void funlockfile(FILE *) + * } + */ + public static MemorySegment funlockfile$address() { + return funlockfile.ADDR; + } + + /** + * {@snippet lang=c : + * void funlockfile(FILE *) + * } + */ + public static void funlockfile(MemorySegment x0) { + var mh$ = funlockfile.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("funlockfile", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getc_unlocked { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getc_unlocked"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int getc_unlocked(FILE *) + * } + */ + public static FunctionDescriptor getc_unlocked$descriptor() { + return getc_unlocked.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int getc_unlocked(FILE *) + * } + */ + public static MethodHandle getc_unlocked$handle() { + return getc_unlocked.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int getc_unlocked(FILE *) + * } + */ + public static MemorySegment getc_unlocked$address() { + return getc_unlocked.ADDR; + } + + /** + * {@snippet lang=c : + * int getc_unlocked(FILE *) + * } + */ + public static int getc_unlocked(MemorySegment x0) { + var mh$ = getc_unlocked.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getc_unlocked", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getchar_unlocked { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getchar_unlocked"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int getchar_unlocked(void) + * } + */ + public static FunctionDescriptor getchar_unlocked$descriptor() { + return getchar_unlocked.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int getchar_unlocked(void) + * } + */ + public static MethodHandle getchar_unlocked$handle() { + return getchar_unlocked.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int getchar_unlocked(void) + * } + */ + public static MemorySegment getchar_unlocked$address() { + return getchar_unlocked.ADDR; + } + + /** + * {@snippet lang=c : + * int getchar_unlocked(void) + * } + */ + public static int getchar_unlocked() { + var mh$ = getchar_unlocked.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getchar_unlocked"); + } + return (int)mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class putc_unlocked { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("putc_unlocked"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int putc_unlocked(int, FILE *) + * } + */ + public static FunctionDescriptor putc_unlocked$descriptor() { + return putc_unlocked.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int putc_unlocked(int, FILE *) + * } + */ + public static MethodHandle putc_unlocked$handle() { + return putc_unlocked.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int putc_unlocked(int, FILE *) + * } + */ + public static MemorySegment putc_unlocked$address() { + return putc_unlocked.ADDR; + } + + /** + * {@snippet lang=c : + * int putc_unlocked(int, FILE *) + * } + */ + public static int putc_unlocked(int x0, MemorySegment x1) { + var mh$ = putc_unlocked.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("putc_unlocked", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class putchar_unlocked { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("putchar_unlocked"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int putchar_unlocked(int) + * } + */ + public static FunctionDescriptor putchar_unlocked$descriptor() { + return putchar_unlocked.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int putchar_unlocked(int) + * } + */ + public static MethodHandle putchar_unlocked$handle() { + return putchar_unlocked.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int putchar_unlocked(int) + * } + */ + public static MemorySegment putchar_unlocked$address() { + return putchar_unlocked.ADDR; + } + + /** + * {@snippet lang=c : + * int putchar_unlocked(int) + * } + */ + public static int putchar_unlocked(int x0) { + var mh$ = putchar_unlocked.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("putchar_unlocked", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getw { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getw"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int getw(FILE *) + * } + */ + public static FunctionDescriptor getw$descriptor() { + return getw.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int getw(FILE *) + * } + */ + public static MethodHandle getw$handle() { + return getw.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int getw(FILE *) + * } + */ + public static MemorySegment getw$address() { + return getw.ADDR; + } + + /** + * {@snippet lang=c : + * int getw(FILE *) + * } + */ + public static int getw(MemorySegment x0) { + var mh$ = getw.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getw", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class putw { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("putw"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int putw(int, FILE *) + * } + */ + public static FunctionDescriptor putw$descriptor() { + return putw.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int putw(int, FILE *) + * } + */ + public static MethodHandle putw$handle() { + return putw.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int putw(int, FILE *) + * } + */ + public static MemorySegment putw$address() { + return putw.ADDR; + } + + /** + * {@snippet lang=c : + * int putw(int, FILE *) + * } + */ + public static int putw(int x0, MemorySegment x1) { + var mh$ = putw.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("putw", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class tempnam { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("tempnam"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *tempnam(const char *__dir, const char *__prefix) asm("_tempnam") + * } + */ + public static FunctionDescriptor tempnam$descriptor() { + return tempnam.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *tempnam(const char *__dir, const char *__prefix) asm("_tempnam") + * } + */ + public static MethodHandle tempnam$handle() { + return tempnam.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *tempnam(const char *__dir, const char *__prefix) asm("_tempnam") + * } + */ + public static MemorySegment tempnam$address() { + return tempnam.ADDR; + } + + /** + * {@snippet lang=c : + * char *tempnam(const char *__dir, const char *__prefix) asm("_tempnam") + * } + */ + public static MemorySegment tempnam(MemorySegment __dir, MemorySegment __prefix) { + var mh$ = tempnam.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("tempnam", __dir, __prefix); + } + return (MemorySegment)mh$.invokeExact(__dir, __prefix); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + /** + * {@snippet lang=c : + * typedef __darwin_off_t off_t + * } + */ + public static final OfLong off_t = mlx_h.C_LONG_LONG; + + private static class fseeko { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG_LONG, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fseeko"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int fseeko(FILE *__stream, off_t __offset, int __whence) + * } + */ + public static FunctionDescriptor fseeko$descriptor() { + return fseeko.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int fseeko(FILE *__stream, off_t __offset, int __whence) + * } + */ + public static MethodHandle fseeko$handle() { + return fseeko.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int fseeko(FILE *__stream, off_t __offset, int __whence) + * } + */ + public static MemorySegment fseeko$address() { + return fseeko.ADDR; + } + + /** + * {@snippet lang=c : + * int fseeko(FILE *__stream, off_t __offset, int __whence) + * } + */ + public static int fseeko(MemorySegment __stream, long __offset, int __whence) { + var mh$ = fseeko.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fseeko", __stream, __offset, __whence); + } + return (int)mh$.invokeExact(__stream, __offset, __whence); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class ftello { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("ftello"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * off_t ftello(FILE *__stream) + * } + */ + public static FunctionDescriptor ftello$descriptor() { + return ftello.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * off_t ftello(FILE *__stream) + * } + */ + public static MethodHandle ftello$handle() { + return ftello.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * off_t ftello(FILE *__stream) + * } + */ + public static MemorySegment ftello$address() { + return ftello.ADDR; + } + + /** + * {@snippet lang=c : + * off_t ftello(FILE *__stream) + * } + */ + public static long ftello(MemorySegment __stream) { + var mh$ = ftello.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("ftello", __stream); + } + return (long)mh$.invokeExact(__stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int snprintf(char *restrict __str, size_t __size, const char *restrict __format, ...) + * } + */ + public static class snprintf { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("snprintf"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private snprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int snprintf(char *restrict __str, size_t __size, const char *restrict __format, ...) + * } + */ + public static snprintf makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new snprintf(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(MemorySegment __str, long __size, MemorySegment __format, Object... x3) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("snprintf", __str, __size, __format, x3); + } + return (int) spreader.invokeExact(__str, __size, __format, x3); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class vfscanf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("vfscanf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list) + * } + */ + public static FunctionDescriptor vfscanf$descriptor() { + return vfscanf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list) + * } + */ + public static MethodHandle vfscanf$handle() { + return vfscanf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list) + * } + */ + public static MemorySegment vfscanf$address() { + return vfscanf.ADDR; + } + + /** + * {@snippet lang=c : + * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list) + * } + */ + public static int vfscanf(MemorySegment __stream, MemorySegment __format, MemorySegment x2) { + var mh$ = vfscanf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("vfscanf", __stream, __format, x2); + } + return (int)mh$.invokeExact(__stream, __format, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class vscanf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("vscanf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int vscanf(const char *restrict __format, va_list) + * } + */ + public static FunctionDescriptor vscanf$descriptor() { + return vscanf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int vscanf(const char *restrict __format, va_list) + * } + */ + public static MethodHandle vscanf$handle() { + return vscanf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int vscanf(const char *restrict __format, va_list) + * } + */ + public static MemorySegment vscanf$address() { + return vscanf.ADDR; + } + + /** + * {@snippet lang=c : + * int vscanf(const char *restrict __format, va_list) + * } + */ + public static int vscanf(MemorySegment __format, MemorySegment x1) { + var mh$ = vscanf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("vscanf", __format, x1); + } + return (int)mh$.invokeExact(__format, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class vsnprintf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("vsnprintf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list) + * } + */ + public static FunctionDescriptor vsnprintf$descriptor() { + return vsnprintf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list) + * } + */ + public static MethodHandle vsnprintf$handle() { + return vsnprintf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list) + * } + */ + public static MemorySegment vsnprintf$address() { + return vsnprintf.ADDR; + } + + /** + * {@snippet lang=c : + * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list) + * } + */ + public static int vsnprintf(MemorySegment __str, long __size, MemorySegment __format, MemorySegment x3) { + var mh$ = vsnprintf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("vsnprintf", __str, __size, __format, x3); + } + return (int)mh$.invokeExact(__str, __size, __format, x3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class vsscanf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("vsscanf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int vsscanf(const char *restrict __str, const char *restrict __format, va_list) + * } + */ + public static FunctionDescriptor vsscanf$descriptor() { + return vsscanf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int vsscanf(const char *restrict __str, const char *restrict __format, va_list) + * } + */ + public static MethodHandle vsscanf$handle() { + return vsscanf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int vsscanf(const char *restrict __str, const char *restrict __format, va_list) + * } + */ + public static MemorySegment vsscanf$address() { + return vsscanf.ADDR; + } + + /** + * {@snippet lang=c : + * int vsscanf(const char *restrict __str, const char *restrict __format, va_list) + * } + */ + public static int vsscanf(MemorySegment __str, MemorySegment __format, MemorySegment x2) { + var mh$ = vsscanf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("vsscanf", __str, __format, x2); + } + return (int)mh$.invokeExact(__str, __format, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + /** + * {@snippet lang=c : + * typedef __darwin_ssize_t ssize_t + * } + */ + public static final OfLong ssize_t = mlx_h.C_LONG; + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int dprintf(int, const char *restrict, ...) + * } + */ + public static class dprintf { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("dprintf"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private dprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int dprintf(int, const char *restrict, ...) + * } + */ + public static dprintf makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new dprintf(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(int x0, MemorySegment x1, Object... x2) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("dprintf", x0, x1, x2); + } + return (int) spreader.invokeExact(x0, x1, x2); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class vdprintf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("vdprintf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int vdprintf(int, const char *restrict, va_list) + * } + */ + public static FunctionDescriptor vdprintf$descriptor() { + return vdprintf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int vdprintf(int, const char *restrict, va_list) + * } + */ + public static MethodHandle vdprintf$handle() { + return vdprintf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int vdprintf(int, const char *restrict, va_list) + * } + */ + public static MemorySegment vdprintf$address() { + return vdprintf.ADDR; + } + + /** + * {@snippet lang=c : + * int vdprintf(int, const char *restrict, va_list) + * } + */ + public static int vdprintf(int x0, MemorySegment x1, MemorySegment x2) { + var mh$ = vdprintf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("vdprintf", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getdelim { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getdelim"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict __stream) + * } + */ + public static FunctionDescriptor getdelim$descriptor() { + return getdelim.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict __stream) + * } + */ + public static MethodHandle getdelim$handle() { + return getdelim.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict __stream) + * } + */ + public static MemorySegment getdelim$address() { + return getdelim.ADDR; + } + + /** + * {@snippet lang=c : + * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict __stream) + * } + */ + public static long getdelim(MemorySegment __linep, MemorySegment __linecapp, int __delimiter, MemorySegment __stream) { + var mh$ = getdelim.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getdelim", __linep, __linecapp, __delimiter, __stream); + } + return (long)mh$.invokeExact(__linep, __linecapp, __delimiter, __stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getline { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getline"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream) + * } + */ + public static FunctionDescriptor getline$descriptor() { + return getline.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream) + * } + */ + public static MethodHandle getline$handle() { + return getline.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream) + * } + */ + public static MemorySegment getline$address() { + return getline.ADDR; + } + + /** + * {@snippet lang=c : + * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream) + * } + */ + public static long getline(MemorySegment __linep, MemorySegment __linecapp, MemorySegment __stream) { + var mh$ = getline.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getline", __linep, __linecapp, __stream); + } + return (long)mh$.invokeExact(__linep, __linecapp, __stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fmemopen { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fmemopen"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode) + * } + */ + public static FunctionDescriptor fmemopen$descriptor() { + return fmemopen.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode) + * } + */ + public static MethodHandle fmemopen$handle() { + return fmemopen.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode) + * } + */ + public static MemorySegment fmemopen$address() { + return fmemopen.ADDR; + } + + /** + * {@snippet lang=c : + * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode) + * } + */ + public static MemorySegment fmemopen(MemorySegment __buf, long __size, MemorySegment __mode) { + var mh$ = fmemopen.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fmemopen", __buf, __size, __mode); + } + return (MemorySegment)mh$.invokeExact(__buf, __size, __mode); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class open_memstream { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("open_memstream"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * FILE *open_memstream(char **__bufp, size_t *__sizep) + * } + */ + public static FunctionDescriptor open_memstream$descriptor() { + return open_memstream.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * FILE *open_memstream(char **__bufp, size_t *__sizep) + * } + */ + public static MethodHandle open_memstream$handle() { + return open_memstream.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * FILE *open_memstream(char **__bufp, size_t *__sizep) + * } + */ + public static MemorySegment open_memstream$address() { + return open_memstream.ADDR; + } + + /** + * {@snippet lang=c : + * FILE *open_memstream(char **__bufp, size_t *__sizep) + * } + */ + public static MemorySegment open_memstream(MemorySegment __bufp, MemorySegment __sizep) { + var mh$ = open_memstream.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("open_memstream", __bufp, __sizep); + } + return (MemorySegment)mh$.invokeExact(__bufp, __sizep); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class sys_nerr$constants { + public static final OfInt LAYOUT = mlx_h.C_INT; + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("sys_nerr").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern const int sys_nerr + * } + */ + public static OfInt sys_nerr$layout() { + return sys_nerr$constants.LAYOUT; + } + + /** + * Segment for variable: + * {@snippet lang=c : + * extern const int sys_nerr + * } + */ + public static MemorySegment sys_nerr$segment() { + return sys_nerr$constants.SEGMENT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern const int sys_nerr + * } + */ + public static int sys_nerr() { + return sys_nerr$constants.SEGMENT.get(sys_nerr$constants.LAYOUT, 0L); + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern const int sys_nerr + * } + */ + public static void sys_nerr(int varValue) { + sys_nerr$constants.SEGMENT.set(sys_nerr$constants.LAYOUT, 0L, varValue); + } + + private static class sys_errlist$constants { + public static final SequenceLayout LAYOUT = MemoryLayout.sequenceLayout(0, mlx_h.C_POINTER); + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("sys_errlist").reinterpret(LAYOUT.byteSize()); + public static final VarHandle HANDLE = LAYOUT.varHandle(); + + public static final long[] DIMS = { }; + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern const char *const sys_errlist[] + * } + */ + public static SequenceLayout sys_errlist$layout() { + return sys_errlist$constants.LAYOUT; + } + + /** + * Dimensions for array variable: + * {@snippet lang=c : + * extern const char *const sys_errlist[] + * } + */ + public static long[] sys_errlist$dimensions() { + return sys_errlist$constants.DIMS; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern const char *const sys_errlist[] + * } + */ + public static MemorySegment sys_errlist() { + return sys_errlist$constants.SEGMENT; + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern const char *const sys_errlist[] + * } + */ + public static void sys_errlist(MemorySegment varValue) { + MemorySegment.copy(varValue, 0L, sys_errlist$constants.SEGMENT, 0L, sys_errlist$constants.LAYOUT.byteSize()); + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int asprintf(char **restrict, const char *restrict, ...) + * } + */ + public static class asprintf { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("asprintf"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private asprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int asprintf(char **restrict, const char *restrict, ...) + * } + */ + public static asprintf makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new asprintf(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(MemorySegment x0, MemorySegment x1, Object... x2) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("asprintf", x0, x1, x2); + } + return (int) spreader.invokeExact(x0, x1, x2); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class ctermid_r { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("ctermid_r"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *ctermid_r(char *) + * } + */ + public static FunctionDescriptor ctermid_r$descriptor() { + return ctermid_r.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *ctermid_r(char *) + * } + */ + public static MethodHandle ctermid_r$handle() { + return ctermid_r.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *ctermid_r(char *) + * } + */ + public static MemorySegment ctermid_r$address() { + return ctermid_r.ADDR; + } + + /** + * {@snippet lang=c : + * char *ctermid_r(char *) + * } + */ + public static MemorySegment ctermid_r(MemorySegment x0) { + var mh$ = ctermid_r.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("ctermid_r", x0); + } + return (MemorySegment)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fgetln { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fgetln"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *fgetln(FILE *, size_t *__len) + * } + */ + public static FunctionDescriptor fgetln$descriptor() { + return fgetln.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *fgetln(FILE *, size_t *__len) + * } + */ + public static MethodHandle fgetln$handle() { + return fgetln.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *fgetln(FILE *, size_t *__len) + * } + */ + public static MemorySegment fgetln$address() { + return fgetln.ADDR; + } + + /** + * {@snippet lang=c : + * char *fgetln(FILE *, size_t *__len) + * } + */ + public static MemorySegment fgetln(MemorySegment x0, MemorySegment __len) { + var mh$ = fgetln.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fgetln", x0, __len); + } + return (MemorySegment)mh$.invokeExact(x0, __len); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fmtcheck { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fmtcheck"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const char *fmtcheck(const char *, const char *) + * } + */ + public static FunctionDescriptor fmtcheck$descriptor() { + return fmtcheck.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const char *fmtcheck(const char *, const char *) + * } + */ + public static MethodHandle fmtcheck$handle() { + return fmtcheck.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const char *fmtcheck(const char *, const char *) + * } + */ + public static MemorySegment fmtcheck$address() { + return fmtcheck.ADDR; + } + + /** + * {@snippet lang=c : + * const char *fmtcheck(const char *, const char *) + * } + */ + public static MemorySegment fmtcheck(MemorySegment x0, MemorySegment x1) { + var mh$ = fmtcheck.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fmtcheck", x0, x1); + } + return (MemorySegment)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fpurge { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fpurge"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int fpurge(FILE *) + * } + */ + public static FunctionDescriptor fpurge$descriptor() { + return fpurge.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int fpurge(FILE *) + * } + */ + public static MethodHandle fpurge$handle() { + return fpurge.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int fpurge(FILE *) + * } + */ + public static MemorySegment fpurge$address() { + return fpurge.ADDR; + } + + /** + * {@snippet lang=c : + * int fpurge(FILE *) + * } + */ + public static int fpurge(MemorySegment x0) { + var mh$ = fpurge.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fpurge", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class setbuffer { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("setbuffer"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void setbuffer(FILE *, char *, int __size) + * } + */ + public static FunctionDescriptor setbuffer$descriptor() { + return setbuffer.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void setbuffer(FILE *, char *, int __size) + * } + */ + public static MethodHandle setbuffer$handle() { + return setbuffer.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void setbuffer(FILE *, char *, int __size) + * } + */ + public static MemorySegment setbuffer$address() { + return setbuffer.ADDR; + } + + /** + * {@snippet lang=c : + * void setbuffer(FILE *, char *, int __size) + * } + */ + public static void setbuffer(MemorySegment x0, MemorySegment x1, int __size) { + var mh$ = setbuffer.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("setbuffer", x0, x1, __size); + } + mh$.invokeExact(x0, x1, __size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class setlinebuf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("setlinebuf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int setlinebuf(FILE *) + * } + */ + public static FunctionDescriptor setlinebuf$descriptor() { + return setlinebuf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int setlinebuf(FILE *) + * } + */ + public static MethodHandle setlinebuf$handle() { + return setlinebuf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int setlinebuf(FILE *) + * } + */ + public static MemorySegment setlinebuf$address() { + return setlinebuf.ADDR; + } + + /** + * {@snippet lang=c : + * int setlinebuf(FILE *) + * } + */ + public static int setlinebuf(MemorySegment x0) { + var mh$ = setlinebuf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("setlinebuf", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class vasprintf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("vasprintf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int vasprintf(char **restrict, const char *restrict, va_list) + * } + */ + public static FunctionDescriptor vasprintf$descriptor() { + return vasprintf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int vasprintf(char **restrict, const char *restrict, va_list) + * } + */ + public static MethodHandle vasprintf$handle() { + return vasprintf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int vasprintf(char **restrict, const char *restrict, va_list) + * } + */ + public static MemorySegment vasprintf$address() { + return vasprintf.ADDR; + } + + /** + * {@snippet lang=c : + * int vasprintf(char **restrict, const char *restrict, va_list) + * } + */ + public static int vasprintf(MemorySegment x0, MemorySegment x1, MemorySegment x2) { + var mh$ = vasprintf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("vasprintf", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class funopen { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("funopen"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *)) + * } + */ + public static FunctionDescriptor funopen$descriptor() { + return funopen.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *)) + * } + */ + public static MethodHandle funopen$handle() { + return funopen.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *)) + * } + */ + public static MemorySegment funopen$address() { + return funopen.ADDR; + } + + /** + * {@snippet lang=c : + * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *)) + * } + */ + public static MemorySegment funopen(MemorySegment x0, MemorySegment x1, MemorySegment x2, MemorySegment x3, MemorySegment x4) { + var mh$ = funopen.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("funopen", x0, x1, x2, x3, x4); + } + return (MemorySegment)mh$.invokeExact(x0, x1, x2, x3, x4); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * extern int __sprintf_chk(char *restrict, int, size_t, const char *restrict, ...) + * } + */ + public static class __sprintf_chk { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("__sprintf_chk"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private __sprintf_chk(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * extern int __sprintf_chk(char *restrict, int, size_t, const char *restrict, ...) + * } + */ + public static __sprintf_chk makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new __sprintf_chk(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(MemorySegment x0, int x1, long x2, MemorySegment x3, Object... x4) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("__sprintf_chk", x0, x1, x2, x3, x4); + } + return (int) spreader.invokeExact(x0, x1, x2, x3, x4); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * extern int __snprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, ...) + * } + */ + public static class __snprintf_chk { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("__snprintf_chk"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private __snprintf_chk(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * extern int __snprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, ...) + * } + */ + public static __snprintf_chk makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new __snprintf_chk(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(MemorySegment x0, long __maxlen, int x2, long x3, MemorySegment x4, Object... x5) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("__snprintf_chk", x0, __maxlen, x2, x3, x4, x5); + } + return (int) spreader.invokeExact(x0, __maxlen, x2, x3, x4, x5); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class __vsprintf_chk { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("__vsprintf_chk"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list) + * } + */ + public static FunctionDescriptor __vsprintf_chk$descriptor() { + return __vsprintf_chk.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list) + * } + */ + public static MethodHandle __vsprintf_chk$handle() { + return __vsprintf_chk.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list) + * } + */ + public static MemorySegment __vsprintf_chk$address() { + return __vsprintf_chk.ADDR; + } + + /** + * {@snippet lang=c : + * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list) + * } + */ + public static int __vsprintf_chk(MemorySegment x0, int x1, long x2, MemorySegment x3, MemorySegment x4) { + var mh$ = __vsprintf_chk.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("__vsprintf_chk", x0, x1, x2, x3, x4); + } + return (int)mh$.invokeExact(x0, x1, x2, x3, x4); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class __vsnprintf_chk { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("__vsnprintf_chk"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list) + * } + */ + public static FunctionDescriptor __vsnprintf_chk$descriptor() { + return __vsnprintf_chk.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list) + * } + */ + public static MethodHandle __vsnprintf_chk$handle() { + return __vsnprintf_chk.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list) + * } + */ + public static MemorySegment __vsnprintf_chk$address() { + return __vsnprintf_chk.ADDR; + } + + /** + * {@snippet lang=c : + * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list) + * } + */ + public static int __vsnprintf_chk(MemorySegment x0, long __maxlen, int x2, long x3, MemorySegment x4, MemorySegment x5) { + var mh$ = __vsnprintf_chk.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("__vsnprintf_chk", x0, __maxlen, x2, x3, x4, x5); + } + return (int)mh$.invokeExact(x0, __maxlen, x2, x3, x4, x5); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_distributed_group_rank { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_distributed_group_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_group_rank"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_distributed_group_rank(mlx_distributed_group group) + * } + */ + public static FunctionDescriptor mlx_distributed_group_rank$descriptor() { + return mlx_distributed_group_rank.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_distributed_group_rank(mlx_distributed_group group) + * } + */ + public static MethodHandle mlx_distributed_group_rank$handle() { + return mlx_distributed_group_rank.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_distributed_group_rank(mlx_distributed_group group) + * } + */ + public static MemorySegment mlx_distributed_group_rank$address() { + return mlx_distributed_group_rank.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_distributed_group_rank(mlx_distributed_group group) + * } + */ + public static int mlx_distributed_group_rank(MemorySegment group) { + var mh$ = mlx_distributed_group_rank.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_group_rank", group); + } + return (int)mh$.invokeExact(group); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_distributed_group_size { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_distributed_group_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_group_size"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_distributed_group_size(mlx_distributed_group group) + * } + */ + public static FunctionDescriptor mlx_distributed_group_size$descriptor() { + return mlx_distributed_group_size.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_distributed_group_size(mlx_distributed_group group) + * } + */ + public static MethodHandle mlx_distributed_group_size$handle() { + return mlx_distributed_group_size.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_distributed_group_size(mlx_distributed_group group) + * } + */ + public static MemorySegment mlx_distributed_group_size$address() { + return mlx_distributed_group_size.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_distributed_group_size(mlx_distributed_group group) + * } + */ + public static int mlx_distributed_group_size(MemorySegment group) { + var mh$ = mlx_distributed_group_size.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_group_size", group); + } + return (int)mh$.invokeExact(group); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_distributed_group_split { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_distributed_group_.layout(), + mlx_distributed_group_.layout(), + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_group_split"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_distributed_group mlx_distributed_group_split(mlx_distributed_group group, int color, int key) + * } + */ + public static FunctionDescriptor mlx_distributed_group_split$descriptor() { + return mlx_distributed_group_split.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_distributed_group mlx_distributed_group_split(mlx_distributed_group group, int color, int key) + * } + */ + public static MethodHandle mlx_distributed_group_split$handle() { + return mlx_distributed_group_split.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_distributed_group mlx_distributed_group_split(mlx_distributed_group group, int color, int key) + * } + */ + public static MemorySegment mlx_distributed_group_split$address() { + return mlx_distributed_group_split.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_distributed_group mlx_distributed_group_split(mlx_distributed_group group, int color, int key) + * } + */ + public static MemorySegment mlx_distributed_group_split(SegmentAllocator allocator, MemorySegment group, int color, int key) { + var mh$ = mlx_distributed_group_split.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_group_split", allocator, group, color, key); + } + return (MemorySegment)mh$.invokeExact(allocator, group, color, key); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * bool mlx_distributed_is_available() + * } + */ + public static class mlx_distributed_is_available { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_BOOL ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_is_available"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_distributed_is_available(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * bool mlx_distributed_is_available() + * } + */ + public static mlx_distributed_is_available makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_distributed_is_available(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public boolean apply(Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_is_available", x0); + } + return (boolean) spreader.invokeExact(x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_distributed_init { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_distributed_group_.layout(), + mlx_h.C_BOOL + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_init"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_distributed_group mlx_distributed_init(bool strict) + * } + */ + public static FunctionDescriptor mlx_distributed_init$descriptor() { + return mlx_distributed_init.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_distributed_group mlx_distributed_init(bool strict) + * } + */ + public static MethodHandle mlx_distributed_init$handle() { + return mlx_distributed_init.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_distributed_group mlx_distributed_init(bool strict) + * } + */ + public static MemorySegment mlx_distributed_init$address() { + return mlx_distributed_init.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_distributed_group mlx_distributed_init(bool strict) + * } + */ + public static MemorySegment mlx_distributed_init(SegmentAllocator allocator, boolean strict) { + var mh$ = mlx_distributed_init.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_init", allocator, strict); + } + return (MemorySegment)mh$.invokeExact(allocator, strict); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_io_reader_new { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_io_reader_.layout(), + mlx_h.C_POINTER, + mlx_io_vtable_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_io_reader_new"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_io_reader mlx_io_reader_new(void *desc, mlx_io_vtable vtable) + * } + */ + public static FunctionDescriptor mlx_io_reader_new$descriptor() { + return mlx_io_reader_new.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_io_reader mlx_io_reader_new(void *desc, mlx_io_vtable vtable) + * } + */ + public static MethodHandle mlx_io_reader_new$handle() { + return mlx_io_reader_new.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_io_reader mlx_io_reader_new(void *desc, mlx_io_vtable vtable) + * } + */ + public static MemorySegment mlx_io_reader_new$address() { + return mlx_io_reader_new.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_io_reader mlx_io_reader_new(void *desc, mlx_io_vtable vtable) + * } + */ + public static MemorySegment mlx_io_reader_new(SegmentAllocator allocator, MemorySegment desc, MemorySegment vtable) { + var mh$ = mlx_io_reader_new.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_io_reader_new", allocator, desc, vtable); + } + return (MemorySegment)mh$.invokeExact(allocator, desc, vtable); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_io_reader_descriptor { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_io_reader_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_io_reader_descriptor"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_io_reader_descriptor(void **desc_, mlx_io_reader io) + * } + */ + public static FunctionDescriptor mlx_io_reader_descriptor$descriptor() { + return mlx_io_reader_descriptor.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_io_reader_descriptor(void **desc_, mlx_io_reader io) + * } + */ + public static MethodHandle mlx_io_reader_descriptor$handle() { + return mlx_io_reader_descriptor.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_io_reader_descriptor(void **desc_, mlx_io_reader io) + * } + */ + public static MemorySegment mlx_io_reader_descriptor$address() { + return mlx_io_reader_descriptor.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_io_reader_descriptor(void **desc_, mlx_io_reader io) + * } + */ + public static int mlx_io_reader_descriptor(MemorySegment desc_, MemorySegment io) { + var mh$ = mlx_io_reader_descriptor.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_io_reader_descriptor", desc_, io); + } + return (int)mh$.invokeExact(desc_, io); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_io_reader_tostring { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_io_reader_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_io_reader_tostring"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_io_reader_tostring(mlx_string *str_, mlx_io_reader io) + * } + */ + public static FunctionDescriptor mlx_io_reader_tostring$descriptor() { + return mlx_io_reader_tostring.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_io_reader_tostring(mlx_string *str_, mlx_io_reader io) + * } + */ + public static MethodHandle mlx_io_reader_tostring$handle() { + return mlx_io_reader_tostring.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_io_reader_tostring(mlx_string *str_, mlx_io_reader io) + * } + */ + public static MemorySegment mlx_io_reader_tostring$address() { + return mlx_io_reader_tostring.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_io_reader_tostring(mlx_string *str_, mlx_io_reader io) + * } + */ + public static int mlx_io_reader_tostring(MemorySegment str_, MemorySegment io) { + var mh$ = mlx_io_reader_tostring.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_io_reader_tostring", str_, io); + } + return (int)mh$.invokeExact(str_, io); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_io_reader_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_io_reader_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_io_reader_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_io_reader_free(mlx_io_reader io) + * } + */ + public static FunctionDescriptor mlx_io_reader_free$descriptor() { + return mlx_io_reader_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_io_reader_free(mlx_io_reader io) + * } + */ + public static MethodHandle mlx_io_reader_free$handle() { + return mlx_io_reader_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_io_reader_free(mlx_io_reader io) + * } + */ + public static MemorySegment mlx_io_reader_free$address() { + return mlx_io_reader_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_io_reader_free(mlx_io_reader io) + * } + */ + public static int mlx_io_reader_free(MemorySegment io) { + var mh$ = mlx_io_reader_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_io_reader_free", io); + } + return (int)mh$.invokeExact(io); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_io_writer_new { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_io_writer_.layout(), + mlx_h.C_POINTER, + mlx_io_vtable_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_io_writer_new"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_io_writer mlx_io_writer_new(void *desc, mlx_io_vtable vtable) + * } + */ + public static FunctionDescriptor mlx_io_writer_new$descriptor() { + return mlx_io_writer_new.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_io_writer mlx_io_writer_new(void *desc, mlx_io_vtable vtable) + * } + */ + public static MethodHandle mlx_io_writer_new$handle() { + return mlx_io_writer_new.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_io_writer mlx_io_writer_new(void *desc, mlx_io_vtable vtable) + * } + */ + public static MemorySegment mlx_io_writer_new$address() { + return mlx_io_writer_new.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_io_writer mlx_io_writer_new(void *desc, mlx_io_vtable vtable) + * } + */ + public static MemorySegment mlx_io_writer_new(SegmentAllocator allocator, MemorySegment desc, MemorySegment vtable) { + var mh$ = mlx_io_writer_new.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_io_writer_new", allocator, desc, vtable); + } + return (MemorySegment)mh$.invokeExact(allocator, desc, vtable); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_io_writer_descriptor { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_io_writer_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_io_writer_descriptor"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_io_writer_descriptor(void **desc_, mlx_io_writer io) + * } + */ + public static FunctionDescriptor mlx_io_writer_descriptor$descriptor() { + return mlx_io_writer_descriptor.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_io_writer_descriptor(void **desc_, mlx_io_writer io) + * } + */ + public static MethodHandle mlx_io_writer_descriptor$handle() { + return mlx_io_writer_descriptor.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_io_writer_descriptor(void **desc_, mlx_io_writer io) + * } + */ + public static MemorySegment mlx_io_writer_descriptor$address() { + return mlx_io_writer_descriptor.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_io_writer_descriptor(void **desc_, mlx_io_writer io) + * } + */ + public static int mlx_io_writer_descriptor(MemorySegment desc_, MemorySegment io) { + var mh$ = mlx_io_writer_descriptor.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_io_writer_descriptor", desc_, io); + } + return (int)mh$.invokeExact(desc_, io); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_io_writer_tostring { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_io_writer_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_io_writer_tostring"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_io_writer_tostring(mlx_string *str_, mlx_io_writer io) + * } + */ + public static FunctionDescriptor mlx_io_writer_tostring$descriptor() { + return mlx_io_writer_tostring.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_io_writer_tostring(mlx_string *str_, mlx_io_writer io) + * } + */ + public static MethodHandle mlx_io_writer_tostring$handle() { + return mlx_io_writer_tostring.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_io_writer_tostring(mlx_string *str_, mlx_io_writer io) + * } + */ + public static MemorySegment mlx_io_writer_tostring$address() { + return mlx_io_writer_tostring.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_io_writer_tostring(mlx_string *str_, mlx_io_writer io) + * } + */ + public static int mlx_io_writer_tostring(MemorySegment str_, MemorySegment io) { + var mh$ = mlx_io_writer_tostring.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_io_writer_tostring", str_, io); + } + return (int)mh$.invokeExact(str_, io); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_io_writer_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_io_writer_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_io_writer_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_io_writer_free(mlx_io_writer io) + * } + */ + public static FunctionDescriptor mlx_io_writer_free$descriptor() { + return mlx_io_writer_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_io_writer_free(mlx_io_writer io) + * } + */ + public static MethodHandle mlx_io_writer_free$handle() { + return mlx_io_writer_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_io_writer_free(mlx_io_writer io) + * } + */ + public static MemorySegment mlx_io_writer_free$address() { + return mlx_io_writer_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_io_writer_free(mlx_io_writer io) + * } + */ + public static int mlx_io_writer_free(MemorySegment io) { + var mh$ = mlx_io_writer_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_io_writer_free", io); + } + return (int)mh$.invokeExact(io); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + private static final int MLX_COMPILE_MODE_DISABLED = (int)0L; + /** + * {@snippet lang=c : + * enum mlx_compile_mode_.MLX_COMPILE_MODE_DISABLED = 0 + * } + */ + public static int MLX_COMPILE_MODE_DISABLED() { + return MLX_COMPILE_MODE_DISABLED; + } + private static final int MLX_COMPILE_MODE_NO_SIMPLIFY = (int)1L; + /** + * {@snippet lang=c : + * enum mlx_compile_mode_.MLX_COMPILE_MODE_NO_SIMPLIFY = 1 + * } + */ + public static int MLX_COMPILE_MODE_NO_SIMPLIFY() { + return MLX_COMPILE_MODE_NO_SIMPLIFY; + } + private static final int MLX_COMPILE_MODE_NO_FUSE = (int)2L; + /** + * {@snippet lang=c : + * enum mlx_compile_mode_.MLX_COMPILE_MODE_NO_FUSE = 2 + * } + */ + public static int MLX_COMPILE_MODE_NO_FUSE() { + return MLX_COMPILE_MODE_NO_FUSE; + } + private static final int MLX_COMPILE_MODE_ENABLED = (int)3L; + /** + * {@snippet lang=c : + * enum mlx_compile_mode_.MLX_COMPILE_MODE_ENABLED = 3 + * } + */ + public static int MLX_COMPILE_MODE_ENABLED() { + return MLX_COMPILE_MODE_ENABLED; + } + + private static class mlx_compile { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_.layout(), + mlx_h.C_BOOL + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_compile"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_compile(mlx_closure *res, const mlx_closure fun, bool shapeless) + * } + */ + public static FunctionDescriptor mlx_compile$descriptor() { + return mlx_compile.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_compile(mlx_closure *res, const mlx_closure fun, bool shapeless) + * } + */ + public static MethodHandle mlx_compile$handle() { + return mlx_compile.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_compile(mlx_closure *res, const mlx_closure fun, bool shapeless) + * } + */ + public static MemorySegment mlx_compile$address() { + return mlx_compile.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_compile(mlx_closure *res, const mlx_closure fun, bool shapeless) + * } + */ + public static int mlx_compile(MemorySegment res, MemorySegment fun, boolean shapeless) { + var mh$ = mlx_compile.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_compile", res, fun, shapeless); + } + return (int)mh$.invokeExact(res, fun, shapeless); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_detail_compile { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_.layout(), + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_detail_compile"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_detail_compile(mlx_closure *res, const mlx_closure fun, uintptr_t fun_id, bool shapeless, const uint64_t *constants, size_t constants_num) + * } + */ + public static FunctionDescriptor mlx_detail_compile$descriptor() { + return mlx_detail_compile.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_detail_compile(mlx_closure *res, const mlx_closure fun, uintptr_t fun_id, bool shapeless, const uint64_t *constants, size_t constants_num) + * } + */ + public static MethodHandle mlx_detail_compile$handle() { + return mlx_detail_compile.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_detail_compile(mlx_closure *res, const mlx_closure fun, uintptr_t fun_id, bool shapeless, const uint64_t *constants, size_t constants_num) + * } + */ + public static MemorySegment mlx_detail_compile$address() { + return mlx_detail_compile.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_detail_compile(mlx_closure *res, const mlx_closure fun, uintptr_t fun_id, bool shapeless, const uint64_t *constants, size_t constants_num) + * } + */ + public static int mlx_detail_compile(MemorySegment res, MemorySegment fun, long fun_id, boolean shapeless, MemorySegment constants, long constants_num) { + var mh$ = mlx_detail_compile.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_detail_compile", res, fun, fun_id, shapeless, constants, constants_num); + } + return (int)mh$.invokeExact(res, fun, fun_id, shapeless, constants, constants_num); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int mlx_detail_compile_clear_cache() + * } + */ + public static class mlx_detail_compile_clear_cache { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_detail_compile_clear_cache"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_detail_compile_clear_cache(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int mlx_detail_compile_clear_cache() + * } + */ + public static mlx_detail_compile_clear_cache makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_detail_compile_clear_cache(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_detail_compile_clear_cache", x0); + } + return (int) spreader.invokeExact(x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_detail_compile_erase { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_detail_compile_erase"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_detail_compile_erase(uintptr_t fun_id) + * } + */ + public static FunctionDescriptor mlx_detail_compile_erase$descriptor() { + return mlx_detail_compile_erase.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_detail_compile_erase(uintptr_t fun_id) + * } + */ + public static MethodHandle mlx_detail_compile_erase$handle() { + return mlx_detail_compile_erase.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_detail_compile_erase(uintptr_t fun_id) + * } + */ + public static MemorySegment mlx_detail_compile_erase$address() { + return mlx_detail_compile_erase.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_detail_compile_erase(uintptr_t fun_id) + * } + */ + public static int mlx_detail_compile_erase(long fun_id) { + var mh$ = mlx_detail_compile_erase.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_detail_compile_erase", fun_id); + } + return (int)mh$.invokeExact(fun_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int mlx_disable_compile() + * } + */ + public static class mlx_disable_compile { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_disable_compile"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_disable_compile(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int mlx_disable_compile() + * } + */ + public static mlx_disable_compile makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_disable_compile(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_disable_compile", x0); + } + return (int) spreader.invokeExact(x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int mlx_enable_compile() + * } + */ + public static class mlx_enable_compile { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_enable_compile"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_enable_compile(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int mlx_enable_compile() + * } + */ + public static mlx_enable_compile makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_enable_compile(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_enable_compile", x0); + } + return (int) spreader.invokeExact(x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_set_compile_mode { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_set_compile_mode"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_set_compile_mode(mlx_compile_mode mode) + * } + */ + public static FunctionDescriptor mlx_set_compile_mode$descriptor() { + return mlx_set_compile_mode.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_set_compile_mode(mlx_compile_mode mode) + * } + */ + public static MethodHandle mlx_set_compile_mode$handle() { + return mlx_set_compile_mode.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_set_compile_mode(mlx_compile_mode mode) + * } + */ + public static MemorySegment mlx_set_compile_mode$address() { + return mlx_set_compile_mode.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_set_compile_mode(mlx_compile_mode mode) + * } + */ + public static int mlx_set_compile_mode(int mode) { + var mh$ = mlx_set_compile_mode.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_set_compile_mode", mode); + } + return (int)mh$.invokeExact(mode); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_distributed_all_gather { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_distributed_group_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_all_gather"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_distributed_all_gather(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream S) + * } + */ + public static FunctionDescriptor mlx_distributed_all_gather$descriptor() { + return mlx_distributed_all_gather.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_distributed_all_gather(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream S) + * } + */ + public static MethodHandle mlx_distributed_all_gather$handle() { + return mlx_distributed_all_gather.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_distributed_all_gather(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream S) + * } + */ + public static MemorySegment mlx_distributed_all_gather$address() { + return mlx_distributed_all_gather.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_distributed_all_gather(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream S) + * } + */ + public static int mlx_distributed_all_gather(MemorySegment res, MemorySegment x, MemorySegment group, MemorySegment S) { + var mh$ = mlx_distributed_all_gather.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_all_gather", res, x, group, S); + } + return (int)mh$.invokeExact(res, x, group, S); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_distributed_all_max { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_distributed_group_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_all_max"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_distributed_all_max(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_distributed_all_max$descriptor() { + return mlx_distributed_all_max.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_distributed_all_max(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MethodHandle mlx_distributed_all_max$handle() { + return mlx_distributed_all_max.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_distributed_all_max(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MemorySegment mlx_distributed_all_max$address() { + return mlx_distributed_all_max.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_distributed_all_max(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static int mlx_distributed_all_max(MemorySegment res, MemorySegment x, MemorySegment group, MemorySegment s) { + var mh$ = mlx_distributed_all_max.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_all_max", res, x, group, s); + } + return (int)mh$.invokeExact(res, x, group, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_distributed_all_min { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_distributed_group_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_all_min"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_distributed_all_min(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_distributed_all_min$descriptor() { + return mlx_distributed_all_min.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_distributed_all_min(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MethodHandle mlx_distributed_all_min$handle() { + return mlx_distributed_all_min.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_distributed_all_min(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MemorySegment mlx_distributed_all_min$address() { + return mlx_distributed_all_min.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_distributed_all_min(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static int mlx_distributed_all_min(MemorySegment res, MemorySegment x, MemorySegment group, MemorySegment s) { + var mh$ = mlx_distributed_all_min.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_all_min", res, x, group, s); + } + return (int)mh$.invokeExact(res, x, group, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_distributed_all_sum { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_distributed_group_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_all_sum"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_distributed_all_sum(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_distributed_all_sum$descriptor() { + return mlx_distributed_all_sum.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_distributed_all_sum(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MethodHandle mlx_distributed_all_sum$handle() { + return mlx_distributed_all_sum.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_distributed_all_sum(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MemorySegment mlx_distributed_all_sum$address() { + return mlx_distributed_all_sum.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_distributed_all_sum(mlx_array *res, const mlx_array x, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static int mlx_distributed_all_sum(MemorySegment res, MemorySegment x, MemorySegment group, MemorySegment s) { + var mh$ = mlx_distributed_all_sum.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_all_sum", res, x, group, s); + } + return (int)mh$.invokeExact(res, x, group, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_distributed_recv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_distributed_group_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_recv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_distributed_recv(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, int src, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_distributed_recv$descriptor() { + return mlx_distributed_recv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_distributed_recv(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, int src, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MethodHandle mlx_distributed_recv$handle() { + return mlx_distributed_recv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_distributed_recv(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, int src, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MemorySegment mlx_distributed_recv$address() { + return mlx_distributed_recv.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_distributed_recv(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, int src, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static int mlx_distributed_recv(MemorySegment res, MemorySegment shape, long shape_num, int dtype, int src, MemorySegment group, MemorySegment s) { + var mh$ = mlx_distributed_recv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_recv", res, shape, shape_num, dtype, src, group, s); + } + return (int)mh$.invokeExact(res, shape, shape_num, dtype, src, group, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_distributed_recv_like { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_distributed_group_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_recv_like"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_distributed_recv_like(mlx_array *res, const mlx_array x, int src, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_distributed_recv_like$descriptor() { + return mlx_distributed_recv_like.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_distributed_recv_like(mlx_array *res, const mlx_array x, int src, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MethodHandle mlx_distributed_recv_like$handle() { + return mlx_distributed_recv_like.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_distributed_recv_like(mlx_array *res, const mlx_array x, int src, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MemorySegment mlx_distributed_recv_like$address() { + return mlx_distributed_recv_like.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_distributed_recv_like(mlx_array *res, const mlx_array x, int src, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static int mlx_distributed_recv_like(MemorySegment res, MemorySegment x, int src, MemorySegment group, MemorySegment s) { + var mh$ = mlx_distributed_recv_like.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_recv_like", res, x, src, group, s); + } + return (int)mh$.invokeExact(res, x, src, group, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_distributed_send { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_distributed_group_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_distributed_send"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_distributed_send(mlx_array *res, const mlx_array x, int dst, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_distributed_send$descriptor() { + return mlx_distributed_send.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_distributed_send(mlx_array *res, const mlx_array x, int dst, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MethodHandle mlx_distributed_send$handle() { + return mlx_distributed_send.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_distributed_send(mlx_array *res, const mlx_array x, int dst, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static MemorySegment mlx_distributed_send$address() { + return mlx_distributed_send.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_distributed_send(mlx_array *res, const mlx_array x, int dst, const mlx_distributed_group group, const mlx_stream s) + * } + */ + public static int mlx_distributed_send(MemorySegment res, MemorySegment x, int dst, MemorySegment group, MemorySegment s) { + var mh$ = mlx_distributed_send.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_distributed_send", res, x, dst, group, s); + } + return (int)mh$.invokeExact(res, x, dst, group, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_set_error_handler { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_set_error_handler"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void mlx_set_error_handler(mlx_error_handler_func handler, void *data, void (*dtor)(void *)) + * } + */ + public static FunctionDescriptor mlx_set_error_handler$descriptor() { + return mlx_set_error_handler.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void mlx_set_error_handler(mlx_error_handler_func handler, void *data, void (*dtor)(void *)) + * } + */ + public static MethodHandle mlx_set_error_handler$handle() { + return mlx_set_error_handler.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void mlx_set_error_handler(mlx_error_handler_func handler, void *data, void (*dtor)(void *)) + * } + */ + public static MemorySegment mlx_set_error_handler$address() { + return mlx_set_error_handler.ADDR; + } + + /** + * {@snippet lang=c : + * void mlx_set_error_handler(mlx_error_handler_func handler, void *data, void (*dtor)(void *)) + * } + */ + public static void mlx_set_error_handler(MemorySegment handler, MemorySegment data, MemorySegment dtor) { + var mh$ = mlx_set_error_handler.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_set_error_handler", handler, data, dtor); + } + mh$.invokeExact(handler, data, dtor); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * void _mlx_error(const char *file, const int line, const char *fmt, ...) + * } + */ + public static class _mlx_error { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("_mlx_error"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private _mlx_error(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * void _mlx_error(const char *file, const int line, const char *fmt, ...) + * } + */ + public static _mlx_error makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new _mlx_error(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public void apply(MemorySegment file, int line, MemorySegment fmt, Object... x3) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("_mlx_error", file, line, fmt, x3); + } + spreader.invokeExact(file, line, fmt, x3); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_export_function { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_.layout(), + mlx_vector_array_.layout(), + mlx_h.C_BOOL + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_export_function"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_export_function(const char *file, const mlx_closure fun, const mlx_vector_array args, bool shapeless) + * } + */ + public static FunctionDescriptor mlx_export_function$descriptor() { + return mlx_export_function.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_export_function(const char *file, const mlx_closure fun, const mlx_vector_array args, bool shapeless) + * } + */ + public static MethodHandle mlx_export_function$handle() { + return mlx_export_function.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_export_function(const char *file, const mlx_closure fun, const mlx_vector_array args, bool shapeless) + * } + */ + public static MemorySegment mlx_export_function$address() { + return mlx_export_function.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_export_function(const char *file, const mlx_closure fun, const mlx_vector_array args, bool shapeless) + * } + */ + public static int mlx_export_function(MemorySegment file, MemorySegment fun, MemorySegment args, boolean shapeless) { + var mh$ = mlx_export_function.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_export_function", file, fun, args, shapeless); + } + return (int)mh$.invokeExact(file, fun, args, shapeless); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_export_function_kwargs { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_kwargs_.layout(), + mlx_vector_array_.layout(), + mlx_map_string_to_array_.layout(), + mlx_h.C_BOOL + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_export_function_kwargs"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_export_function_kwargs(const char *file, const mlx_closure_kwargs fun, const mlx_vector_array args, const mlx_map_string_to_array kwargs, bool shapeless) + * } + */ + public static FunctionDescriptor mlx_export_function_kwargs$descriptor() { + return mlx_export_function_kwargs.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_export_function_kwargs(const char *file, const mlx_closure_kwargs fun, const mlx_vector_array args, const mlx_map_string_to_array kwargs, bool shapeless) + * } + */ + public static MethodHandle mlx_export_function_kwargs$handle() { + return mlx_export_function_kwargs.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_export_function_kwargs(const char *file, const mlx_closure_kwargs fun, const mlx_vector_array args, const mlx_map_string_to_array kwargs, bool shapeless) + * } + */ + public static MemorySegment mlx_export_function_kwargs$address() { + return mlx_export_function_kwargs.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_export_function_kwargs(const char *file, const mlx_closure_kwargs fun, const mlx_vector_array args, const mlx_map_string_to_array kwargs, bool shapeless) + * } + */ + public static int mlx_export_function_kwargs(MemorySegment file, MemorySegment fun, MemorySegment args, MemorySegment kwargs, boolean shapeless) { + var mh$ = mlx_export_function_kwargs.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_export_function_kwargs", file, fun, args, kwargs, shapeless); + } + return (int)mh$.invokeExact(file, fun, args, kwargs, shapeless); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_function_exporter_new { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_function_exporter_.layout(), + mlx_h.C_POINTER, + mlx_closure_.layout(), + mlx_h.C_BOOL + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_function_exporter_new"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_function_exporter mlx_function_exporter_new(const char *file, const mlx_closure fun, bool shapeless) + * } + */ + public static FunctionDescriptor mlx_function_exporter_new$descriptor() { + return mlx_function_exporter_new.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_function_exporter mlx_function_exporter_new(const char *file, const mlx_closure fun, bool shapeless) + * } + */ + public static MethodHandle mlx_function_exporter_new$handle() { + return mlx_function_exporter_new.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_function_exporter mlx_function_exporter_new(const char *file, const mlx_closure fun, bool shapeless) + * } + */ + public static MemorySegment mlx_function_exporter_new$address() { + return mlx_function_exporter_new.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_function_exporter mlx_function_exporter_new(const char *file, const mlx_closure fun, bool shapeless) + * } + */ + public static MemorySegment mlx_function_exporter_new(SegmentAllocator allocator, MemorySegment file, MemorySegment fun, boolean shapeless) { + var mh$ = mlx_function_exporter_new.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_function_exporter_new", allocator, file, fun, shapeless); + } + return (MemorySegment)mh$.invokeExact(allocator, file, fun, shapeless); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_function_exporter_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_function_exporter_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_function_exporter_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_function_exporter_free(mlx_function_exporter xfunc) + * } + */ + public static FunctionDescriptor mlx_function_exporter_free$descriptor() { + return mlx_function_exporter_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_function_exporter_free(mlx_function_exporter xfunc) + * } + */ + public static MethodHandle mlx_function_exporter_free$handle() { + return mlx_function_exporter_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_function_exporter_free(mlx_function_exporter xfunc) + * } + */ + public static MemorySegment mlx_function_exporter_free$address() { + return mlx_function_exporter_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_function_exporter_free(mlx_function_exporter xfunc) + * } + */ + public static int mlx_function_exporter_free(MemorySegment xfunc) { + var mh$ = mlx_function_exporter_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_function_exporter_free", xfunc); + } + return (int)mh$.invokeExact(xfunc); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_function_exporter_apply { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_function_exporter_.layout(), + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_function_exporter_apply"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_function_exporter_apply(const mlx_function_exporter xfunc, const mlx_vector_array args) + * } + */ + public static FunctionDescriptor mlx_function_exporter_apply$descriptor() { + return mlx_function_exporter_apply.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_function_exporter_apply(const mlx_function_exporter xfunc, const mlx_vector_array args) + * } + */ + public static MethodHandle mlx_function_exporter_apply$handle() { + return mlx_function_exporter_apply.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_function_exporter_apply(const mlx_function_exporter xfunc, const mlx_vector_array args) + * } + */ + public static MemorySegment mlx_function_exporter_apply$address() { + return mlx_function_exporter_apply.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_function_exporter_apply(const mlx_function_exporter xfunc, const mlx_vector_array args) + * } + */ + public static int mlx_function_exporter_apply(MemorySegment xfunc, MemorySegment args) { + var mh$ = mlx_function_exporter_apply.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_function_exporter_apply", xfunc, args); + } + return (int)mh$.invokeExact(xfunc, args); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_function_exporter_apply_kwargs { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_function_exporter_.layout(), + mlx_vector_array_.layout(), + mlx_map_string_to_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_function_exporter_apply_kwargs"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_function_exporter_apply_kwargs(const mlx_function_exporter xfunc, const mlx_vector_array args, const mlx_map_string_to_array kwargs) + * } + */ + public static FunctionDescriptor mlx_function_exporter_apply_kwargs$descriptor() { + return mlx_function_exporter_apply_kwargs.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_function_exporter_apply_kwargs(const mlx_function_exporter xfunc, const mlx_vector_array args, const mlx_map_string_to_array kwargs) + * } + */ + public static MethodHandle mlx_function_exporter_apply_kwargs$handle() { + return mlx_function_exporter_apply_kwargs.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_function_exporter_apply_kwargs(const mlx_function_exporter xfunc, const mlx_vector_array args, const mlx_map_string_to_array kwargs) + * } + */ + public static MemorySegment mlx_function_exporter_apply_kwargs$address() { + return mlx_function_exporter_apply_kwargs.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_function_exporter_apply_kwargs(const mlx_function_exporter xfunc, const mlx_vector_array args, const mlx_map_string_to_array kwargs) + * } + */ + public static int mlx_function_exporter_apply_kwargs(MemorySegment xfunc, MemorySegment args, MemorySegment kwargs) { + var mh$ = mlx_function_exporter_apply_kwargs.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_function_exporter_apply_kwargs", xfunc, args, kwargs); + } + return (int)mh$.invokeExact(xfunc, args, kwargs); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_imported_function_new { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_imported_function_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_imported_function_new"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_imported_function mlx_imported_function_new(const char *file) + * } + */ + public static FunctionDescriptor mlx_imported_function_new$descriptor() { + return mlx_imported_function_new.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_imported_function mlx_imported_function_new(const char *file) + * } + */ + public static MethodHandle mlx_imported_function_new$handle() { + return mlx_imported_function_new.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_imported_function mlx_imported_function_new(const char *file) + * } + */ + public static MemorySegment mlx_imported_function_new$address() { + return mlx_imported_function_new.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_imported_function mlx_imported_function_new(const char *file) + * } + */ + public static MemorySegment mlx_imported_function_new(SegmentAllocator allocator, MemorySegment file) { + var mh$ = mlx_imported_function_new.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_imported_function_new", allocator, file); + } + return (MemorySegment)mh$.invokeExact(allocator, file); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_imported_function_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_imported_function_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_imported_function_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_imported_function_free(mlx_imported_function xfunc) + * } + */ + public static FunctionDescriptor mlx_imported_function_free$descriptor() { + return mlx_imported_function_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_imported_function_free(mlx_imported_function xfunc) + * } + */ + public static MethodHandle mlx_imported_function_free$handle() { + return mlx_imported_function_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_imported_function_free(mlx_imported_function xfunc) + * } + */ + public static MemorySegment mlx_imported_function_free$address() { + return mlx_imported_function_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_imported_function_free(mlx_imported_function xfunc) + * } + */ + public static int mlx_imported_function_free(MemorySegment xfunc) { + var mh$ = mlx_imported_function_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_imported_function_free", xfunc); + } + return (int)mh$.invokeExact(xfunc); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_imported_function_apply { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_imported_function_.layout(), + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_imported_function_apply"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_imported_function_apply(mlx_vector_array *res, const mlx_imported_function xfunc, const mlx_vector_array args) + * } + */ + public static FunctionDescriptor mlx_imported_function_apply$descriptor() { + return mlx_imported_function_apply.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_imported_function_apply(mlx_vector_array *res, const mlx_imported_function xfunc, const mlx_vector_array args) + * } + */ + public static MethodHandle mlx_imported_function_apply$handle() { + return mlx_imported_function_apply.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_imported_function_apply(mlx_vector_array *res, const mlx_imported_function xfunc, const mlx_vector_array args) + * } + */ + public static MemorySegment mlx_imported_function_apply$address() { + return mlx_imported_function_apply.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_imported_function_apply(mlx_vector_array *res, const mlx_imported_function xfunc, const mlx_vector_array args) + * } + */ + public static int mlx_imported_function_apply(MemorySegment res, MemorySegment xfunc, MemorySegment args) { + var mh$ = mlx_imported_function_apply.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_imported_function_apply", res, xfunc, args); + } + return (int)mh$.invokeExact(res, xfunc, args); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_imported_function_apply_kwargs { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_imported_function_.layout(), + mlx_vector_array_.layout(), + mlx_map_string_to_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_imported_function_apply_kwargs"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_imported_function_apply_kwargs(mlx_vector_array *res, const mlx_imported_function xfunc, const mlx_vector_array args, const mlx_map_string_to_array kwargs) + * } + */ + public static FunctionDescriptor mlx_imported_function_apply_kwargs$descriptor() { + return mlx_imported_function_apply_kwargs.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_imported_function_apply_kwargs(mlx_vector_array *res, const mlx_imported_function xfunc, const mlx_vector_array args, const mlx_map_string_to_array kwargs) + * } + */ + public static MethodHandle mlx_imported_function_apply_kwargs$handle() { + return mlx_imported_function_apply_kwargs.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_imported_function_apply_kwargs(mlx_vector_array *res, const mlx_imported_function xfunc, const mlx_vector_array args, const mlx_map_string_to_array kwargs) + * } + */ + public static MemorySegment mlx_imported_function_apply_kwargs$address() { + return mlx_imported_function_apply_kwargs.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_imported_function_apply_kwargs(mlx_vector_array *res, const mlx_imported_function xfunc, const mlx_vector_array args, const mlx_map_string_to_array kwargs) + * } + */ + public static int mlx_imported_function_apply_kwargs(MemorySegment res, MemorySegment xfunc, MemorySegment args, MemorySegment kwargs) { + var mh$ = mlx_imported_function_apply_kwargs.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_imported_function_apply_kwargs", res, xfunc, args, kwargs); + } + return (int)mh$.invokeExact(res, xfunc, args, kwargs); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_affine_dequantize { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_affine_dequantize"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_affine_dequantize(mlx_array *res, const mlx_array w, const mlx_array scales, const mlx_array biases, int group_size, int bits, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fast_affine_dequantize$descriptor() { + return mlx_fast_affine_dequantize.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_affine_dequantize(mlx_array *res, const mlx_array w, const mlx_array scales, const mlx_array biases, int group_size, int bits, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fast_affine_dequantize$handle() { + return mlx_fast_affine_dequantize.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_affine_dequantize(mlx_array *res, const mlx_array w, const mlx_array scales, const mlx_array biases, int group_size, int bits, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fast_affine_dequantize$address() { + return mlx_fast_affine_dequantize.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_affine_dequantize(mlx_array *res, const mlx_array w, const mlx_array scales, const mlx_array biases, int group_size, int bits, const mlx_stream s) + * } + */ + public static int mlx_fast_affine_dequantize(MemorySegment res, MemorySegment w, MemorySegment scales, MemorySegment biases, int group_size, int bits, MemorySegment s) { + var mh$ = mlx_fast_affine_dequantize.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_affine_dequantize", res, w, scales, biases, group_size, bits, s); + } + return (int)mh$.invokeExact(res, w, scales, biases, group_size, bits, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_affine_quantize { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_affine_quantize"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_affine_quantize(mlx_array *res_0, mlx_array *res_1, mlx_array *res_2, const mlx_array w, int group_size, int bits, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fast_affine_quantize$descriptor() { + return mlx_fast_affine_quantize.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_affine_quantize(mlx_array *res_0, mlx_array *res_1, mlx_array *res_2, const mlx_array w, int group_size, int bits, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fast_affine_quantize$handle() { + return mlx_fast_affine_quantize.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_affine_quantize(mlx_array *res_0, mlx_array *res_1, mlx_array *res_2, const mlx_array w, int group_size, int bits, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fast_affine_quantize$address() { + return mlx_fast_affine_quantize.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_affine_quantize(mlx_array *res_0, mlx_array *res_1, mlx_array *res_2, const mlx_array w, int group_size, int bits, const mlx_stream s) + * } + */ + public static int mlx_fast_affine_quantize(MemorySegment res_0, MemorySegment res_1, MemorySegment res_2, MemorySegment w, int group_size, int bits, MemorySegment s) { + var mh$ = mlx_fast_affine_quantize.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_affine_quantize", res_0, res_1, res_2, w, group_size, bits, s); + } + return (int)mh$.invokeExact(res_0, res_1, res_2, w, group_size, bits, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_layer_norm { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_FLOAT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_layer_norm"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_layer_norm(mlx_array *res, const mlx_array x, const mlx_array weight, const mlx_array bias, float eps, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fast_layer_norm$descriptor() { + return mlx_fast_layer_norm.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_layer_norm(mlx_array *res, const mlx_array x, const mlx_array weight, const mlx_array bias, float eps, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fast_layer_norm$handle() { + return mlx_fast_layer_norm.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_layer_norm(mlx_array *res, const mlx_array x, const mlx_array weight, const mlx_array bias, float eps, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fast_layer_norm$address() { + return mlx_fast_layer_norm.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_layer_norm(mlx_array *res, const mlx_array x, const mlx_array weight, const mlx_array bias, float eps, const mlx_stream s) + * } + */ + public static int mlx_fast_layer_norm(MemorySegment res, MemorySegment x, MemorySegment weight, MemorySegment bias, float eps, MemorySegment s) { + var mh$ = mlx_fast_layer_norm.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_layer_norm", res, x, weight, bias, eps, s); + } + return (int)mh$.invokeExact(res, x, weight, bias, eps, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_fast_metal_kernel_config mlx_fast_metal_kernel_config_new() + * } + */ + public static class mlx_fast_metal_kernel_config_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_fast_metal_kernel_config_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_config_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_fast_metal_kernel_config_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_fast_metal_kernel_config mlx_fast_metal_kernel_config_new() + * } + */ + public static mlx_fast_metal_kernel_config_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_fast_metal_kernel_config_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_config_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_fast_metal_kernel_config_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_fast_metal_kernel_config_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_config_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void mlx_fast_metal_kernel_config_free(mlx_fast_metal_kernel_config cls) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_config_free$descriptor() { + return mlx_fast_metal_kernel_config_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void mlx_fast_metal_kernel_config_free(mlx_fast_metal_kernel_config cls) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_config_free$handle() { + return mlx_fast_metal_kernel_config_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void mlx_fast_metal_kernel_config_free(mlx_fast_metal_kernel_config cls) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_config_free$address() { + return mlx_fast_metal_kernel_config_free.ADDR; + } + + /** + * {@snippet lang=c : + * void mlx_fast_metal_kernel_config_free(mlx_fast_metal_kernel_config cls) + * } + */ + public static void mlx_fast_metal_kernel_config_free(MemorySegment cls) { + var mh$ = mlx_fast_metal_kernel_config_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_config_free", cls); + } + mh$.invokeExact(cls); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_metal_kernel_config_add_output_arg { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_fast_metal_kernel_config_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_config_add_output_arg"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_output_arg(mlx_fast_metal_kernel_config cls, const int *shape, size_t size, mlx_dtype dtype) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_config_add_output_arg$descriptor() { + return mlx_fast_metal_kernel_config_add_output_arg.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_output_arg(mlx_fast_metal_kernel_config cls, const int *shape, size_t size, mlx_dtype dtype) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_config_add_output_arg$handle() { + return mlx_fast_metal_kernel_config_add_output_arg.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_output_arg(mlx_fast_metal_kernel_config cls, const int *shape, size_t size, mlx_dtype dtype) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_config_add_output_arg$address() { + return mlx_fast_metal_kernel_config_add_output_arg.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_output_arg(mlx_fast_metal_kernel_config cls, const int *shape, size_t size, mlx_dtype dtype) + * } + */ + public static int mlx_fast_metal_kernel_config_add_output_arg(MemorySegment cls, MemorySegment shape, long size, int dtype) { + var mh$ = mlx_fast_metal_kernel_config_add_output_arg.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_config_add_output_arg", cls, shape, size, dtype); + } + return (int)mh$.invokeExact(cls, shape, size, dtype); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_metal_kernel_config_set_grid { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_fast_metal_kernel_config_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_config_set_grid"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_grid(mlx_fast_metal_kernel_config cls, int grid1, int grid2, int grid3) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_config_set_grid$descriptor() { + return mlx_fast_metal_kernel_config_set_grid.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_grid(mlx_fast_metal_kernel_config cls, int grid1, int grid2, int grid3) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_config_set_grid$handle() { + return mlx_fast_metal_kernel_config_set_grid.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_grid(mlx_fast_metal_kernel_config cls, int grid1, int grid2, int grid3) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_config_set_grid$address() { + return mlx_fast_metal_kernel_config_set_grid.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_grid(mlx_fast_metal_kernel_config cls, int grid1, int grid2, int grid3) + * } + */ + public static int mlx_fast_metal_kernel_config_set_grid(MemorySegment cls, int grid1, int grid2, int grid3) { + var mh$ = mlx_fast_metal_kernel_config_set_grid.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_config_set_grid", cls, grid1, grid2, grid3); + } + return (int)mh$.invokeExact(cls, grid1, grid2, grid3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_metal_kernel_config_set_thread_group { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_fast_metal_kernel_config_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_config_set_thread_group"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_thread_group(mlx_fast_metal_kernel_config cls, int thread1, int thread2, int thread3) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_config_set_thread_group$descriptor() { + return mlx_fast_metal_kernel_config_set_thread_group.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_thread_group(mlx_fast_metal_kernel_config cls, int thread1, int thread2, int thread3) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_config_set_thread_group$handle() { + return mlx_fast_metal_kernel_config_set_thread_group.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_thread_group(mlx_fast_metal_kernel_config cls, int thread1, int thread2, int thread3) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_config_set_thread_group$address() { + return mlx_fast_metal_kernel_config_set_thread_group.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_thread_group(mlx_fast_metal_kernel_config cls, int thread1, int thread2, int thread3) + * } + */ + public static int mlx_fast_metal_kernel_config_set_thread_group(MemorySegment cls, int thread1, int thread2, int thread3) { + var mh$ = mlx_fast_metal_kernel_config_set_thread_group.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_config_set_thread_group", cls, thread1, thread2, thread3); + } + return (int)mh$.invokeExact(cls, thread1, thread2, thread3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_metal_kernel_config_set_init_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_fast_metal_kernel_config_.layout(), + mlx_h.C_FLOAT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_config_set_init_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_init_value(mlx_fast_metal_kernel_config cls, float value) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_config_set_init_value$descriptor() { + return mlx_fast_metal_kernel_config_set_init_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_init_value(mlx_fast_metal_kernel_config cls, float value) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_config_set_init_value$handle() { + return mlx_fast_metal_kernel_config_set_init_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_init_value(mlx_fast_metal_kernel_config cls, float value) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_config_set_init_value$address() { + return mlx_fast_metal_kernel_config_set_init_value.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_init_value(mlx_fast_metal_kernel_config cls, float value) + * } + */ + public static int mlx_fast_metal_kernel_config_set_init_value(MemorySegment cls, float value) { + var mh$ = mlx_fast_metal_kernel_config_set_init_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_config_set_init_value", cls, value); + } + return (int)mh$.invokeExact(cls, value); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_metal_kernel_config_set_verbose { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_fast_metal_kernel_config_.layout(), + mlx_h.C_BOOL + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_config_set_verbose"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_verbose(mlx_fast_metal_kernel_config cls, bool verbose) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_config_set_verbose$descriptor() { + return mlx_fast_metal_kernel_config_set_verbose.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_verbose(mlx_fast_metal_kernel_config cls, bool verbose) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_config_set_verbose$handle() { + return mlx_fast_metal_kernel_config_set_verbose.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_verbose(mlx_fast_metal_kernel_config cls, bool verbose) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_config_set_verbose$address() { + return mlx_fast_metal_kernel_config_set_verbose.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_set_verbose(mlx_fast_metal_kernel_config cls, bool verbose) + * } + */ + public static int mlx_fast_metal_kernel_config_set_verbose(MemorySegment cls, boolean verbose) { + var mh$ = mlx_fast_metal_kernel_config_set_verbose.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_config_set_verbose", cls, verbose); + } + return (int)mh$.invokeExact(cls, verbose); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_metal_kernel_config_add_template_arg_dtype { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_fast_metal_kernel_config_.layout(), + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_config_add_template_arg_dtype"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_dtype(mlx_fast_metal_kernel_config cls, const char *name, mlx_dtype dtype) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_config_add_template_arg_dtype$descriptor() { + return mlx_fast_metal_kernel_config_add_template_arg_dtype.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_dtype(mlx_fast_metal_kernel_config cls, const char *name, mlx_dtype dtype) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_config_add_template_arg_dtype$handle() { + return mlx_fast_metal_kernel_config_add_template_arg_dtype.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_dtype(mlx_fast_metal_kernel_config cls, const char *name, mlx_dtype dtype) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_config_add_template_arg_dtype$address() { + return mlx_fast_metal_kernel_config_add_template_arg_dtype.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_dtype(mlx_fast_metal_kernel_config cls, const char *name, mlx_dtype dtype) + * } + */ + public static int mlx_fast_metal_kernel_config_add_template_arg_dtype(MemorySegment cls, MemorySegment name, int dtype) { + var mh$ = mlx_fast_metal_kernel_config_add_template_arg_dtype.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_config_add_template_arg_dtype", cls, name, dtype); + } + return (int)mh$.invokeExact(cls, name, dtype); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_metal_kernel_config_add_template_arg_int { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_fast_metal_kernel_config_.layout(), + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_config_add_template_arg_int"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_int(mlx_fast_metal_kernel_config cls, const char *name, int value) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_config_add_template_arg_int$descriptor() { + return mlx_fast_metal_kernel_config_add_template_arg_int.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_int(mlx_fast_metal_kernel_config cls, const char *name, int value) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_config_add_template_arg_int$handle() { + return mlx_fast_metal_kernel_config_add_template_arg_int.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_int(mlx_fast_metal_kernel_config cls, const char *name, int value) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_config_add_template_arg_int$address() { + return mlx_fast_metal_kernel_config_add_template_arg_int.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_int(mlx_fast_metal_kernel_config cls, const char *name, int value) + * } + */ + public static int mlx_fast_metal_kernel_config_add_template_arg_int(MemorySegment cls, MemorySegment name, int value) { + var mh$ = mlx_fast_metal_kernel_config_add_template_arg_int.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_config_add_template_arg_int", cls, name, value); + } + return (int)mh$.invokeExact(cls, name, value); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_metal_kernel_config_add_template_arg_bool { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_fast_metal_kernel_config_.layout(), + mlx_h.C_POINTER, + mlx_h.C_BOOL + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_config_add_template_arg_bool"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_bool(mlx_fast_metal_kernel_config cls, const char *name, bool value) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_config_add_template_arg_bool$descriptor() { + return mlx_fast_metal_kernel_config_add_template_arg_bool.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_bool(mlx_fast_metal_kernel_config cls, const char *name, bool value) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_config_add_template_arg_bool$handle() { + return mlx_fast_metal_kernel_config_add_template_arg_bool.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_bool(mlx_fast_metal_kernel_config cls, const char *name, bool value) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_config_add_template_arg_bool$address() { + return mlx_fast_metal_kernel_config_add_template_arg_bool.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_metal_kernel_config_add_template_arg_bool(mlx_fast_metal_kernel_config cls, const char *name, bool value) + * } + */ + public static int mlx_fast_metal_kernel_config_add_template_arg_bool(MemorySegment cls, MemorySegment name, boolean value) { + var mh$ = mlx_fast_metal_kernel_config_add_template_arg_bool.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_config_add_template_arg_bool", cls, name, value); + } + return (int)mh$.invokeExact(cls, name, value); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_metal_kernel_new { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_fast_metal_kernel_.layout(), + mlx_h.C_POINTER, + mlx_vector_string_.layout(), + mlx_vector_string_.layout(), + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_BOOL, + mlx_h.C_BOOL + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_new"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_fast_metal_kernel mlx_fast_metal_kernel_new(const char *name, const mlx_vector_string input_names, const mlx_vector_string output_names, const char *source, const char *header, bool ensure_row_contiguous, bool atomic_outputs) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_new$descriptor() { + return mlx_fast_metal_kernel_new.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_fast_metal_kernel mlx_fast_metal_kernel_new(const char *name, const mlx_vector_string input_names, const mlx_vector_string output_names, const char *source, const char *header, bool ensure_row_contiguous, bool atomic_outputs) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_new$handle() { + return mlx_fast_metal_kernel_new.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_fast_metal_kernel mlx_fast_metal_kernel_new(const char *name, const mlx_vector_string input_names, const mlx_vector_string output_names, const char *source, const char *header, bool ensure_row_contiguous, bool atomic_outputs) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_new$address() { + return mlx_fast_metal_kernel_new.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_fast_metal_kernel mlx_fast_metal_kernel_new(const char *name, const mlx_vector_string input_names, const mlx_vector_string output_names, const char *source, const char *header, bool ensure_row_contiguous, bool atomic_outputs) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_new(SegmentAllocator allocator, MemorySegment name, MemorySegment input_names, MemorySegment output_names, MemorySegment source, MemorySegment header, boolean ensure_row_contiguous, boolean atomic_outputs) { + var mh$ = mlx_fast_metal_kernel_new.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_new", allocator, name, input_names, output_names, source, header, ensure_row_contiguous, atomic_outputs); + } + return (MemorySegment)mh$.invokeExact(allocator, name, input_names, output_names, source, header, ensure_row_contiguous, atomic_outputs); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_metal_kernel_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_fast_metal_kernel_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void mlx_fast_metal_kernel_free(mlx_fast_metal_kernel cls) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_free$descriptor() { + return mlx_fast_metal_kernel_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void mlx_fast_metal_kernel_free(mlx_fast_metal_kernel cls) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_free$handle() { + return mlx_fast_metal_kernel_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void mlx_fast_metal_kernel_free(mlx_fast_metal_kernel cls) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_free$address() { + return mlx_fast_metal_kernel_free.ADDR; + } + + /** + * {@snippet lang=c : + * void mlx_fast_metal_kernel_free(mlx_fast_metal_kernel cls) + * } + */ + public static void mlx_fast_metal_kernel_free(MemorySegment cls) { + var mh$ = mlx_fast_metal_kernel_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_free", cls); + } + mh$.invokeExact(cls); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_metal_kernel_apply { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_fast_metal_kernel_.layout(), + mlx_vector_array_.layout(), + mlx_fast_metal_kernel_config_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_metal_kernel_apply"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_apply(mlx_vector_array *outputs, mlx_fast_metal_kernel cls, const mlx_vector_array inputs, const mlx_fast_metal_kernel_config config, const mlx_stream stream) + * } + */ + public static FunctionDescriptor mlx_fast_metal_kernel_apply$descriptor() { + return mlx_fast_metal_kernel_apply.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_apply(mlx_vector_array *outputs, mlx_fast_metal_kernel cls, const mlx_vector_array inputs, const mlx_fast_metal_kernel_config config, const mlx_stream stream) + * } + */ + public static MethodHandle mlx_fast_metal_kernel_apply$handle() { + return mlx_fast_metal_kernel_apply.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_metal_kernel_apply(mlx_vector_array *outputs, mlx_fast_metal_kernel cls, const mlx_vector_array inputs, const mlx_fast_metal_kernel_config config, const mlx_stream stream) + * } + */ + public static MemorySegment mlx_fast_metal_kernel_apply$address() { + return mlx_fast_metal_kernel_apply.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_metal_kernel_apply(mlx_vector_array *outputs, mlx_fast_metal_kernel cls, const mlx_vector_array inputs, const mlx_fast_metal_kernel_config config, const mlx_stream stream) + * } + */ + public static int mlx_fast_metal_kernel_apply(MemorySegment outputs, MemorySegment cls, MemorySegment inputs, MemorySegment config, MemorySegment stream) { + var mh$ = mlx_fast_metal_kernel_apply.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_metal_kernel_apply", outputs, cls, inputs, config, stream); + } + return (int)mh$.invokeExact(outputs, cls, inputs, config, stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_rms_norm { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_FLOAT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_rms_norm"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_rms_norm(mlx_array *res, const mlx_array x, const mlx_array weight, float eps, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fast_rms_norm$descriptor() { + return mlx_fast_rms_norm.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_rms_norm(mlx_array *res, const mlx_array x, const mlx_array weight, float eps, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fast_rms_norm$handle() { + return mlx_fast_rms_norm.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_rms_norm(mlx_array *res, const mlx_array x, const mlx_array weight, float eps, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fast_rms_norm$address() { + return mlx_fast_rms_norm.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_rms_norm(mlx_array *res, const mlx_array x, const mlx_array weight, float eps, const mlx_stream s) + * } + */ + public static int mlx_fast_rms_norm(MemorySegment res, MemorySegment x, MemorySegment weight, float eps, MemorySegment s) { + var mh$ = mlx_fast_rms_norm.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_rms_norm", res, x, weight, eps, s); + } + return (int)mh$.invokeExact(res, x, weight, eps, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_rope { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_optional_float_.layout(), + mlx_h.C_FLOAT, + mlx_h.C_INT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_rope"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_rope(mlx_array *res, const mlx_array x, int dims, bool traditional, mlx_optional_float base, float scale, int offset, const mlx_array freqs, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fast_rope$descriptor() { + return mlx_fast_rope.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_rope(mlx_array *res, const mlx_array x, int dims, bool traditional, mlx_optional_float base, float scale, int offset, const mlx_array freqs, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fast_rope$handle() { + return mlx_fast_rope.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_rope(mlx_array *res, const mlx_array x, int dims, bool traditional, mlx_optional_float base, float scale, int offset, const mlx_array freqs, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fast_rope$address() { + return mlx_fast_rope.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_rope(mlx_array *res, const mlx_array x, int dims, bool traditional, mlx_optional_float base, float scale, int offset, const mlx_array freqs, const mlx_stream s) + * } + */ + public static int mlx_fast_rope(MemorySegment res, MemorySegment x, int dims, boolean traditional, MemorySegment base, float scale, int offset, MemorySegment freqs, MemorySegment s) { + var mh$ = mlx_fast_rope.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_rope", res, x, dims, traditional, base, scale, offset, freqs, s); + } + return (int)mh$.invokeExact(res, x, dims, traditional, base, scale, offset, freqs, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fast_scaled_dot_product_attention { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_FLOAT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fast_scaled_dot_product_attention"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fast_scaled_dot_product_attention(mlx_array *res, const mlx_array queries, const mlx_array keys, const mlx_array values, float scale, const char *mask_mode, const mlx_vector_array mask_arrs, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fast_scaled_dot_product_attention$descriptor() { + return mlx_fast_scaled_dot_product_attention.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fast_scaled_dot_product_attention(mlx_array *res, const mlx_array queries, const mlx_array keys, const mlx_array values, float scale, const char *mask_mode, const mlx_vector_array mask_arrs, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fast_scaled_dot_product_attention$handle() { + return mlx_fast_scaled_dot_product_attention.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fast_scaled_dot_product_attention(mlx_array *res, const mlx_array queries, const mlx_array keys, const mlx_array values, float scale, const char *mask_mode, const mlx_vector_array mask_arrs, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fast_scaled_dot_product_attention$address() { + return mlx_fast_scaled_dot_product_attention.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fast_scaled_dot_product_attention(mlx_array *res, const mlx_array queries, const mlx_array keys, const mlx_array values, float scale, const char *mask_mode, const mlx_vector_array mask_arrs, const mlx_stream s) + * } + */ + public static int mlx_fast_scaled_dot_product_attention(MemorySegment res, MemorySegment queries, MemorySegment keys, MemorySegment values, float scale, MemorySegment mask_mode, MemorySegment mask_arrs, MemorySegment s) { + var mh$ = mlx_fast_scaled_dot_product_attention.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fast_scaled_dot_product_attention", res, queries, keys, values, scale, mask_mode, mask_arrs, s); + } + return (int)mh$.invokeExact(res, queries, keys, values, scale, mask_mode, mask_arrs, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_fft { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_fft"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_fft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_fft$descriptor() { + return mlx_fft_fft.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_fft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_fft$handle() { + return mlx_fft_fft.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_fft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_fft$address() { + return mlx_fft_fft.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_fft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static int mlx_fft_fft(MemorySegment res, MemorySegment a, int n, int axis, MemorySegment s) { + var mh$ = mlx_fft_fft.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_fft", res, a, n, axis, s); + } + return (int)mh$.invokeExact(res, a, n, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_fft2 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_fft2"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_fft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_fft2$descriptor() { + return mlx_fft_fft2.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_fft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_fft2$handle() { + return mlx_fft_fft2.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_fft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_fft2$address() { + return mlx_fft_fft2.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_fft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_fft_fft2(MemorySegment res, MemorySegment a, MemorySegment n, long n_num, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_fft_fft2.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_fft2", res, a, n, n_num, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, n, n_num, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_fftn { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_fftn"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_fftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_fftn$descriptor() { + return mlx_fft_fftn.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_fftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_fftn$handle() { + return mlx_fft_fftn.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_fftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_fftn$address() { + return mlx_fft_fftn.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_fftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_fft_fftn(MemorySegment res, MemorySegment a, MemorySegment n, long n_num, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_fft_fftn.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_fftn", res, a, n, n_num, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, n, n_num, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_ifft { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_ifft"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_ifft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_ifft$descriptor() { + return mlx_fft_ifft.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_ifft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_ifft$handle() { + return mlx_fft_ifft.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_ifft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_ifft$address() { + return mlx_fft_ifft.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_ifft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static int mlx_fft_ifft(MemorySegment res, MemorySegment a, int n, int axis, MemorySegment s) { + var mh$ = mlx_fft_ifft.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_ifft", res, a, n, axis, s); + } + return (int)mh$.invokeExact(res, a, n, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_ifft2 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_ifft2"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_ifft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_ifft2$descriptor() { + return mlx_fft_ifft2.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_ifft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_ifft2$handle() { + return mlx_fft_ifft2.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_ifft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_ifft2$address() { + return mlx_fft_ifft2.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_ifft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_fft_ifft2(MemorySegment res, MemorySegment a, MemorySegment n, long n_num, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_fft_ifft2.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_ifft2", res, a, n, n_num, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, n, n_num, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_ifftn { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_ifftn"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_ifftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_ifftn$descriptor() { + return mlx_fft_ifftn.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_ifftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_ifftn$handle() { + return mlx_fft_ifftn.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_ifftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_ifftn$address() { + return mlx_fft_ifftn.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_ifftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_fft_ifftn(MemorySegment res, MemorySegment a, MemorySegment n, long n_num, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_fft_ifftn.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_ifftn", res, a, n, n_num, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, n, n_num, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_irfft { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_irfft"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_irfft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_irfft$descriptor() { + return mlx_fft_irfft.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_irfft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_irfft$handle() { + return mlx_fft_irfft.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_irfft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_irfft$address() { + return mlx_fft_irfft.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_irfft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static int mlx_fft_irfft(MemorySegment res, MemorySegment a, int n, int axis, MemorySegment s) { + var mh$ = mlx_fft_irfft.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_irfft", res, a, n, axis, s); + } + return (int)mh$.invokeExact(res, a, n, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_irfft2 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_irfft2"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_irfft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_irfft2$descriptor() { + return mlx_fft_irfft2.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_irfft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_irfft2$handle() { + return mlx_fft_irfft2.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_irfft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_irfft2$address() { + return mlx_fft_irfft2.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_irfft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_fft_irfft2(MemorySegment res, MemorySegment a, MemorySegment n, long n_num, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_fft_irfft2.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_irfft2", res, a, n, n_num, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, n, n_num, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_irfftn { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_irfftn"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_irfftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_irfftn$descriptor() { + return mlx_fft_irfftn.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_irfftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_irfftn$handle() { + return mlx_fft_irfftn.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_irfftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_irfftn$address() { + return mlx_fft_irfftn.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_irfftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_fft_irfftn(MemorySegment res, MemorySegment a, MemorySegment n, long n_num, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_fft_irfftn.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_irfftn", res, a, n, n_num, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, n, n_num, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_rfft { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_rfft"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_rfft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_rfft$descriptor() { + return mlx_fft_rfft.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_rfft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_rfft$handle() { + return mlx_fft_rfft.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_rfft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_rfft$address() { + return mlx_fft_rfft.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_rfft(mlx_array *res, const mlx_array a, int n, int axis, const mlx_stream s) + * } + */ + public static int mlx_fft_rfft(MemorySegment res, MemorySegment a, int n, int axis, MemorySegment s) { + var mh$ = mlx_fft_rfft.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_rfft", res, a, n, axis, s); + } + return (int)mh$.invokeExact(res, a, n, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_rfft2 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_rfft2"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_rfft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_rfft2$descriptor() { + return mlx_fft_rfft2.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_rfft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_rfft2$handle() { + return mlx_fft_rfft2.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_rfft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_rfft2$address() { + return mlx_fft_rfft2.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_rfft2(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_fft_rfft2(MemorySegment res, MemorySegment a, MemorySegment n, long n_num, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_fft_rfft2.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_rfft2", res, a, n, n_num, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, n, n_num, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_fft_rfftn { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_fft_rfftn"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_fft_rfftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_fft_rfftn$descriptor() { + return mlx_fft_rfftn.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_fft_rfftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_fft_rfftn$handle() { + return mlx_fft_rfftn.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_fft_rfftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_fft_rfftn$address() { + return mlx_fft_rfftn.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_fft_rfftn(mlx_array *res, const mlx_array a, const int *n, size_t n_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_fft_rfftn(MemorySegment res, MemorySegment a, MemorySegment n, long n_num, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_fft_rfftn.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_fft_rfftn", res, a, n, n_num, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, n, n_num, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_load_reader { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_io_reader_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_load_reader"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_load_reader(mlx_array *res, mlx_io_reader in_stream, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_load_reader$descriptor() { + return mlx_load_reader.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_load_reader(mlx_array *res, mlx_io_reader in_stream, const mlx_stream s) + * } + */ + public static MethodHandle mlx_load_reader$handle() { + return mlx_load_reader.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_load_reader(mlx_array *res, mlx_io_reader in_stream, const mlx_stream s) + * } + */ + public static MemorySegment mlx_load_reader$address() { + return mlx_load_reader.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_load_reader(mlx_array *res, mlx_io_reader in_stream, const mlx_stream s) + * } + */ + public static int mlx_load_reader(MemorySegment res, MemorySegment in_stream, MemorySegment s) { + var mh$ = mlx_load_reader.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_load_reader", res, in_stream, s); + } + return (int)mh$.invokeExact(res, in_stream, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_load { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_load"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_load(mlx_array *res, const char *file, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_load$descriptor() { + return mlx_load.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_load(mlx_array *res, const char *file, const mlx_stream s) + * } + */ + public static MethodHandle mlx_load$handle() { + return mlx_load.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_load(mlx_array *res, const char *file, const mlx_stream s) + * } + */ + public static MemorySegment mlx_load$address() { + return mlx_load.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_load(mlx_array *res, const char *file, const mlx_stream s) + * } + */ + public static int mlx_load(MemorySegment res, MemorySegment file, MemorySegment s) { + var mh$ = mlx_load.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_load", res, file, s); + } + return (int)mh$.invokeExact(res, file, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_load_safetensors_reader { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_io_reader_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_load_safetensors_reader"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_load_safetensors_reader(mlx_map_string_to_array *res_0, mlx_map_string_to_string *res_1, mlx_io_reader in_stream, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_load_safetensors_reader$descriptor() { + return mlx_load_safetensors_reader.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_load_safetensors_reader(mlx_map_string_to_array *res_0, mlx_map_string_to_string *res_1, mlx_io_reader in_stream, const mlx_stream s) + * } + */ + public static MethodHandle mlx_load_safetensors_reader$handle() { + return mlx_load_safetensors_reader.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_load_safetensors_reader(mlx_map_string_to_array *res_0, mlx_map_string_to_string *res_1, mlx_io_reader in_stream, const mlx_stream s) + * } + */ + public static MemorySegment mlx_load_safetensors_reader$address() { + return mlx_load_safetensors_reader.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_load_safetensors_reader(mlx_map_string_to_array *res_0, mlx_map_string_to_string *res_1, mlx_io_reader in_stream, const mlx_stream s) + * } + */ + public static int mlx_load_safetensors_reader(MemorySegment res_0, MemorySegment res_1, MemorySegment in_stream, MemorySegment s) { + var mh$ = mlx_load_safetensors_reader.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_load_safetensors_reader", res_0, res_1, in_stream, s); + } + return (int)mh$.invokeExact(res_0, res_1, in_stream, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_load_safetensors { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_load_safetensors"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_load_safetensors(mlx_map_string_to_array *res_0, mlx_map_string_to_string *res_1, const char *file, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_load_safetensors$descriptor() { + return mlx_load_safetensors.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_load_safetensors(mlx_map_string_to_array *res_0, mlx_map_string_to_string *res_1, const char *file, const mlx_stream s) + * } + */ + public static MethodHandle mlx_load_safetensors$handle() { + return mlx_load_safetensors.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_load_safetensors(mlx_map_string_to_array *res_0, mlx_map_string_to_string *res_1, const char *file, const mlx_stream s) + * } + */ + public static MemorySegment mlx_load_safetensors$address() { + return mlx_load_safetensors.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_load_safetensors(mlx_map_string_to_array *res_0, mlx_map_string_to_string *res_1, const char *file, const mlx_stream s) + * } + */ + public static int mlx_load_safetensors(MemorySegment res_0, MemorySegment res_1, MemorySegment file, MemorySegment s) { + var mh$ = mlx_load_safetensors.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_load_safetensors", res_0, res_1, file, s); + } + return (int)mh$.invokeExact(res_0, res_1, file, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_save_writer { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_io_writer_.layout(), + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_save_writer"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_save_writer(mlx_io_writer out_stream, const mlx_array a) + * } + */ + public static FunctionDescriptor mlx_save_writer$descriptor() { + return mlx_save_writer.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_save_writer(mlx_io_writer out_stream, const mlx_array a) + * } + */ + public static MethodHandle mlx_save_writer$handle() { + return mlx_save_writer.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_save_writer(mlx_io_writer out_stream, const mlx_array a) + * } + */ + public static MemorySegment mlx_save_writer$address() { + return mlx_save_writer.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_save_writer(mlx_io_writer out_stream, const mlx_array a) + * } + */ + public static int mlx_save_writer(MemorySegment out_stream, MemorySegment a) { + var mh$ = mlx_save_writer.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_save_writer", out_stream, a); + } + return (int)mh$.invokeExact(out_stream, a); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_save { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_save"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_save(const char *file, const mlx_array a) + * } + */ + public static FunctionDescriptor mlx_save$descriptor() { + return mlx_save.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_save(const char *file, const mlx_array a) + * } + */ + public static MethodHandle mlx_save$handle() { + return mlx_save.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_save(const char *file, const mlx_array a) + * } + */ + public static MemorySegment mlx_save$address() { + return mlx_save.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_save(const char *file, const mlx_array a) + * } + */ + public static int mlx_save(MemorySegment file, MemorySegment a) { + var mh$ = mlx_save.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_save", file, a); + } + return (int)mh$.invokeExact(file, a); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_save_safetensors_writer { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_io_writer_.layout(), + mlx_map_string_to_array_.layout(), + mlx_map_string_to_string_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_save_safetensors_writer"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_save_safetensors_writer(mlx_io_writer in_stream, const mlx_map_string_to_array param, const mlx_map_string_to_string metadata) + * } + */ + public static FunctionDescriptor mlx_save_safetensors_writer$descriptor() { + return mlx_save_safetensors_writer.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_save_safetensors_writer(mlx_io_writer in_stream, const mlx_map_string_to_array param, const mlx_map_string_to_string metadata) + * } + */ + public static MethodHandle mlx_save_safetensors_writer$handle() { + return mlx_save_safetensors_writer.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_save_safetensors_writer(mlx_io_writer in_stream, const mlx_map_string_to_array param, const mlx_map_string_to_string metadata) + * } + */ + public static MemorySegment mlx_save_safetensors_writer$address() { + return mlx_save_safetensors_writer.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_save_safetensors_writer(mlx_io_writer in_stream, const mlx_map_string_to_array param, const mlx_map_string_to_string metadata) + * } + */ + public static int mlx_save_safetensors_writer(MemorySegment in_stream, MemorySegment param, MemorySegment metadata) { + var mh$ = mlx_save_safetensors_writer.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_save_safetensors_writer", in_stream, param, metadata); + } + return (int)mh$.invokeExact(in_stream, param, metadata); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_save_safetensors { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_map_string_to_array_.layout(), + mlx_map_string_to_string_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_save_safetensors"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_save_safetensors(const char *file, const mlx_map_string_to_array param, const mlx_map_string_to_string metadata) + * } + */ + public static FunctionDescriptor mlx_save_safetensors$descriptor() { + return mlx_save_safetensors.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_save_safetensors(const char *file, const mlx_map_string_to_array param, const mlx_map_string_to_string metadata) + * } + */ + public static MethodHandle mlx_save_safetensors$handle() { + return mlx_save_safetensors.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_save_safetensors(const char *file, const mlx_map_string_to_array param, const mlx_map_string_to_string metadata) + * } + */ + public static MemorySegment mlx_save_safetensors$address() { + return mlx_save_safetensors.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_save_safetensors(const char *file, const mlx_map_string_to_array param, const mlx_map_string_to_string metadata) + * } + */ + public static int mlx_save_safetensors(MemorySegment file, MemorySegment param, MemorySegment metadata) { + var mh$ = mlx_save_safetensors.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_save_safetensors", file, param, metadata); + } + return (int)mh$.invokeExact(file, param, metadata); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_cholesky { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_cholesky"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_cholesky(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_cholesky$descriptor() { + return mlx_linalg_cholesky.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_cholesky(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_cholesky$handle() { + return mlx_linalg_cholesky.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_cholesky(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_cholesky$address() { + return mlx_linalg_cholesky.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_cholesky(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static int mlx_linalg_cholesky(MemorySegment res, MemorySegment a, boolean upper, MemorySegment s) { + var mh$ = mlx_linalg_cholesky.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_cholesky", res, a, upper, s); + } + return (int)mh$.invokeExact(res, a, upper, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_cholesky_inv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_cholesky_inv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_cholesky_inv(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_cholesky_inv$descriptor() { + return mlx_linalg_cholesky_inv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_cholesky_inv(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_cholesky_inv$handle() { + return mlx_linalg_cholesky_inv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_cholesky_inv(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_cholesky_inv$address() { + return mlx_linalg_cholesky_inv.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_cholesky_inv(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static int mlx_linalg_cholesky_inv(MemorySegment res, MemorySegment a, boolean upper, MemorySegment s) { + var mh$ = mlx_linalg_cholesky_inv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_cholesky_inv", res, a, upper, s); + } + return (int)mh$.invokeExact(res, a, upper, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_cross { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_cross"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_cross(mlx_array *res, const mlx_array a, const mlx_array b, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_cross$descriptor() { + return mlx_linalg_cross.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_cross(mlx_array *res, const mlx_array a, const mlx_array b, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_cross$handle() { + return mlx_linalg_cross.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_cross(mlx_array *res, const mlx_array a, const mlx_array b, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_cross$address() { + return mlx_linalg_cross.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_cross(mlx_array *res, const mlx_array a, const mlx_array b, int axis, const mlx_stream s) + * } + */ + public static int mlx_linalg_cross(MemorySegment res, MemorySegment a, MemorySegment b, int axis, MemorySegment s) { + var mh$ = mlx_linalg_cross.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_cross", res, a, b, axis, s); + } + return (int)mh$.invokeExact(res, a, b, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_eigh { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_eigh"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_eigh(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const char *UPLO, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_eigh$descriptor() { + return mlx_linalg_eigh.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_eigh(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const char *UPLO, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_eigh$handle() { + return mlx_linalg_eigh.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_eigh(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const char *UPLO, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_eigh$address() { + return mlx_linalg_eigh.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_eigh(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const char *UPLO, const mlx_stream s) + * } + */ + public static int mlx_linalg_eigh(MemorySegment res_0, MemorySegment res_1, MemorySegment a, MemorySegment UPLO, MemorySegment s) { + var mh$ = mlx_linalg_eigh.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_eigh", res_0, res_1, a, UPLO, s); + } + return (int)mh$.invokeExact(res_0, res_1, a, UPLO, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_eigvalsh { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_eigvalsh"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_eigvalsh(mlx_array *res, const mlx_array a, const char *UPLO, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_eigvalsh$descriptor() { + return mlx_linalg_eigvalsh.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_eigvalsh(mlx_array *res, const mlx_array a, const char *UPLO, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_eigvalsh$handle() { + return mlx_linalg_eigvalsh.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_eigvalsh(mlx_array *res, const mlx_array a, const char *UPLO, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_eigvalsh$address() { + return mlx_linalg_eigvalsh.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_eigvalsh(mlx_array *res, const mlx_array a, const char *UPLO, const mlx_stream s) + * } + */ + public static int mlx_linalg_eigvalsh(MemorySegment res, MemorySegment a, MemorySegment UPLO, MemorySegment s) { + var mh$ = mlx_linalg_eigvalsh.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_eigvalsh", res, a, UPLO, s); + } + return (int)mh$.invokeExact(res, a, UPLO, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_inv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_inv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_inv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_inv$descriptor() { + return mlx_linalg_inv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_inv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_inv$handle() { + return mlx_linalg_inv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_inv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_inv$address() { + return mlx_linalg_inv.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_inv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_linalg_inv(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_linalg_inv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_inv", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_lu { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_lu"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_lu(mlx_vector_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_lu$descriptor() { + return mlx_linalg_lu.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_lu(mlx_vector_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_lu$handle() { + return mlx_linalg_lu.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_lu(mlx_vector_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_lu$address() { + return mlx_linalg_lu.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_lu(mlx_vector_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_linalg_lu(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_linalg_lu.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_lu", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_lu_factor { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_lu_factor"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_lu_factor(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_lu_factor$descriptor() { + return mlx_linalg_lu_factor.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_lu_factor(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_lu_factor$handle() { + return mlx_linalg_lu_factor.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_lu_factor(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_lu_factor$address() { + return mlx_linalg_lu_factor.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_lu_factor(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_linalg_lu_factor(MemorySegment res_0, MemorySegment res_1, MemorySegment a, MemorySegment s) { + var mh$ = mlx_linalg_lu_factor.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_lu_factor", res_0, res_1, a, s); + } + return (int)mh$.invokeExact(res_0, res_1, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_norm { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_DOUBLE, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_norm"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_norm(mlx_array *res, const mlx_array a, double ord, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_norm$descriptor() { + return mlx_linalg_norm.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_norm(mlx_array *res, const mlx_array a, double ord, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_norm$handle() { + return mlx_linalg_norm.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_norm(mlx_array *res, const mlx_array a, double ord, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_norm$address() { + return mlx_linalg_norm.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_norm(mlx_array *res, const mlx_array a, double ord, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_linalg_norm(MemorySegment res, MemorySegment a, double ord, MemorySegment axis, long axis_num, boolean keepdims, MemorySegment s) { + var mh$ = mlx_linalg_norm.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_norm", res, a, ord, axis, axis_num, keepdims, s); + } + return (int)mh$.invokeExact(res, a, ord, axis, axis_num, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_norm_matrix { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_norm_matrix"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_norm_matrix(mlx_array *res, const mlx_array a, const char *ord, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_norm_matrix$descriptor() { + return mlx_linalg_norm_matrix.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_norm_matrix(mlx_array *res, const mlx_array a, const char *ord, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_norm_matrix$handle() { + return mlx_linalg_norm_matrix.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_norm_matrix(mlx_array *res, const mlx_array a, const char *ord, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_norm_matrix$address() { + return mlx_linalg_norm_matrix.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_norm_matrix(mlx_array *res, const mlx_array a, const char *ord, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_linalg_norm_matrix(MemorySegment res, MemorySegment a, MemorySegment ord, MemorySegment axis, long axis_num, boolean keepdims, MemorySegment s) { + var mh$ = mlx_linalg_norm_matrix.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_norm_matrix", res, a, ord, axis, axis_num, keepdims, s); + } + return (int)mh$.invokeExact(res, a, ord, axis, axis_num, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_norm_l2 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_norm_l2"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_norm_l2(mlx_array *res, const mlx_array a, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_norm_l2$descriptor() { + return mlx_linalg_norm_l2.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_norm_l2(mlx_array *res, const mlx_array a, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_norm_l2$handle() { + return mlx_linalg_norm_l2.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_norm_l2(mlx_array *res, const mlx_array a, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_norm_l2$address() { + return mlx_linalg_norm_l2.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_norm_l2(mlx_array *res, const mlx_array a, const int *axis, size_t axis_num, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_linalg_norm_l2(MemorySegment res, MemorySegment a, MemorySegment axis, long axis_num, boolean keepdims, MemorySegment s) { + var mh$ = mlx_linalg_norm_l2.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_norm_l2", res, a, axis, axis_num, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axis, axis_num, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_pinv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_pinv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_pinv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_pinv$descriptor() { + return mlx_linalg_pinv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_pinv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_pinv$handle() { + return mlx_linalg_pinv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_pinv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_pinv$address() { + return mlx_linalg_pinv.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_pinv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_linalg_pinv(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_linalg_pinv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_pinv", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_qr { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_qr"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_qr(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_qr$descriptor() { + return mlx_linalg_qr.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_qr(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_qr$handle() { + return mlx_linalg_qr.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_qr(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_qr$address() { + return mlx_linalg_qr.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_qr(mlx_array *res_0, mlx_array *res_1, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_linalg_qr(MemorySegment res_0, MemorySegment res_1, MemorySegment a, MemorySegment s) { + var mh$ = mlx_linalg_qr.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_qr", res_0, res_1, a, s); + } + return (int)mh$.invokeExact(res_0, res_1, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_solve { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_solve"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_solve(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_solve$descriptor() { + return mlx_linalg_solve.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_solve(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_solve$handle() { + return mlx_linalg_solve.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_solve(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_solve$address() { + return mlx_linalg_solve.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_solve(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_linalg_solve(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_linalg_solve.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_solve", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_solve_triangular { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_solve_triangular"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_solve_triangular(mlx_array *res, const mlx_array a, const mlx_array b, bool upper, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_solve_triangular$descriptor() { + return mlx_linalg_solve_triangular.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_solve_triangular(mlx_array *res, const mlx_array a, const mlx_array b, bool upper, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_solve_triangular$handle() { + return mlx_linalg_solve_triangular.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_solve_triangular(mlx_array *res, const mlx_array a, const mlx_array b, bool upper, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_solve_triangular$address() { + return mlx_linalg_solve_triangular.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_solve_triangular(mlx_array *res, const mlx_array a, const mlx_array b, bool upper, const mlx_stream s) + * } + */ + public static int mlx_linalg_solve_triangular(MemorySegment res, MemorySegment a, MemorySegment b, boolean upper, MemorySegment s) { + var mh$ = mlx_linalg_solve_triangular.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_solve_triangular", res, a, b, upper, s); + } + return (int)mh$.invokeExact(res, a, b, upper, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_svd { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_svd"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_svd(mlx_vector_array *res, const mlx_array a, bool compute_uv, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_svd$descriptor() { + return mlx_linalg_svd.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_svd(mlx_vector_array *res, const mlx_array a, bool compute_uv, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_svd$handle() { + return mlx_linalg_svd.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_svd(mlx_vector_array *res, const mlx_array a, bool compute_uv, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_svd$address() { + return mlx_linalg_svd.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_svd(mlx_vector_array *res, const mlx_array a, bool compute_uv, const mlx_stream s) + * } + */ + public static int mlx_linalg_svd(MemorySegment res, MemorySegment a, boolean compute_uv, MemorySegment s) { + var mh$ = mlx_linalg_svd.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_svd", res, a, compute_uv, s); + } + return (int)mh$.invokeExact(res, a, compute_uv, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linalg_tri_inv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linalg_tri_inv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linalg_tri_inv(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linalg_tri_inv$descriptor() { + return mlx_linalg_tri_inv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linalg_tri_inv(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linalg_tri_inv$handle() { + return mlx_linalg_tri_inv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linalg_tri_inv(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linalg_tri_inv$address() { + return mlx_linalg_tri_inv.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linalg_tri_inv(mlx_array *res, const mlx_array a, bool upper, const mlx_stream s) + * } + */ + public static int mlx_linalg_tri_inv(MemorySegment res, MemorySegment a, boolean upper, MemorySegment s) { + var mh$ = mlx_linalg_tri_inv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linalg_tri_inv", res, a, upper, s); + } + return (int)mh$.invokeExact(res, a, upper, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int mlx_clear_cache() + * } + */ + public static class mlx_clear_cache { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_clear_cache"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_clear_cache(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int mlx_clear_cache() + * } + */ + public static mlx_clear_cache makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_clear_cache(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_clear_cache", x0); + } + return (int) spreader.invokeExact(x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_get_active_memory { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_get_active_memory"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_get_active_memory(size_t *res) + * } + */ + public static FunctionDescriptor mlx_get_active_memory$descriptor() { + return mlx_get_active_memory.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_get_active_memory(size_t *res) + * } + */ + public static MethodHandle mlx_get_active_memory$handle() { + return mlx_get_active_memory.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_get_active_memory(size_t *res) + * } + */ + public static MemorySegment mlx_get_active_memory$address() { + return mlx_get_active_memory.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_get_active_memory(size_t *res) + * } + */ + public static int mlx_get_active_memory(MemorySegment res) { + var mh$ = mlx_get_active_memory.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_get_active_memory", res); + } + return (int)mh$.invokeExact(res); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_get_cache_memory { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_get_cache_memory"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_get_cache_memory(size_t *res) + * } + */ + public static FunctionDescriptor mlx_get_cache_memory$descriptor() { + return mlx_get_cache_memory.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_get_cache_memory(size_t *res) + * } + */ + public static MethodHandle mlx_get_cache_memory$handle() { + return mlx_get_cache_memory.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_get_cache_memory(size_t *res) + * } + */ + public static MemorySegment mlx_get_cache_memory$address() { + return mlx_get_cache_memory.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_get_cache_memory(size_t *res) + * } + */ + public static int mlx_get_cache_memory(MemorySegment res) { + var mh$ = mlx_get_cache_memory.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_get_cache_memory", res); + } + return (int)mh$.invokeExact(res); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_get_memory_limit { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_get_memory_limit"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_get_memory_limit(size_t *res) + * } + */ + public static FunctionDescriptor mlx_get_memory_limit$descriptor() { + return mlx_get_memory_limit.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_get_memory_limit(size_t *res) + * } + */ + public static MethodHandle mlx_get_memory_limit$handle() { + return mlx_get_memory_limit.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_get_memory_limit(size_t *res) + * } + */ + public static MemorySegment mlx_get_memory_limit$address() { + return mlx_get_memory_limit.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_get_memory_limit(size_t *res) + * } + */ + public static int mlx_get_memory_limit(MemorySegment res) { + var mh$ = mlx_get_memory_limit.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_get_memory_limit", res); + } + return (int)mh$.invokeExact(res); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_get_peak_memory { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_get_peak_memory"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_get_peak_memory(size_t *res) + * } + */ + public static FunctionDescriptor mlx_get_peak_memory$descriptor() { + return mlx_get_peak_memory.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_get_peak_memory(size_t *res) + * } + */ + public static MethodHandle mlx_get_peak_memory$handle() { + return mlx_get_peak_memory.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_get_peak_memory(size_t *res) + * } + */ + public static MemorySegment mlx_get_peak_memory$address() { + return mlx_get_peak_memory.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_get_peak_memory(size_t *res) + * } + */ + public static int mlx_get_peak_memory(MemorySegment res) { + var mh$ = mlx_get_peak_memory.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_get_peak_memory", res); + } + return (int)mh$.invokeExact(res); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int mlx_reset_peak_memory() + * } + */ + public static class mlx_reset_peak_memory { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_reset_peak_memory"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_reset_peak_memory(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int mlx_reset_peak_memory() + * } + */ + public static mlx_reset_peak_memory makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_reset_peak_memory(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_reset_peak_memory", x0); + } + return (int) spreader.invokeExact(x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_set_cache_limit { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_set_cache_limit"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_set_cache_limit(size_t *res, size_t limit) + * } + */ + public static FunctionDescriptor mlx_set_cache_limit$descriptor() { + return mlx_set_cache_limit.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_set_cache_limit(size_t *res, size_t limit) + * } + */ + public static MethodHandle mlx_set_cache_limit$handle() { + return mlx_set_cache_limit.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_set_cache_limit(size_t *res, size_t limit) + * } + */ + public static MemorySegment mlx_set_cache_limit$address() { + return mlx_set_cache_limit.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_set_cache_limit(size_t *res, size_t limit) + * } + */ + public static int mlx_set_cache_limit(MemorySegment res, long limit) { + var mh$ = mlx_set_cache_limit.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_set_cache_limit", res, limit); + } + return (int)mh$.invokeExact(res, limit); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_set_memory_limit { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_set_memory_limit"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_set_memory_limit(size_t *res, size_t limit) + * } + */ + public static FunctionDescriptor mlx_set_memory_limit$descriptor() { + return mlx_set_memory_limit.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_set_memory_limit(size_t *res, size_t limit) + * } + */ + public static MethodHandle mlx_set_memory_limit$handle() { + return mlx_set_memory_limit.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_set_memory_limit(size_t *res, size_t limit) + * } + */ + public static MemorySegment mlx_set_memory_limit$address() { + return mlx_set_memory_limit.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_set_memory_limit(size_t *res, size_t limit) + * } + */ + public static int mlx_set_memory_limit(MemorySegment res, long limit) { + var mh$ = mlx_set_memory_limit.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_set_memory_limit", res, limit); + } + return (int)mh$.invokeExact(res, limit); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_set_wired_limit { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_set_wired_limit"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_set_wired_limit(size_t *res, size_t limit) + * } + */ + public static FunctionDescriptor mlx_set_wired_limit$descriptor() { + return mlx_set_wired_limit.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_set_wired_limit(size_t *res, size_t limit) + * } + */ + public static MethodHandle mlx_set_wired_limit$handle() { + return mlx_set_wired_limit.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_set_wired_limit(size_t *res, size_t limit) + * } + */ + public static MemorySegment mlx_set_wired_limit$address() { + return mlx_set_wired_limit.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_set_wired_limit(size_t *res, size_t limit) + * } + */ + public static int mlx_set_wired_limit(MemorySegment res, long limit) { + var mh$ = mlx_set_wired_limit.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_set_wired_limit", res, limit); + } + return (int)mh$.invokeExact(res, limit); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_metal_device_info_t mlx_metal_device_info() + * } + */ + public static class mlx_metal_device_info { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_metal_device_info_t_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_metal_device_info"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_metal_device_info(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_metal_device_info_t mlx_metal_device_info() + * } + */ + public static mlx_metal_device_info makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_metal_device_info(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_metal_device_info", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_metal_is_available { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_metal_is_available"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_metal_is_available(bool *res) + * } + */ + public static FunctionDescriptor mlx_metal_is_available$descriptor() { + return mlx_metal_is_available.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_metal_is_available(bool *res) + * } + */ + public static MethodHandle mlx_metal_is_available$handle() { + return mlx_metal_is_available.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_metal_is_available(bool *res) + * } + */ + public static MemorySegment mlx_metal_is_available$address() { + return mlx_metal_is_available.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_metal_is_available(bool *res) + * } + */ + public static int mlx_metal_is_available(MemorySegment res) { + var mh$ = mlx_metal_is_available.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_metal_is_available", res); + } + return (int)mh$.invokeExact(res); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_metal_start_capture { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_metal_start_capture"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_metal_start_capture(const char *path) + * } + */ + public static FunctionDescriptor mlx_metal_start_capture$descriptor() { + return mlx_metal_start_capture.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_metal_start_capture(const char *path) + * } + */ + public static MethodHandle mlx_metal_start_capture$handle() { + return mlx_metal_start_capture.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_metal_start_capture(const char *path) + * } + */ + public static MemorySegment mlx_metal_start_capture$address() { + return mlx_metal_start_capture.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_metal_start_capture(const char *path) + * } + */ + public static int mlx_metal_start_capture(MemorySegment path) { + var mh$ = mlx_metal_start_capture.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_metal_start_capture", path); + } + return (int)mh$.invokeExact(path); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * int mlx_metal_stop_capture() + * } + */ + public static class mlx_metal_stop_capture { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_h.C_INT ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_metal_stop_capture"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_metal_stop_capture(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * int mlx_metal_stop_capture() + * } + */ + public static mlx_metal_stop_capture makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_metal_stop_capture(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public int apply(Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_metal_stop_capture", x0); + } + return (int) spreader.invokeExact(x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_abs { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_abs"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_abs(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_abs$descriptor() { + return mlx_abs.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_abs(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_abs$handle() { + return mlx_abs.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_abs(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_abs$address() { + return mlx_abs.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_abs(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_abs(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_abs.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_abs", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_add { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_add"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_add(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_add$descriptor() { + return mlx_add.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_add(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_add$handle() { + return mlx_add.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_add(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_add$address() { + return mlx_add.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_add(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_add(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_add.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_add", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_addmm { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_FLOAT, + mlx_h.C_FLOAT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_addmm"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_addmm(mlx_array *res, const mlx_array c, const mlx_array a, const mlx_array b, float alpha, float beta, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_addmm$descriptor() { + return mlx_addmm.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_addmm(mlx_array *res, const mlx_array c, const mlx_array a, const mlx_array b, float alpha, float beta, const mlx_stream s) + * } + */ + public static MethodHandle mlx_addmm$handle() { + return mlx_addmm.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_addmm(mlx_array *res, const mlx_array c, const mlx_array a, const mlx_array b, float alpha, float beta, const mlx_stream s) + * } + */ + public static MemorySegment mlx_addmm$address() { + return mlx_addmm.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_addmm(mlx_array *res, const mlx_array c, const mlx_array a, const mlx_array b, float alpha, float beta, const mlx_stream s) + * } + */ + public static int mlx_addmm(MemorySegment res, MemorySegment c, MemorySegment a, MemorySegment b, float alpha, float beta, MemorySegment s) { + var mh$ = mlx_addmm.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_addmm", res, c, a, b, alpha, beta, s); + } + return (int)mh$.invokeExact(res, c, a, b, alpha, beta, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_all_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_all_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_all_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_all_axes$descriptor() { + return mlx_all_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_all_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_all_axes$handle() { + return mlx_all_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_all_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_all_axes$address() { + return mlx_all_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_all_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_all_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean keepdims, MemorySegment s) { + var mh$ = mlx_all_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_all_axes", res, a, axes, axes_num, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_all_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_all_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_all_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_all_axis$descriptor() { + return mlx_all_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_all_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_all_axis$handle() { + return mlx_all_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_all_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_all_axis$address() { + return mlx_all_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_all_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_all_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, MemorySegment s) { + var mh$ = mlx_all_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_all_axis", res, a, axis, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_all { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_all"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_all(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_all$descriptor() { + return mlx_all.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_all(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_all$handle() { + return mlx_all.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_all(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_all$address() { + return mlx_all.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_all(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_all(MemorySegment res, MemorySegment a, boolean keepdims, MemorySegment s) { + var mh$ = mlx_all.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_all", res, a, keepdims, s); + } + return (int)mh$.invokeExact(res, a, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_allclose { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_DOUBLE, + mlx_h.C_DOUBLE, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_allclose"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_allclose(mlx_array *res, const mlx_array a, const mlx_array b, double rtol, double atol, bool equal_nan, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_allclose$descriptor() { + return mlx_allclose.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_allclose(mlx_array *res, const mlx_array a, const mlx_array b, double rtol, double atol, bool equal_nan, const mlx_stream s) + * } + */ + public static MethodHandle mlx_allclose$handle() { + return mlx_allclose.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_allclose(mlx_array *res, const mlx_array a, const mlx_array b, double rtol, double atol, bool equal_nan, const mlx_stream s) + * } + */ + public static MemorySegment mlx_allclose$address() { + return mlx_allclose.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_allclose(mlx_array *res, const mlx_array a, const mlx_array b, double rtol, double atol, bool equal_nan, const mlx_stream s) + * } + */ + public static int mlx_allclose(MemorySegment res, MemorySegment a, MemorySegment b, double rtol, double atol, boolean equal_nan, MemorySegment s) { + var mh$ = mlx_allclose.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_allclose", res, a, b, rtol, atol, equal_nan, s); + } + return (int)mh$.invokeExact(res, a, b, rtol, atol, equal_nan, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_any_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_any_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_any_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_any_axes$descriptor() { + return mlx_any_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_any_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_any_axes$handle() { + return mlx_any_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_any_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_any_axes$address() { + return mlx_any_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_any_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_any_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean keepdims, MemorySegment s) { + var mh$ = mlx_any_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_any_axes", res, a, axes, axes_num, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_any_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_any_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_any_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_any_axis$descriptor() { + return mlx_any_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_any_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_any_axis$handle() { + return mlx_any_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_any_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_any_axis$address() { + return mlx_any_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_any_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_any_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, MemorySegment s) { + var mh$ = mlx_any_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_any_axis", res, a, axis, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_any { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_any"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_any(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_any$descriptor() { + return mlx_any.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_any(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_any$handle() { + return mlx_any.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_any(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_any$address() { + return mlx_any.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_any(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_any(MemorySegment res, MemorySegment a, boolean keepdims, MemorySegment s) { + var mh$ = mlx_any.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_any", res, a, keepdims, s); + } + return (int)mh$.invokeExact(res, a, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_arange { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_DOUBLE, + mlx_h.C_DOUBLE, + mlx_h.C_DOUBLE, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_arange"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_arange(mlx_array *res, double start, double stop, double step, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_arange$descriptor() { + return mlx_arange.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_arange(mlx_array *res, double start, double stop, double step, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MethodHandle mlx_arange$handle() { + return mlx_arange.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_arange(mlx_array *res, double start, double stop, double step, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MemorySegment mlx_arange$address() { + return mlx_arange.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_arange(mlx_array *res, double start, double stop, double step, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static int mlx_arange(MemorySegment res, double start, double stop, double step, int dtype, MemorySegment s) { + var mh$ = mlx_arange.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_arange", res, start, stop, step, dtype, s); + } + return (int)mh$.invokeExact(res, start, stop, step, dtype, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_arccos { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_arccos"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_arccos(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_arccos$descriptor() { + return mlx_arccos.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_arccos(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_arccos$handle() { + return mlx_arccos.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_arccos(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_arccos$address() { + return mlx_arccos.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_arccos(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_arccos(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_arccos.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_arccos", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_arccosh { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_arccosh"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_arccosh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_arccosh$descriptor() { + return mlx_arccosh.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_arccosh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_arccosh$handle() { + return mlx_arccosh.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_arccosh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_arccosh$address() { + return mlx_arccosh.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_arccosh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_arccosh(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_arccosh.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_arccosh", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_arcsin { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_arcsin"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_arcsin(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_arcsin$descriptor() { + return mlx_arcsin.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_arcsin(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_arcsin$handle() { + return mlx_arcsin.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_arcsin(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_arcsin$address() { + return mlx_arcsin.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_arcsin(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_arcsin(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_arcsin.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_arcsin", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_arcsinh { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_arcsinh"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_arcsinh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_arcsinh$descriptor() { + return mlx_arcsinh.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_arcsinh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_arcsinh$handle() { + return mlx_arcsinh.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_arcsinh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_arcsinh$address() { + return mlx_arcsinh.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_arcsinh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_arcsinh(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_arcsinh.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_arcsinh", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_arctan { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_arctan"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_arctan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_arctan$descriptor() { + return mlx_arctan.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_arctan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_arctan$handle() { + return mlx_arctan.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_arctan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_arctan$address() { + return mlx_arctan.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_arctan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_arctan(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_arctan.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_arctan", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_arctan2 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_arctan2"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_arctan2(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_arctan2$descriptor() { + return mlx_arctan2.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_arctan2(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_arctan2$handle() { + return mlx_arctan2.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_arctan2(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_arctan2$address() { + return mlx_arctan2.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_arctan2(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_arctan2(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_arctan2.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_arctan2", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_arctanh { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_arctanh"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_arctanh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_arctanh$descriptor() { + return mlx_arctanh.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_arctanh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_arctanh$handle() { + return mlx_arctanh.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_arctanh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_arctanh$address() { + return mlx_arctanh.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_arctanh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_arctanh(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_arctanh.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_arctanh", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_argmax_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_argmax_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_argmax_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_argmax_axis$descriptor() { + return mlx_argmax_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_argmax_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_argmax_axis$handle() { + return mlx_argmax_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_argmax_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_argmax_axis$address() { + return mlx_argmax_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_argmax_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_argmax_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, MemorySegment s) { + var mh$ = mlx_argmax_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_argmax_axis", res, a, axis, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_argmax { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_argmax"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_argmax(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_argmax$descriptor() { + return mlx_argmax.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_argmax(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_argmax$handle() { + return mlx_argmax.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_argmax(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_argmax$address() { + return mlx_argmax.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_argmax(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_argmax(MemorySegment res, MemorySegment a, boolean keepdims, MemorySegment s) { + var mh$ = mlx_argmax.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_argmax", res, a, keepdims, s); + } + return (int)mh$.invokeExact(res, a, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_argmin_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_argmin_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_argmin_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_argmin_axis$descriptor() { + return mlx_argmin_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_argmin_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_argmin_axis$handle() { + return mlx_argmin_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_argmin_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_argmin_axis$address() { + return mlx_argmin_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_argmin_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_argmin_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, MemorySegment s) { + var mh$ = mlx_argmin_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_argmin_axis", res, a, axis, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_argmin { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_argmin"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_argmin(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_argmin$descriptor() { + return mlx_argmin.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_argmin(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_argmin$handle() { + return mlx_argmin.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_argmin(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_argmin$address() { + return mlx_argmin.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_argmin(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_argmin(MemorySegment res, MemorySegment a, boolean keepdims, MemorySegment s) { + var mh$ = mlx_argmin.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_argmin", res, a, keepdims, s); + } + return (int)mh$.invokeExact(res, a, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_argpartition_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_argpartition_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_argpartition_axis(mlx_array *res, const mlx_array a, int kth, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_argpartition_axis$descriptor() { + return mlx_argpartition_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_argpartition_axis(mlx_array *res, const mlx_array a, int kth, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_argpartition_axis$handle() { + return mlx_argpartition_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_argpartition_axis(mlx_array *res, const mlx_array a, int kth, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_argpartition_axis$address() { + return mlx_argpartition_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_argpartition_axis(mlx_array *res, const mlx_array a, int kth, int axis, const mlx_stream s) + * } + */ + public static int mlx_argpartition_axis(MemorySegment res, MemorySegment a, int kth, int axis, MemorySegment s) { + var mh$ = mlx_argpartition_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_argpartition_axis", res, a, kth, axis, s); + } + return (int)mh$.invokeExact(res, a, kth, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_argpartition { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_argpartition"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_argpartition(mlx_array *res, const mlx_array a, int kth, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_argpartition$descriptor() { + return mlx_argpartition.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_argpartition(mlx_array *res, const mlx_array a, int kth, const mlx_stream s) + * } + */ + public static MethodHandle mlx_argpartition$handle() { + return mlx_argpartition.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_argpartition(mlx_array *res, const mlx_array a, int kth, const mlx_stream s) + * } + */ + public static MemorySegment mlx_argpartition$address() { + return mlx_argpartition.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_argpartition(mlx_array *res, const mlx_array a, int kth, const mlx_stream s) + * } + */ + public static int mlx_argpartition(MemorySegment res, MemorySegment a, int kth, MemorySegment s) { + var mh$ = mlx_argpartition.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_argpartition", res, a, kth, s); + } + return (int)mh$.invokeExact(res, a, kth, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_argsort_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_argsort_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_argsort_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_argsort_axis$descriptor() { + return mlx_argsort_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_argsort_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_argsort_axis$handle() { + return mlx_argsort_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_argsort_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_argsort_axis$address() { + return mlx_argsort_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_argsort_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static int mlx_argsort_axis(MemorySegment res, MemorySegment a, int axis, MemorySegment s) { + var mh$ = mlx_argsort_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_argsort_axis", res, a, axis, s); + } + return (int)mh$.invokeExact(res, a, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_argsort { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_argsort"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_argsort(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_argsort$descriptor() { + return mlx_argsort.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_argsort(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_argsort$handle() { + return mlx_argsort.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_argsort(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_argsort$address() { + return mlx_argsort.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_argsort(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_argsort(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_argsort.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_argsort", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_equal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_equal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_equal(mlx_array *res, const mlx_array a, const mlx_array b, bool equal_nan, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_array_equal$descriptor() { + return mlx_array_equal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_equal(mlx_array *res, const mlx_array a, const mlx_array b, bool equal_nan, const mlx_stream s) + * } + */ + public static MethodHandle mlx_array_equal$handle() { + return mlx_array_equal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_equal(mlx_array *res, const mlx_array a, const mlx_array b, bool equal_nan, const mlx_stream s) + * } + */ + public static MemorySegment mlx_array_equal$address() { + return mlx_array_equal.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_equal(mlx_array *res, const mlx_array a, const mlx_array b, bool equal_nan, const mlx_stream s) + * } + */ + public static int mlx_array_equal(MemorySegment res, MemorySegment a, MemorySegment b, boolean equal_nan, MemorySegment s) { + var mh$ = mlx_array_equal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_equal", res, a, b, equal_nan, s); + } + return (int)mh$.invokeExact(res, a, b, equal_nan, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_as_strided { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_as_strided"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_as_strided(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const int64_t *strides, size_t strides_num, size_t offset, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_as_strided$descriptor() { + return mlx_as_strided.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_as_strided(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const int64_t *strides, size_t strides_num, size_t offset, const mlx_stream s) + * } + */ + public static MethodHandle mlx_as_strided$handle() { + return mlx_as_strided.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_as_strided(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const int64_t *strides, size_t strides_num, size_t offset, const mlx_stream s) + * } + */ + public static MemorySegment mlx_as_strided$address() { + return mlx_as_strided.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_as_strided(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const int64_t *strides, size_t strides_num, size_t offset, const mlx_stream s) + * } + */ + public static int mlx_as_strided(MemorySegment res, MemorySegment a, MemorySegment shape, long shape_num, MemorySegment strides, long strides_num, long offset, MemorySegment s) { + var mh$ = mlx_as_strided.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_as_strided", res, a, shape, shape_num, strides, strides_num, offset, s); + } + return (int)mh$.invokeExact(res, a, shape, shape_num, strides, strides_num, offset, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_astype { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_astype"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_astype(mlx_array *res, const mlx_array a, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_astype$descriptor() { + return mlx_astype.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_astype(mlx_array *res, const mlx_array a, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MethodHandle mlx_astype$handle() { + return mlx_astype.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_astype(mlx_array *res, const mlx_array a, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MemorySegment mlx_astype$address() { + return mlx_astype.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_astype(mlx_array *res, const mlx_array a, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static int mlx_astype(MemorySegment res, MemorySegment a, int dtype, MemorySegment s) { + var mh$ = mlx_astype.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_astype", res, a, dtype, s); + } + return (int)mh$.invokeExact(res, a, dtype, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_atleast_1d { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_atleast_1d"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_atleast_1d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_atleast_1d$descriptor() { + return mlx_atleast_1d.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_atleast_1d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_atleast_1d$handle() { + return mlx_atleast_1d.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_atleast_1d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_atleast_1d$address() { + return mlx_atleast_1d.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_atleast_1d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_atleast_1d(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_atleast_1d.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_atleast_1d", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_atleast_2d { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_atleast_2d"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_atleast_2d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_atleast_2d$descriptor() { + return mlx_atleast_2d.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_atleast_2d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_atleast_2d$handle() { + return mlx_atleast_2d.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_atleast_2d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_atleast_2d$address() { + return mlx_atleast_2d.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_atleast_2d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_atleast_2d(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_atleast_2d.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_atleast_2d", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_atleast_3d { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_atleast_3d"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_atleast_3d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_atleast_3d$descriptor() { + return mlx_atleast_3d.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_atleast_3d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_atleast_3d$handle() { + return mlx_atleast_3d.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_atleast_3d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_atleast_3d$address() { + return mlx_atleast_3d.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_atleast_3d(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_atleast_3d(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_atleast_3d.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_atleast_3d", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_bitwise_and { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_bitwise_and"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_bitwise_and(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_bitwise_and$descriptor() { + return mlx_bitwise_and.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_bitwise_and(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_bitwise_and$handle() { + return mlx_bitwise_and.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_bitwise_and(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_bitwise_and$address() { + return mlx_bitwise_and.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_bitwise_and(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_bitwise_and(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_bitwise_and.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_bitwise_and", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_bitwise_invert { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_bitwise_invert"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_bitwise_invert(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_bitwise_invert$descriptor() { + return mlx_bitwise_invert.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_bitwise_invert(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_bitwise_invert$handle() { + return mlx_bitwise_invert.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_bitwise_invert(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_bitwise_invert$address() { + return mlx_bitwise_invert.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_bitwise_invert(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_bitwise_invert(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_bitwise_invert.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_bitwise_invert", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_bitwise_or { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_bitwise_or"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_bitwise_or(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_bitwise_or$descriptor() { + return mlx_bitwise_or.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_bitwise_or(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_bitwise_or$handle() { + return mlx_bitwise_or.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_bitwise_or(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_bitwise_or$address() { + return mlx_bitwise_or.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_bitwise_or(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_bitwise_or(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_bitwise_or.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_bitwise_or", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_bitwise_xor { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_bitwise_xor"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_bitwise_xor(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_bitwise_xor$descriptor() { + return mlx_bitwise_xor.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_bitwise_xor(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_bitwise_xor$handle() { + return mlx_bitwise_xor.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_bitwise_xor(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_bitwise_xor$address() { + return mlx_bitwise_xor.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_bitwise_xor(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_bitwise_xor(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_bitwise_xor.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_bitwise_xor", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_block_masked_mm { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_block_masked_mm"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_block_masked_mm(mlx_array *res, const mlx_array a, const mlx_array b, int block_size, const mlx_array mask_out, const mlx_array mask_lhs, const mlx_array mask_rhs, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_block_masked_mm$descriptor() { + return mlx_block_masked_mm.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_block_masked_mm(mlx_array *res, const mlx_array a, const mlx_array b, int block_size, const mlx_array mask_out, const mlx_array mask_lhs, const mlx_array mask_rhs, const mlx_stream s) + * } + */ + public static MethodHandle mlx_block_masked_mm$handle() { + return mlx_block_masked_mm.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_block_masked_mm(mlx_array *res, const mlx_array a, const mlx_array b, int block_size, const mlx_array mask_out, const mlx_array mask_lhs, const mlx_array mask_rhs, const mlx_stream s) + * } + */ + public static MemorySegment mlx_block_masked_mm$address() { + return mlx_block_masked_mm.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_block_masked_mm(mlx_array *res, const mlx_array a, const mlx_array b, int block_size, const mlx_array mask_out, const mlx_array mask_lhs, const mlx_array mask_rhs, const mlx_stream s) + * } + */ + public static int mlx_block_masked_mm(MemorySegment res, MemorySegment a, MemorySegment b, int block_size, MemorySegment mask_out, MemorySegment mask_lhs, MemorySegment mask_rhs, MemorySegment s) { + var mh$ = mlx_block_masked_mm.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_block_masked_mm", res, a, b, block_size, mask_out, mask_lhs, mask_rhs, s); + } + return (int)mh$.invokeExact(res, a, b, block_size, mask_out, mask_lhs, mask_rhs, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_broadcast_arrays { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_broadcast_arrays"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_broadcast_arrays(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_broadcast_arrays$descriptor() { + return mlx_broadcast_arrays.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_broadcast_arrays(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_stream s) + * } + */ + public static MethodHandle mlx_broadcast_arrays$handle() { + return mlx_broadcast_arrays.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_broadcast_arrays(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_stream s) + * } + */ + public static MemorySegment mlx_broadcast_arrays$address() { + return mlx_broadcast_arrays.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_broadcast_arrays(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_stream s) + * } + */ + public static int mlx_broadcast_arrays(MemorySegment res, MemorySegment inputs, MemorySegment s) { + var mh$ = mlx_broadcast_arrays.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_broadcast_arrays", res, inputs, s); + } + return (int)mh$.invokeExact(res, inputs, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_broadcast_to { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_broadcast_to"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_broadcast_to(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_broadcast_to$descriptor() { + return mlx_broadcast_to.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_broadcast_to(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_broadcast_to$handle() { + return mlx_broadcast_to.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_broadcast_to(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_broadcast_to$address() { + return mlx_broadcast_to.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_broadcast_to(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static int mlx_broadcast_to(MemorySegment res, MemorySegment a, MemorySegment shape, long shape_num, MemorySegment s) { + var mh$ = mlx_broadcast_to.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_broadcast_to", res, a, shape, shape_num, s); + } + return (int)mh$.invokeExact(res, a, shape, shape_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_ceil { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_ceil"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_ceil(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_ceil$descriptor() { + return mlx_ceil.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_ceil(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_ceil$handle() { + return mlx_ceil.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_ceil(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_ceil$address() { + return mlx_ceil.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_ceil(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_ceil(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_ceil.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_ceil", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_clip { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_clip"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_clip(mlx_array *res, const mlx_array a, const mlx_array a_min, const mlx_array a_max, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_clip$descriptor() { + return mlx_clip.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_clip(mlx_array *res, const mlx_array a, const mlx_array a_min, const mlx_array a_max, const mlx_stream s) + * } + */ + public static MethodHandle mlx_clip$handle() { + return mlx_clip.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_clip(mlx_array *res, const mlx_array a, const mlx_array a_min, const mlx_array a_max, const mlx_stream s) + * } + */ + public static MemorySegment mlx_clip$address() { + return mlx_clip.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_clip(mlx_array *res, const mlx_array a, const mlx_array a_min, const mlx_array a_max, const mlx_stream s) + * } + */ + public static int mlx_clip(MemorySegment res, MemorySegment a, MemorySegment a_min, MemorySegment a_max, MemorySegment s) { + var mh$ = mlx_clip.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_clip", res, a, a_min, a_max, s); + } + return (int)mh$.invokeExact(res, a, a_min, a_max, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_concatenate_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_concatenate_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_concatenate_axis(mlx_array *res, const mlx_vector_array arrays, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_concatenate_axis$descriptor() { + return mlx_concatenate_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_concatenate_axis(mlx_array *res, const mlx_vector_array arrays, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_concatenate_axis$handle() { + return mlx_concatenate_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_concatenate_axis(mlx_array *res, const mlx_vector_array arrays, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_concatenate_axis$address() { + return mlx_concatenate_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_concatenate_axis(mlx_array *res, const mlx_vector_array arrays, int axis, const mlx_stream s) + * } + */ + public static int mlx_concatenate_axis(MemorySegment res, MemorySegment arrays, int axis, MemorySegment s) { + var mh$ = mlx_concatenate_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_concatenate_axis", res, arrays, axis, s); + } + return (int)mh$.invokeExact(res, arrays, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_concatenate { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_concatenate"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_concatenate(mlx_array *res, const mlx_vector_array arrays, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_concatenate$descriptor() { + return mlx_concatenate.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_concatenate(mlx_array *res, const mlx_vector_array arrays, const mlx_stream s) + * } + */ + public static MethodHandle mlx_concatenate$handle() { + return mlx_concatenate.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_concatenate(mlx_array *res, const mlx_vector_array arrays, const mlx_stream s) + * } + */ + public static MemorySegment mlx_concatenate$address() { + return mlx_concatenate.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_concatenate(mlx_array *res, const mlx_vector_array arrays, const mlx_stream s) + * } + */ + public static int mlx_concatenate(MemorySegment res, MemorySegment arrays, MemorySegment s) { + var mh$ = mlx_concatenate.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_concatenate", res, arrays, s); + } + return (int)mh$.invokeExact(res, arrays, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_conjugate { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_conjugate"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_conjugate(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_conjugate$descriptor() { + return mlx_conjugate.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_conjugate(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_conjugate$handle() { + return mlx_conjugate.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_conjugate(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_conjugate$address() { + return mlx_conjugate.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_conjugate(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_conjugate(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_conjugate.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_conjugate", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_contiguous { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_contiguous"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_contiguous(mlx_array *res, const mlx_array a, bool allow_col_major, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_contiguous$descriptor() { + return mlx_contiguous.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_contiguous(mlx_array *res, const mlx_array a, bool allow_col_major, const mlx_stream s) + * } + */ + public static MethodHandle mlx_contiguous$handle() { + return mlx_contiguous.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_contiguous(mlx_array *res, const mlx_array a, bool allow_col_major, const mlx_stream s) + * } + */ + public static MemorySegment mlx_contiguous$address() { + return mlx_contiguous.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_contiguous(mlx_array *res, const mlx_array a, bool allow_col_major, const mlx_stream s) + * } + */ + public static int mlx_contiguous(MemorySegment res, MemorySegment a, boolean allow_col_major, MemorySegment s) { + var mh$ = mlx_contiguous.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_contiguous", res, a, allow_col_major, s); + } + return (int)mh$.invokeExact(res, a, allow_col_major, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_conv1d { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_conv1d"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_conv1d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride, int padding, int dilation, int groups, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_conv1d$descriptor() { + return mlx_conv1d.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_conv1d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride, int padding, int dilation, int groups, const mlx_stream s) + * } + */ + public static MethodHandle mlx_conv1d$handle() { + return mlx_conv1d.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_conv1d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride, int padding, int dilation, int groups, const mlx_stream s) + * } + */ + public static MemorySegment mlx_conv1d$address() { + return mlx_conv1d.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_conv1d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride, int padding, int dilation, int groups, const mlx_stream s) + * } + */ + public static int mlx_conv1d(MemorySegment res, MemorySegment input, MemorySegment weight, int stride, int padding, int dilation, int groups, MemorySegment s) { + var mh$ = mlx_conv1d.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_conv1d", res, input, weight, stride, padding, dilation, groups, s); + } + return (int)mh$.invokeExact(res, input, weight, stride, padding, dilation, groups, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_conv2d { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_conv2d"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_conv2d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int padding_0, int padding_1, int dilation_0, int dilation_1, int groups, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_conv2d$descriptor() { + return mlx_conv2d.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_conv2d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int padding_0, int padding_1, int dilation_0, int dilation_1, int groups, const mlx_stream s) + * } + */ + public static MethodHandle mlx_conv2d$handle() { + return mlx_conv2d.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_conv2d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int padding_0, int padding_1, int dilation_0, int dilation_1, int groups, const mlx_stream s) + * } + */ + public static MemorySegment mlx_conv2d$address() { + return mlx_conv2d.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_conv2d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int padding_0, int padding_1, int dilation_0, int dilation_1, int groups, const mlx_stream s) + * } + */ + public static int mlx_conv2d(MemorySegment res, MemorySegment input, MemorySegment weight, int stride_0, int stride_1, int padding_0, int padding_1, int dilation_0, int dilation_1, int groups, MemorySegment s) { + var mh$ = mlx_conv2d.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_conv2d", res, input, weight, stride_0, stride_1, padding_0, padding_1, dilation_0, dilation_1, groups, s); + } + return (int)mh$.invokeExact(res, input, weight, stride_0, stride_1, padding_0, padding_1, dilation_0, dilation_1, groups, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_conv3d { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_conv3d"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_conv3d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int stride_2, int padding_0, int padding_1, int padding_2, int dilation_0, int dilation_1, int dilation_2, int groups, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_conv3d$descriptor() { + return mlx_conv3d.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_conv3d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int stride_2, int padding_0, int padding_1, int padding_2, int dilation_0, int dilation_1, int dilation_2, int groups, const mlx_stream s) + * } + */ + public static MethodHandle mlx_conv3d$handle() { + return mlx_conv3d.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_conv3d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int stride_2, int padding_0, int padding_1, int padding_2, int dilation_0, int dilation_1, int dilation_2, int groups, const mlx_stream s) + * } + */ + public static MemorySegment mlx_conv3d$address() { + return mlx_conv3d.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_conv3d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int stride_2, int padding_0, int padding_1, int padding_2, int dilation_0, int dilation_1, int dilation_2, int groups, const mlx_stream s) + * } + */ + public static int mlx_conv3d(MemorySegment res, MemorySegment input, MemorySegment weight, int stride_0, int stride_1, int stride_2, int padding_0, int padding_1, int padding_2, int dilation_0, int dilation_1, int dilation_2, int groups, MemorySegment s) { + var mh$ = mlx_conv3d.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_conv3d", res, input, weight, stride_0, stride_1, stride_2, padding_0, padding_1, padding_2, dilation_0, dilation_1, dilation_2, groups, s); + } + return (int)mh$.invokeExact(res, input, weight, stride_0, stride_1, stride_2, padding_0, padding_1, padding_2, dilation_0, dilation_1, dilation_2, groups, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_conv_general { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_conv_general"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_conv_general(mlx_array *res, const mlx_array input, const mlx_array weight, const int *stride, size_t stride_num, const int *padding_lo, size_t padding_lo_num, const int *padding_hi, size_t padding_hi_num, const int *kernel_dilation, size_t kernel_dilation_num, const int *input_dilation, size_t input_dilation_num, int groups, bool flip, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_conv_general$descriptor() { + return mlx_conv_general.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_conv_general(mlx_array *res, const mlx_array input, const mlx_array weight, const int *stride, size_t stride_num, const int *padding_lo, size_t padding_lo_num, const int *padding_hi, size_t padding_hi_num, const int *kernel_dilation, size_t kernel_dilation_num, const int *input_dilation, size_t input_dilation_num, int groups, bool flip, const mlx_stream s) + * } + */ + public static MethodHandle mlx_conv_general$handle() { + return mlx_conv_general.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_conv_general(mlx_array *res, const mlx_array input, const mlx_array weight, const int *stride, size_t stride_num, const int *padding_lo, size_t padding_lo_num, const int *padding_hi, size_t padding_hi_num, const int *kernel_dilation, size_t kernel_dilation_num, const int *input_dilation, size_t input_dilation_num, int groups, bool flip, const mlx_stream s) + * } + */ + public static MemorySegment mlx_conv_general$address() { + return mlx_conv_general.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_conv_general(mlx_array *res, const mlx_array input, const mlx_array weight, const int *stride, size_t stride_num, const int *padding_lo, size_t padding_lo_num, const int *padding_hi, size_t padding_hi_num, const int *kernel_dilation, size_t kernel_dilation_num, const int *input_dilation, size_t input_dilation_num, int groups, bool flip, const mlx_stream s) + * } + */ + public static int mlx_conv_general(MemorySegment res, MemorySegment input, MemorySegment weight, MemorySegment stride, long stride_num, MemorySegment padding_lo, long padding_lo_num, MemorySegment padding_hi, long padding_hi_num, MemorySegment kernel_dilation, long kernel_dilation_num, MemorySegment input_dilation, long input_dilation_num, int groups, boolean flip, MemorySegment s) { + var mh$ = mlx_conv_general.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_conv_general", res, input, weight, stride, stride_num, padding_lo, padding_lo_num, padding_hi, padding_hi_num, kernel_dilation, kernel_dilation_num, input_dilation, input_dilation_num, groups, flip, s); + } + return (int)mh$.invokeExact(res, input, weight, stride, stride_num, padding_lo, padding_lo_num, padding_hi, padding_hi_num, kernel_dilation, kernel_dilation_num, input_dilation, input_dilation_num, groups, flip, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_conv_transpose1d { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_conv_transpose1d"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_conv_transpose1d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride, int padding, int dilation, int output_padding, int groups, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_conv_transpose1d$descriptor() { + return mlx_conv_transpose1d.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_conv_transpose1d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride, int padding, int dilation, int output_padding, int groups, const mlx_stream s) + * } + */ + public static MethodHandle mlx_conv_transpose1d$handle() { + return mlx_conv_transpose1d.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_conv_transpose1d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride, int padding, int dilation, int output_padding, int groups, const mlx_stream s) + * } + */ + public static MemorySegment mlx_conv_transpose1d$address() { + return mlx_conv_transpose1d.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_conv_transpose1d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride, int padding, int dilation, int output_padding, int groups, const mlx_stream s) + * } + */ + public static int mlx_conv_transpose1d(MemorySegment res, MemorySegment input, MemorySegment weight, int stride, int padding, int dilation, int output_padding, int groups, MemorySegment s) { + var mh$ = mlx_conv_transpose1d.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_conv_transpose1d", res, input, weight, stride, padding, dilation, output_padding, groups, s); + } + return (int)mh$.invokeExact(res, input, weight, stride, padding, dilation, output_padding, groups, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_conv_transpose2d { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_conv_transpose2d"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_conv_transpose2d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int padding_0, int padding_1, int dilation_0, int dilation_1, int output_padding_0, int output_padding_1, int groups, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_conv_transpose2d$descriptor() { + return mlx_conv_transpose2d.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_conv_transpose2d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int padding_0, int padding_1, int dilation_0, int dilation_1, int output_padding_0, int output_padding_1, int groups, const mlx_stream s) + * } + */ + public static MethodHandle mlx_conv_transpose2d$handle() { + return mlx_conv_transpose2d.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_conv_transpose2d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int padding_0, int padding_1, int dilation_0, int dilation_1, int output_padding_0, int output_padding_1, int groups, const mlx_stream s) + * } + */ + public static MemorySegment mlx_conv_transpose2d$address() { + return mlx_conv_transpose2d.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_conv_transpose2d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int padding_0, int padding_1, int dilation_0, int dilation_1, int output_padding_0, int output_padding_1, int groups, const mlx_stream s) + * } + */ + public static int mlx_conv_transpose2d(MemorySegment res, MemorySegment input, MemorySegment weight, int stride_0, int stride_1, int padding_0, int padding_1, int dilation_0, int dilation_1, int output_padding_0, int output_padding_1, int groups, MemorySegment s) { + var mh$ = mlx_conv_transpose2d.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_conv_transpose2d", res, input, weight, stride_0, stride_1, padding_0, padding_1, dilation_0, dilation_1, output_padding_0, output_padding_1, groups, s); + } + return (int)mh$.invokeExact(res, input, weight, stride_0, stride_1, padding_0, padding_1, dilation_0, dilation_1, output_padding_0, output_padding_1, groups, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_conv_transpose3d { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_conv_transpose3d"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_conv_transpose3d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int stride_2, int padding_0, int padding_1, int padding_2, int dilation_0, int dilation_1, int dilation_2, int output_padding_0, int output_padding_1, int output_padding_2, int groups, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_conv_transpose3d$descriptor() { + return mlx_conv_transpose3d.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_conv_transpose3d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int stride_2, int padding_0, int padding_1, int padding_2, int dilation_0, int dilation_1, int dilation_2, int output_padding_0, int output_padding_1, int output_padding_2, int groups, const mlx_stream s) + * } + */ + public static MethodHandle mlx_conv_transpose3d$handle() { + return mlx_conv_transpose3d.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_conv_transpose3d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int stride_2, int padding_0, int padding_1, int padding_2, int dilation_0, int dilation_1, int dilation_2, int output_padding_0, int output_padding_1, int output_padding_2, int groups, const mlx_stream s) + * } + */ + public static MemorySegment mlx_conv_transpose3d$address() { + return mlx_conv_transpose3d.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_conv_transpose3d(mlx_array *res, const mlx_array input, const mlx_array weight, int stride_0, int stride_1, int stride_2, int padding_0, int padding_1, int padding_2, int dilation_0, int dilation_1, int dilation_2, int output_padding_0, int output_padding_1, int output_padding_2, int groups, const mlx_stream s) + * } + */ + public static int mlx_conv_transpose3d(MemorySegment res, MemorySegment input, MemorySegment weight, int stride_0, int stride_1, int stride_2, int padding_0, int padding_1, int padding_2, int dilation_0, int dilation_1, int dilation_2, int output_padding_0, int output_padding_1, int output_padding_2, int groups, MemorySegment s) { + var mh$ = mlx_conv_transpose3d.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_conv_transpose3d", res, input, weight, stride_0, stride_1, stride_2, padding_0, padding_1, padding_2, dilation_0, dilation_1, dilation_2, output_padding_0, output_padding_1, output_padding_2, groups, s); + } + return (int)mh$.invokeExact(res, input, weight, stride_0, stride_1, stride_2, padding_0, padding_1, padding_2, dilation_0, dilation_1, dilation_2, output_padding_0, output_padding_1, output_padding_2, groups, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_copy { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_copy"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_copy(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_copy$descriptor() { + return mlx_copy.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_copy(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_copy$handle() { + return mlx_copy.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_copy(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_copy$address() { + return mlx_copy.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_copy(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_copy(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_copy.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_copy", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_cos { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_cos"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_cos(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_cos$descriptor() { + return mlx_cos.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_cos(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_cos$handle() { + return mlx_cos.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_cos(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_cos$address() { + return mlx_cos.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_cos(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_cos(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_cos.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_cos", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_cosh { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_cosh"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_cosh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_cosh$descriptor() { + return mlx_cosh.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_cosh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_cosh$handle() { + return mlx_cosh.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_cosh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_cosh$address() { + return mlx_cosh.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_cosh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_cosh(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_cosh.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_cosh", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_cummax { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_cummax"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_cummax(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_cummax$descriptor() { + return mlx_cummax.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_cummax(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static MethodHandle mlx_cummax$handle() { + return mlx_cummax.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_cummax(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static MemorySegment mlx_cummax$address() { + return mlx_cummax.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_cummax(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static int mlx_cummax(MemorySegment res, MemorySegment a, int axis, boolean reverse, boolean inclusive, MemorySegment s) { + var mh$ = mlx_cummax.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_cummax", res, a, axis, reverse, inclusive, s); + } + return (int)mh$.invokeExact(res, a, axis, reverse, inclusive, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_cummin { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_cummin"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_cummin(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_cummin$descriptor() { + return mlx_cummin.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_cummin(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static MethodHandle mlx_cummin$handle() { + return mlx_cummin.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_cummin(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static MemorySegment mlx_cummin$address() { + return mlx_cummin.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_cummin(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static int mlx_cummin(MemorySegment res, MemorySegment a, int axis, boolean reverse, boolean inclusive, MemorySegment s) { + var mh$ = mlx_cummin.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_cummin", res, a, axis, reverse, inclusive, s); + } + return (int)mh$.invokeExact(res, a, axis, reverse, inclusive, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_cumprod { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_cumprod"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_cumprod(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_cumprod$descriptor() { + return mlx_cumprod.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_cumprod(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static MethodHandle mlx_cumprod$handle() { + return mlx_cumprod.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_cumprod(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static MemorySegment mlx_cumprod$address() { + return mlx_cumprod.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_cumprod(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static int mlx_cumprod(MemorySegment res, MemorySegment a, int axis, boolean reverse, boolean inclusive, MemorySegment s) { + var mh$ = mlx_cumprod.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_cumprod", res, a, axis, reverse, inclusive, s); + } + return (int)mh$.invokeExact(res, a, axis, reverse, inclusive, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_cumsum { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_cumsum"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_cumsum(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_cumsum$descriptor() { + return mlx_cumsum.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_cumsum(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static MethodHandle mlx_cumsum$handle() { + return mlx_cumsum.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_cumsum(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static MemorySegment mlx_cumsum$address() { + return mlx_cumsum.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_cumsum(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static int mlx_cumsum(MemorySegment res, MemorySegment a, int axis, boolean reverse, boolean inclusive, MemorySegment s) { + var mh$ = mlx_cumsum.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_cumsum", res, a, axis, reverse, inclusive, s); + } + return (int)mh$.invokeExact(res, a, axis, reverse, inclusive, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_degrees { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_degrees"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_degrees(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_degrees$descriptor() { + return mlx_degrees.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_degrees(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_degrees$handle() { + return mlx_degrees.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_degrees(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_degrees$address() { + return mlx_degrees.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_degrees(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_degrees(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_degrees.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_degrees", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_depends { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_depends"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_depends(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_vector_array dependencies) + * } + */ + public static FunctionDescriptor mlx_depends$descriptor() { + return mlx_depends.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_depends(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_vector_array dependencies) + * } + */ + public static MethodHandle mlx_depends$handle() { + return mlx_depends.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_depends(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_vector_array dependencies) + * } + */ + public static MemorySegment mlx_depends$address() { + return mlx_depends.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_depends(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_vector_array dependencies) + * } + */ + public static int mlx_depends(MemorySegment res, MemorySegment inputs, MemorySegment dependencies) { + var mh$ = mlx_depends.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_depends", res, inputs, dependencies); + } + return (int)mh$.invokeExact(res, inputs, dependencies); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_dequantize { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_dequantize"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_dequantize(mlx_array *res, const mlx_array w, const mlx_array scales, const mlx_array biases, int group_size, int bits, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_dequantize$descriptor() { + return mlx_dequantize.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_dequantize(mlx_array *res, const mlx_array w, const mlx_array scales, const mlx_array biases, int group_size, int bits, const mlx_stream s) + * } + */ + public static MethodHandle mlx_dequantize$handle() { + return mlx_dequantize.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_dequantize(mlx_array *res, const mlx_array w, const mlx_array scales, const mlx_array biases, int group_size, int bits, const mlx_stream s) + * } + */ + public static MemorySegment mlx_dequantize$address() { + return mlx_dequantize.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_dequantize(mlx_array *res, const mlx_array w, const mlx_array scales, const mlx_array biases, int group_size, int bits, const mlx_stream s) + * } + */ + public static int mlx_dequantize(MemorySegment res, MemorySegment w, MemorySegment scales, MemorySegment biases, int group_size, int bits, MemorySegment s) { + var mh$ = mlx_dequantize.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_dequantize", res, w, scales, biases, group_size, bits, s); + } + return (int)mh$.invokeExact(res, w, scales, biases, group_size, bits, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_diag { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_diag"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_diag(mlx_array *res, const mlx_array a, int k, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_diag$descriptor() { + return mlx_diag.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_diag(mlx_array *res, const mlx_array a, int k, const mlx_stream s) + * } + */ + public static MethodHandle mlx_diag$handle() { + return mlx_diag.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_diag(mlx_array *res, const mlx_array a, int k, const mlx_stream s) + * } + */ + public static MemorySegment mlx_diag$address() { + return mlx_diag.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_diag(mlx_array *res, const mlx_array a, int k, const mlx_stream s) + * } + */ + public static int mlx_diag(MemorySegment res, MemorySegment a, int k, MemorySegment s) { + var mh$ = mlx_diag.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_diag", res, a, k, s); + } + return (int)mh$.invokeExact(res, a, k, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_diagonal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_diagonal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_diagonal(mlx_array *res, const mlx_array a, int offset, int axis1, int axis2, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_diagonal$descriptor() { + return mlx_diagonal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_diagonal(mlx_array *res, const mlx_array a, int offset, int axis1, int axis2, const mlx_stream s) + * } + */ + public static MethodHandle mlx_diagonal$handle() { + return mlx_diagonal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_diagonal(mlx_array *res, const mlx_array a, int offset, int axis1, int axis2, const mlx_stream s) + * } + */ + public static MemorySegment mlx_diagonal$address() { + return mlx_diagonal.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_diagonal(mlx_array *res, const mlx_array a, int offset, int axis1, int axis2, const mlx_stream s) + * } + */ + public static int mlx_diagonal(MemorySegment res, MemorySegment a, int offset, int axis1, int axis2, MemorySegment s) { + var mh$ = mlx_diagonal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_diagonal", res, a, offset, axis1, axis2, s); + } + return (int)mh$.invokeExact(res, a, offset, axis1, axis2, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_divide { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_divide"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_divide(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_divide$descriptor() { + return mlx_divide.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_divide(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_divide$handle() { + return mlx_divide.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_divide(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_divide$address() { + return mlx_divide.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_divide(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_divide(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_divide.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_divide", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_divmod { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_divmod"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_divmod(mlx_vector_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_divmod$descriptor() { + return mlx_divmod.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_divmod(mlx_vector_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_divmod$handle() { + return mlx_divmod.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_divmod(mlx_vector_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_divmod$address() { + return mlx_divmod.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_divmod(mlx_vector_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_divmod(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_divmod.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_divmod", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_einsum { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_einsum"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_einsum(mlx_array *res, const char *subscripts, const mlx_vector_array operands, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_einsum$descriptor() { + return mlx_einsum.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_einsum(mlx_array *res, const char *subscripts, const mlx_vector_array operands, const mlx_stream s) + * } + */ + public static MethodHandle mlx_einsum$handle() { + return mlx_einsum.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_einsum(mlx_array *res, const char *subscripts, const mlx_vector_array operands, const mlx_stream s) + * } + */ + public static MemorySegment mlx_einsum$address() { + return mlx_einsum.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_einsum(mlx_array *res, const char *subscripts, const mlx_vector_array operands, const mlx_stream s) + * } + */ + public static int mlx_einsum(MemorySegment res, MemorySegment subscripts, MemorySegment operands, MemorySegment s) { + var mh$ = mlx_einsum.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_einsum", res, subscripts, operands, s); + } + return (int)mh$.invokeExact(res, subscripts, operands, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_equal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_equal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_equal$descriptor() { + return mlx_equal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_equal$handle() { + return mlx_equal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_equal$address() { + return mlx_equal.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_equal(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_equal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_equal", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_erf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_erf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_erf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_erf$descriptor() { + return mlx_erf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_erf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_erf$handle() { + return mlx_erf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_erf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_erf$address() { + return mlx_erf.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_erf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_erf(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_erf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_erf", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_erfinv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_erfinv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_erfinv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_erfinv$descriptor() { + return mlx_erfinv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_erfinv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_erfinv$handle() { + return mlx_erfinv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_erfinv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_erfinv$address() { + return mlx_erfinv.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_erfinv(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_erfinv(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_erfinv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_erfinv", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_exp { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_exp"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_exp(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_exp$descriptor() { + return mlx_exp.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_exp(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_exp$handle() { + return mlx_exp.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_exp(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_exp$address() { + return mlx_exp.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_exp(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_exp(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_exp.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_exp", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_expand_dims_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_expand_dims_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_expand_dims_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_expand_dims_axes$descriptor() { + return mlx_expand_dims_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_expand_dims_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_expand_dims_axes$handle() { + return mlx_expand_dims_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_expand_dims_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_expand_dims_axes$address() { + return mlx_expand_dims_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_expand_dims_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_expand_dims_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_expand_dims_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_expand_dims_axes", res, a, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_expand_dims { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_expand_dims"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_expand_dims(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_expand_dims$descriptor() { + return mlx_expand_dims.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_expand_dims(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_expand_dims$handle() { + return mlx_expand_dims.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_expand_dims(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_expand_dims$address() { + return mlx_expand_dims.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_expand_dims(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static int mlx_expand_dims(MemorySegment res, MemorySegment a, int axis, MemorySegment s) { + var mh$ = mlx_expand_dims.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_expand_dims", res, a, axis, s); + } + return (int)mh$.invokeExact(res, a, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_expm1 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_expm1"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_expm1(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_expm1$descriptor() { + return mlx_expm1.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_expm1(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_expm1$handle() { + return mlx_expm1.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_expm1(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_expm1$address() { + return mlx_expm1.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_expm1(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_expm1(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_expm1.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_expm1", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_eye { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_eye"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_eye(mlx_array *res, int n, int m, int k, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_eye$descriptor() { + return mlx_eye.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_eye(mlx_array *res, int n, int m, int k, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MethodHandle mlx_eye$handle() { + return mlx_eye.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_eye(mlx_array *res, int n, int m, int k, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MemorySegment mlx_eye$address() { + return mlx_eye.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_eye(mlx_array *res, int n, int m, int k, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static int mlx_eye(MemorySegment res, int n, int m, int k, int dtype, MemorySegment s) { + var mh$ = mlx_eye.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_eye", res, n, m, k, dtype, s); + } + return (int)mh$.invokeExact(res, n, m, k, dtype, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_flatten { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_flatten"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_flatten(mlx_array *res, const mlx_array a, int start_axis, int end_axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_flatten$descriptor() { + return mlx_flatten.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_flatten(mlx_array *res, const mlx_array a, int start_axis, int end_axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_flatten$handle() { + return mlx_flatten.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_flatten(mlx_array *res, const mlx_array a, int start_axis, int end_axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_flatten$address() { + return mlx_flatten.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_flatten(mlx_array *res, const mlx_array a, int start_axis, int end_axis, const mlx_stream s) + * } + */ + public static int mlx_flatten(MemorySegment res, MemorySegment a, int start_axis, int end_axis, MemorySegment s) { + var mh$ = mlx_flatten.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_flatten", res, a, start_axis, end_axis, s); + } + return (int)mh$.invokeExact(res, a, start_axis, end_axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_floor { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_floor"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_floor(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_floor$descriptor() { + return mlx_floor.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_floor(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_floor$handle() { + return mlx_floor.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_floor(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_floor$address() { + return mlx_floor.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_floor(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_floor(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_floor.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_floor", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_floor_divide { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_floor_divide"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_floor_divide(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_floor_divide$descriptor() { + return mlx_floor_divide.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_floor_divide(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_floor_divide$handle() { + return mlx_floor_divide.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_floor_divide(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_floor_divide$address() { + return mlx_floor_divide.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_floor_divide(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_floor_divide(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_floor_divide.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_floor_divide", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_full { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_full"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_full(mlx_array *res, const int *shape, size_t shape_num, const mlx_array vals, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_full$descriptor() { + return mlx_full.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_full(mlx_array *res, const int *shape, size_t shape_num, const mlx_array vals, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MethodHandle mlx_full$handle() { + return mlx_full.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_full(mlx_array *res, const int *shape, size_t shape_num, const mlx_array vals, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MemorySegment mlx_full$address() { + return mlx_full.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_full(mlx_array *res, const int *shape, size_t shape_num, const mlx_array vals, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static int mlx_full(MemorySegment res, MemorySegment shape, long shape_num, MemorySegment vals, int dtype, MemorySegment s) { + var mh$ = mlx_full.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_full", res, shape, shape_num, vals, dtype, s); + } + return (int)mh$.invokeExact(res, shape, shape_num, vals, dtype, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_gather { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_gather"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_gather(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const int *axes, size_t axes_num, const int *slice_sizes, size_t slice_sizes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_gather$descriptor() { + return mlx_gather.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_gather(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const int *axes, size_t axes_num, const int *slice_sizes, size_t slice_sizes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_gather$handle() { + return mlx_gather.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_gather(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const int *axes, size_t axes_num, const int *slice_sizes, size_t slice_sizes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_gather$address() { + return mlx_gather.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_gather(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const int *axes, size_t axes_num, const int *slice_sizes, size_t slice_sizes_num, const mlx_stream s) + * } + */ + public static int mlx_gather(MemorySegment res, MemorySegment a, MemorySegment indices, MemorySegment axes, long axes_num, MemorySegment slice_sizes, long slice_sizes_num, MemorySegment s) { + var mh$ = mlx_gather.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_gather", res, a, indices, axes, axes_num, slice_sizes, slice_sizes_num, s); + } + return (int)mh$.invokeExact(res, a, indices, axes, axes_num, slice_sizes, slice_sizes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_gather_mm { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_gather_mm"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_gather_mm(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_array lhs_indices, const mlx_array rhs_indices, bool sorted_indices, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_gather_mm$descriptor() { + return mlx_gather_mm.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_gather_mm(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_array lhs_indices, const mlx_array rhs_indices, bool sorted_indices, const mlx_stream s) + * } + */ + public static MethodHandle mlx_gather_mm$handle() { + return mlx_gather_mm.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_gather_mm(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_array lhs_indices, const mlx_array rhs_indices, bool sorted_indices, const mlx_stream s) + * } + */ + public static MemorySegment mlx_gather_mm$address() { + return mlx_gather_mm.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_gather_mm(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_array lhs_indices, const mlx_array rhs_indices, bool sorted_indices, const mlx_stream s) + * } + */ + public static int mlx_gather_mm(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment lhs_indices, MemorySegment rhs_indices, boolean sorted_indices, MemorySegment s) { + var mh$ = mlx_gather_mm.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_gather_mm", res, a, b, lhs_indices, rhs_indices, sorted_indices, s); + } + return (int)mh$.invokeExact(res, a, b, lhs_indices, rhs_indices, sorted_indices, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_gather_qmm { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_gather_qmm"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_gather_qmm(mlx_array *res, const mlx_array x, const mlx_array w, const mlx_array scales, const mlx_array biases, const mlx_array lhs_indices, const mlx_array rhs_indices, bool transpose, int group_size, int bits, bool sorted_indices, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_gather_qmm$descriptor() { + return mlx_gather_qmm.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_gather_qmm(mlx_array *res, const mlx_array x, const mlx_array w, const mlx_array scales, const mlx_array biases, const mlx_array lhs_indices, const mlx_array rhs_indices, bool transpose, int group_size, int bits, bool sorted_indices, const mlx_stream s) + * } + */ + public static MethodHandle mlx_gather_qmm$handle() { + return mlx_gather_qmm.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_gather_qmm(mlx_array *res, const mlx_array x, const mlx_array w, const mlx_array scales, const mlx_array biases, const mlx_array lhs_indices, const mlx_array rhs_indices, bool transpose, int group_size, int bits, bool sorted_indices, const mlx_stream s) + * } + */ + public static MemorySegment mlx_gather_qmm$address() { + return mlx_gather_qmm.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_gather_qmm(mlx_array *res, const mlx_array x, const mlx_array w, const mlx_array scales, const mlx_array biases, const mlx_array lhs_indices, const mlx_array rhs_indices, bool transpose, int group_size, int bits, bool sorted_indices, const mlx_stream s) + * } + */ + public static int mlx_gather_qmm(MemorySegment res, MemorySegment x, MemorySegment w, MemorySegment scales, MemorySegment biases, MemorySegment lhs_indices, MemorySegment rhs_indices, boolean transpose, int group_size, int bits, boolean sorted_indices, MemorySegment s) { + var mh$ = mlx_gather_qmm.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_gather_qmm", res, x, w, scales, biases, lhs_indices, rhs_indices, transpose, group_size, bits, sorted_indices, s); + } + return (int)mh$.invokeExact(res, x, w, scales, biases, lhs_indices, rhs_indices, transpose, group_size, bits, sorted_indices, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_greater { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_greater"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_greater(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_greater$descriptor() { + return mlx_greater.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_greater(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_greater$handle() { + return mlx_greater.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_greater(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_greater$address() { + return mlx_greater.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_greater(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_greater(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_greater.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_greater", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_greater_equal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_greater_equal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_greater_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_greater_equal$descriptor() { + return mlx_greater_equal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_greater_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_greater_equal$handle() { + return mlx_greater_equal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_greater_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_greater_equal$address() { + return mlx_greater_equal.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_greater_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_greater_equal(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_greater_equal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_greater_equal", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_hadamard_transform { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_optional_float_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_hadamard_transform"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_hadamard_transform(mlx_array *res, const mlx_array a, mlx_optional_float scale, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_hadamard_transform$descriptor() { + return mlx_hadamard_transform.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_hadamard_transform(mlx_array *res, const mlx_array a, mlx_optional_float scale, const mlx_stream s) + * } + */ + public static MethodHandle mlx_hadamard_transform$handle() { + return mlx_hadamard_transform.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_hadamard_transform(mlx_array *res, const mlx_array a, mlx_optional_float scale, const mlx_stream s) + * } + */ + public static MemorySegment mlx_hadamard_transform$address() { + return mlx_hadamard_transform.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_hadamard_transform(mlx_array *res, const mlx_array a, mlx_optional_float scale, const mlx_stream s) + * } + */ + public static int mlx_hadamard_transform(MemorySegment res, MemorySegment a, MemorySegment scale, MemorySegment s) { + var mh$ = mlx_hadamard_transform.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_hadamard_transform", res, a, scale, s); + } + return (int)mh$.invokeExact(res, a, scale, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_identity { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_identity"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_identity(mlx_array *res, int n, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_identity$descriptor() { + return mlx_identity.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_identity(mlx_array *res, int n, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MethodHandle mlx_identity$handle() { + return mlx_identity.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_identity(mlx_array *res, int n, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MemorySegment mlx_identity$address() { + return mlx_identity.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_identity(mlx_array *res, int n, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static int mlx_identity(MemorySegment res, int n, int dtype, MemorySegment s) { + var mh$ = mlx_identity.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_identity", res, n, dtype, s); + } + return (int)mh$.invokeExact(res, n, dtype, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_imag { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_imag"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_imag(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_imag$descriptor() { + return mlx_imag.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_imag(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_imag$handle() { + return mlx_imag.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_imag(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_imag$address() { + return mlx_imag.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_imag(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_imag(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_imag.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_imag", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_inner { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_inner"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_inner(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_inner$descriptor() { + return mlx_inner.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_inner(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_inner$handle() { + return mlx_inner.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_inner(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_inner$address() { + return mlx_inner.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_inner(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_inner(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_inner.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_inner", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_isclose { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_DOUBLE, + mlx_h.C_DOUBLE, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_isclose"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_isclose(mlx_array *res, const mlx_array a, const mlx_array b, double rtol, double atol, bool equal_nan, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_isclose$descriptor() { + return mlx_isclose.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_isclose(mlx_array *res, const mlx_array a, const mlx_array b, double rtol, double atol, bool equal_nan, const mlx_stream s) + * } + */ + public static MethodHandle mlx_isclose$handle() { + return mlx_isclose.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_isclose(mlx_array *res, const mlx_array a, const mlx_array b, double rtol, double atol, bool equal_nan, const mlx_stream s) + * } + */ + public static MemorySegment mlx_isclose$address() { + return mlx_isclose.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_isclose(mlx_array *res, const mlx_array a, const mlx_array b, double rtol, double atol, bool equal_nan, const mlx_stream s) + * } + */ + public static int mlx_isclose(MemorySegment res, MemorySegment a, MemorySegment b, double rtol, double atol, boolean equal_nan, MemorySegment s) { + var mh$ = mlx_isclose.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_isclose", res, a, b, rtol, atol, equal_nan, s); + } + return (int)mh$.invokeExact(res, a, b, rtol, atol, equal_nan, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_isfinite { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_isfinite"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_isfinite(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_isfinite$descriptor() { + return mlx_isfinite.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_isfinite(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_isfinite$handle() { + return mlx_isfinite.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_isfinite(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_isfinite$address() { + return mlx_isfinite.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_isfinite(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_isfinite(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_isfinite.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_isfinite", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_isinf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_isinf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_isinf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_isinf$descriptor() { + return mlx_isinf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_isinf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_isinf$handle() { + return mlx_isinf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_isinf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_isinf$address() { + return mlx_isinf.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_isinf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_isinf(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_isinf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_isinf", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_isnan { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_isnan"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_isnan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_isnan$descriptor() { + return mlx_isnan.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_isnan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_isnan$handle() { + return mlx_isnan.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_isnan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_isnan$address() { + return mlx_isnan.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_isnan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_isnan(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_isnan.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_isnan", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_isneginf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_isneginf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_isneginf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_isneginf$descriptor() { + return mlx_isneginf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_isneginf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_isneginf$handle() { + return mlx_isneginf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_isneginf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_isneginf$address() { + return mlx_isneginf.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_isneginf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_isneginf(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_isneginf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_isneginf", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_isposinf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_isposinf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_isposinf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_isposinf$descriptor() { + return mlx_isposinf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_isposinf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_isposinf$handle() { + return mlx_isposinf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_isposinf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_isposinf$address() { + return mlx_isposinf.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_isposinf(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_isposinf(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_isposinf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_isposinf", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_kron { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_kron"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_kron(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_kron$descriptor() { + return mlx_kron.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_kron(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_kron$handle() { + return mlx_kron.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_kron(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_kron$address() { + return mlx_kron.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_kron(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_kron(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_kron.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_kron", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_left_shift { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_left_shift"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_left_shift(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_left_shift$descriptor() { + return mlx_left_shift.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_left_shift(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_left_shift$handle() { + return mlx_left_shift.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_left_shift(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_left_shift$address() { + return mlx_left_shift.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_left_shift(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_left_shift(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_left_shift.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_left_shift", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_less { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_less"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_less(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_less$descriptor() { + return mlx_less.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_less(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_less$handle() { + return mlx_less.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_less(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_less$address() { + return mlx_less.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_less(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_less(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_less.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_less", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_less_equal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_less_equal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_less_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_less_equal$descriptor() { + return mlx_less_equal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_less_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_less_equal$handle() { + return mlx_less_equal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_less_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_less_equal$address() { + return mlx_less_equal.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_less_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_less_equal(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_less_equal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_less_equal", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_linspace { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_DOUBLE, + mlx_h.C_DOUBLE, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_linspace"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_linspace(mlx_array *res, double start, double stop, int num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_linspace$descriptor() { + return mlx_linspace.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_linspace(mlx_array *res, double start, double stop, int num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MethodHandle mlx_linspace$handle() { + return mlx_linspace.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_linspace(mlx_array *res, double start, double stop, int num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MemorySegment mlx_linspace$address() { + return mlx_linspace.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_linspace(mlx_array *res, double start, double stop, int num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static int mlx_linspace(MemorySegment res, double start, double stop, int num, int dtype, MemorySegment s) { + var mh$ = mlx_linspace.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_linspace", res, start, stop, num, dtype, s); + } + return (int)mh$.invokeExact(res, start, stop, num, dtype, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_log { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_log"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_log(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_log$descriptor() { + return mlx_log.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_log(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_log$handle() { + return mlx_log.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_log(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_log$address() { + return mlx_log.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_log(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_log(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_log.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_log", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_log10 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_log10"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_log10(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_log10$descriptor() { + return mlx_log10.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_log10(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_log10$handle() { + return mlx_log10.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_log10(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_log10$address() { + return mlx_log10.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_log10(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_log10(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_log10.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_log10", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_log1p { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_log1p"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_log1p(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_log1p$descriptor() { + return mlx_log1p.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_log1p(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_log1p$handle() { + return mlx_log1p.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_log1p(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_log1p$address() { + return mlx_log1p.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_log1p(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_log1p(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_log1p.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_log1p", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_log2 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_log2"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_log2(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_log2$descriptor() { + return mlx_log2.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_log2(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_log2$handle() { + return mlx_log2.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_log2(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_log2$address() { + return mlx_log2.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_log2(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_log2(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_log2.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_log2", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_logaddexp { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_logaddexp"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_logaddexp(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_logaddexp$descriptor() { + return mlx_logaddexp.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_logaddexp(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_logaddexp$handle() { + return mlx_logaddexp.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_logaddexp(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_logaddexp$address() { + return mlx_logaddexp.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_logaddexp(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_logaddexp(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_logaddexp.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_logaddexp", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_logcumsumexp { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_logcumsumexp"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_logcumsumexp(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_logcumsumexp$descriptor() { + return mlx_logcumsumexp.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_logcumsumexp(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static MethodHandle mlx_logcumsumexp$handle() { + return mlx_logcumsumexp.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_logcumsumexp(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static MemorySegment mlx_logcumsumexp$address() { + return mlx_logcumsumexp.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_logcumsumexp(mlx_array *res, const mlx_array a, int axis, bool reverse, bool inclusive, const mlx_stream s) + * } + */ + public static int mlx_logcumsumexp(MemorySegment res, MemorySegment a, int axis, boolean reverse, boolean inclusive, MemorySegment s) { + var mh$ = mlx_logcumsumexp.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_logcumsumexp", res, a, axis, reverse, inclusive, s); + } + return (int)mh$.invokeExact(res, a, axis, reverse, inclusive, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_logical_and { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_logical_and"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_logical_and(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_logical_and$descriptor() { + return mlx_logical_and.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_logical_and(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_logical_and$handle() { + return mlx_logical_and.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_logical_and(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_logical_and$address() { + return mlx_logical_and.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_logical_and(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_logical_and(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_logical_and.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_logical_and", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_logical_not { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_logical_not"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_logical_not(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_logical_not$descriptor() { + return mlx_logical_not.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_logical_not(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_logical_not$handle() { + return mlx_logical_not.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_logical_not(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_logical_not$address() { + return mlx_logical_not.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_logical_not(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_logical_not(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_logical_not.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_logical_not", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_logical_or { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_logical_or"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_logical_or(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_logical_or$descriptor() { + return mlx_logical_or.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_logical_or(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_logical_or$handle() { + return mlx_logical_or.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_logical_or(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_logical_or$address() { + return mlx_logical_or.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_logical_or(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_logical_or(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_logical_or.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_logical_or", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_logsumexp_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_logsumexp_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_logsumexp_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_logsumexp_axes$descriptor() { + return mlx_logsumexp_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_logsumexp_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_logsumexp_axes$handle() { + return mlx_logsumexp_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_logsumexp_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_logsumexp_axes$address() { + return mlx_logsumexp_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_logsumexp_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_logsumexp_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean keepdims, MemorySegment s) { + var mh$ = mlx_logsumexp_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_logsumexp_axes", res, a, axes, axes_num, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_logsumexp_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_logsumexp_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_logsumexp_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_logsumexp_axis$descriptor() { + return mlx_logsumexp_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_logsumexp_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_logsumexp_axis$handle() { + return mlx_logsumexp_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_logsumexp_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_logsumexp_axis$address() { + return mlx_logsumexp_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_logsumexp_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_logsumexp_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, MemorySegment s) { + var mh$ = mlx_logsumexp_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_logsumexp_axis", res, a, axis, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_logsumexp { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_logsumexp"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_logsumexp(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_logsumexp$descriptor() { + return mlx_logsumexp.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_logsumexp(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_logsumexp$handle() { + return mlx_logsumexp.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_logsumexp(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_logsumexp$address() { + return mlx_logsumexp.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_logsumexp(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_logsumexp(MemorySegment res, MemorySegment a, boolean keepdims, MemorySegment s) { + var mh$ = mlx_logsumexp.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_logsumexp", res, a, keepdims, s); + } + return (int)mh$.invokeExact(res, a, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_matmul { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_matmul"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_matmul(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_matmul$descriptor() { + return mlx_matmul.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_matmul(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_matmul$handle() { + return mlx_matmul.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_matmul(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_matmul$address() { + return mlx_matmul.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_matmul(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_matmul(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_matmul.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_matmul", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_max_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_max_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_max_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_max_axes$descriptor() { + return mlx_max_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_max_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_max_axes$handle() { + return mlx_max_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_max_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_max_axes$address() { + return mlx_max_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_max_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_max_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean keepdims, MemorySegment s) { + var mh$ = mlx_max_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_max_axes", res, a, axes, axes_num, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_max_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_max_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_max_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_max_axis$descriptor() { + return mlx_max_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_max_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_max_axis$handle() { + return mlx_max_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_max_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_max_axis$address() { + return mlx_max_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_max_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_max_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, MemorySegment s) { + var mh$ = mlx_max_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_max_axis", res, a, axis, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_max { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_max"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_max(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_max$descriptor() { + return mlx_max.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_max(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_max$handle() { + return mlx_max.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_max(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_max$address() { + return mlx_max.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_max(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_max(MemorySegment res, MemorySegment a, boolean keepdims, MemorySegment s) { + var mh$ = mlx_max.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_max", res, a, keepdims, s); + } + return (int)mh$.invokeExact(res, a, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_maximum { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_maximum"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_maximum(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_maximum$descriptor() { + return mlx_maximum.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_maximum(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_maximum$handle() { + return mlx_maximum.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_maximum(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_maximum$address() { + return mlx_maximum.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_maximum(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_maximum(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_maximum.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_maximum", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_mean_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_mean_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_mean_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_mean_axes$descriptor() { + return mlx_mean_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_mean_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_mean_axes$handle() { + return mlx_mean_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_mean_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_mean_axes$address() { + return mlx_mean_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_mean_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_mean_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean keepdims, MemorySegment s) { + var mh$ = mlx_mean_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_mean_axes", res, a, axes, axes_num, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_mean_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_mean_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_mean_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_mean_axis$descriptor() { + return mlx_mean_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_mean_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_mean_axis$handle() { + return mlx_mean_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_mean_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_mean_axis$address() { + return mlx_mean_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_mean_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_mean_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, MemorySegment s) { + var mh$ = mlx_mean_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_mean_axis", res, a, axis, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_mean { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_mean"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_mean(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_mean$descriptor() { + return mlx_mean.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_mean(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_mean$handle() { + return mlx_mean.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_mean(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_mean$address() { + return mlx_mean.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_mean(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_mean(MemorySegment res, MemorySegment a, boolean keepdims, MemorySegment s) { + var mh$ = mlx_mean.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_mean", res, a, keepdims, s); + } + return (int)mh$.invokeExact(res, a, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_meshgrid { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_h.C_BOOL, + mlx_h.C_POINTER, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_meshgrid"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_meshgrid(mlx_vector_array *res, const mlx_vector_array arrays, bool sparse, const char *indexing, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_meshgrid$descriptor() { + return mlx_meshgrid.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_meshgrid(mlx_vector_array *res, const mlx_vector_array arrays, bool sparse, const char *indexing, const mlx_stream s) + * } + */ + public static MethodHandle mlx_meshgrid$handle() { + return mlx_meshgrid.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_meshgrid(mlx_vector_array *res, const mlx_vector_array arrays, bool sparse, const char *indexing, const mlx_stream s) + * } + */ + public static MemorySegment mlx_meshgrid$address() { + return mlx_meshgrid.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_meshgrid(mlx_vector_array *res, const mlx_vector_array arrays, bool sparse, const char *indexing, const mlx_stream s) + * } + */ + public static int mlx_meshgrid(MemorySegment res, MemorySegment arrays, boolean sparse, MemorySegment indexing, MemorySegment s) { + var mh$ = mlx_meshgrid.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_meshgrid", res, arrays, sparse, indexing, s); + } + return (int)mh$.invokeExact(res, arrays, sparse, indexing, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_min_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_min_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_min_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_min_axes$descriptor() { + return mlx_min_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_min_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_min_axes$handle() { + return mlx_min_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_min_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_min_axes$address() { + return mlx_min_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_min_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_min_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean keepdims, MemorySegment s) { + var mh$ = mlx_min_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_min_axes", res, a, axes, axes_num, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_min_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_min_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_min_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_min_axis$descriptor() { + return mlx_min_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_min_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_min_axis$handle() { + return mlx_min_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_min_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_min_axis$address() { + return mlx_min_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_min_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_min_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, MemorySegment s) { + var mh$ = mlx_min_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_min_axis", res, a, axis, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_min { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_min"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_min(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_min$descriptor() { + return mlx_min.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_min(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_min$handle() { + return mlx_min.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_min(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_min$address() { + return mlx_min.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_min(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_min(MemorySegment res, MemorySegment a, boolean keepdims, MemorySegment s) { + var mh$ = mlx_min.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_min", res, a, keepdims, s); + } + return (int)mh$.invokeExact(res, a, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_minimum { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_minimum"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_minimum(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_minimum$descriptor() { + return mlx_minimum.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_minimum(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_minimum$handle() { + return mlx_minimum.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_minimum(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_minimum$address() { + return mlx_minimum.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_minimum(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_minimum(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_minimum.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_minimum", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_moveaxis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_moveaxis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_moveaxis(mlx_array *res, const mlx_array a, int source, int destination, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_moveaxis$descriptor() { + return mlx_moveaxis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_moveaxis(mlx_array *res, const mlx_array a, int source, int destination, const mlx_stream s) + * } + */ + public static MethodHandle mlx_moveaxis$handle() { + return mlx_moveaxis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_moveaxis(mlx_array *res, const mlx_array a, int source, int destination, const mlx_stream s) + * } + */ + public static MemorySegment mlx_moveaxis$address() { + return mlx_moveaxis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_moveaxis(mlx_array *res, const mlx_array a, int source, int destination, const mlx_stream s) + * } + */ + public static int mlx_moveaxis(MemorySegment res, MemorySegment a, int source, int destination, MemorySegment s) { + var mh$ = mlx_moveaxis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_moveaxis", res, a, source, destination, s); + } + return (int)mh$.invokeExact(res, a, source, destination, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_multiply { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_multiply"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_multiply(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_multiply$descriptor() { + return mlx_multiply.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_multiply(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_multiply$handle() { + return mlx_multiply.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_multiply(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_multiply$address() { + return mlx_multiply.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_multiply(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_multiply(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_multiply.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_multiply", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_nan_to_num { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_FLOAT, + mlx_optional_float_.layout(), + mlx_optional_float_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_nan_to_num"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_nan_to_num(mlx_array *res, const mlx_array a, float nan, mlx_optional_float posinf, mlx_optional_float neginf, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_nan_to_num$descriptor() { + return mlx_nan_to_num.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_nan_to_num(mlx_array *res, const mlx_array a, float nan, mlx_optional_float posinf, mlx_optional_float neginf, const mlx_stream s) + * } + */ + public static MethodHandle mlx_nan_to_num$handle() { + return mlx_nan_to_num.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_nan_to_num(mlx_array *res, const mlx_array a, float nan, mlx_optional_float posinf, mlx_optional_float neginf, const mlx_stream s) + * } + */ + public static MemorySegment mlx_nan_to_num$address() { + return mlx_nan_to_num.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_nan_to_num(mlx_array *res, const mlx_array a, float nan, mlx_optional_float posinf, mlx_optional_float neginf, const mlx_stream s) + * } + */ + public static int mlx_nan_to_num(MemorySegment res, MemorySegment a, float nan, MemorySegment posinf, MemorySegment neginf, MemorySegment s) { + var mh$ = mlx_nan_to_num.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_nan_to_num", res, a, nan, posinf, neginf, s); + } + return (int)mh$.invokeExact(res, a, nan, posinf, neginf, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_negative { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_negative"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_negative(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_negative$descriptor() { + return mlx_negative.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_negative(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_negative$handle() { + return mlx_negative.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_negative(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_negative$address() { + return mlx_negative.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_negative(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_negative(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_negative.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_negative", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_not_equal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_not_equal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_not_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_not_equal$descriptor() { + return mlx_not_equal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_not_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_not_equal$handle() { + return mlx_not_equal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_not_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_not_equal$address() { + return mlx_not_equal.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_not_equal(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_not_equal(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_not_equal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_not_equal", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_number_of_elements { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_number_of_elements"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_number_of_elements(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool inverted, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_number_of_elements$descriptor() { + return mlx_number_of_elements.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_number_of_elements(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool inverted, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MethodHandle mlx_number_of_elements$handle() { + return mlx_number_of_elements.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_number_of_elements(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool inverted, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MemorySegment mlx_number_of_elements$address() { + return mlx_number_of_elements.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_number_of_elements(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool inverted, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static int mlx_number_of_elements(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean inverted, int dtype, MemorySegment s) { + var mh$ = mlx_number_of_elements.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_number_of_elements", res, a, axes, axes_num, inverted, dtype, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, inverted, dtype, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_ones { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_ones"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_ones(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_ones$descriptor() { + return mlx_ones.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_ones(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MethodHandle mlx_ones$handle() { + return mlx_ones.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_ones(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MemorySegment mlx_ones$address() { + return mlx_ones.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_ones(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static int mlx_ones(MemorySegment res, MemorySegment shape, long shape_num, int dtype, MemorySegment s) { + var mh$ = mlx_ones.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_ones", res, shape, shape_num, dtype, s); + } + return (int)mh$.invokeExact(res, shape, shape_num, dtype, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_ones_like { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_ones_like"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_ones_like(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_ones_like$descriptor() { + return mlx_ones_like.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_ones_like(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_ones_like$handle() { + return mlx_ones_like.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_ones_like(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_ones_like$address() { + return mlx_ones_like.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_ones_like(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_ones_like(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_ones_like.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_ones_like", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_outer { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_outer"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_outer(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_outer$descriptor() { + return mlx_outer.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_outer(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_outer$handle() { + return mlx_outer.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_outer(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_outer$address() { + return mlx_outer.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_outer(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_outer(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_outer.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_outer", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_pad { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_pad"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_pad(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const int *low_pad_size, size_t low_pad_size_num, const int *high_pad_size, size_t high_pad_size_num, const mlx_array pad_value, const char *mode, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_pad$descriptor() { + return mlx_pad.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_pad(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const int *low_pad_size, size_t low_pad_size_num, const int *high_pad_size, size_t high_pad_size_num, const mlx_array pad_value, const char *mode, const mlx_stream s) + * } + */ + public static MethodHandle mlx_pad$handle() { + return mlx_pad.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_pad(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const int *low_pad_size, size_t low_pad_size_num, const int *high_pad_size, size_t high_pad_size_num, const mlx_array pad_value, const char *mode, const mlx_stream s) + * } + */ + public static MemorySegment mlx_pad$address() { + return mlx_pad.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_pad(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const int *low_pad_size, size_t low_pad_size_num, const int *high_pad_size, size_t high_pad_size_num, const mlx_array pad_value, const char *mode, const mlx_stream s) + * } + */ + public static int mlx_pad(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, MemorySegment low_pad_size, long low_pad_size_num, MemorySegment high_pad_size, long high_pad_size_num, MemorySegment pad_value, MemorySegment mode, MemorySegment s) { + var mh$ = mlx_pad.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_pad", res, a, axes, axes_num, low_pad_size, low_pad_size_num, high_pad_size, high_pad_size_num, pad_value, mode, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, low_pad_size, low_pad_size_num, high_pad_size, high_pad_size_num, pad_value, mode, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_pad_symmetric { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_pad_symmetric"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_pad_symmetric(mlx_array *res, const mlx_array a, int pad_width, const mlx_array pad_value, const char *mode, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_pad_symmetric$descriptor() { + return mlx_pad_symmetric.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_pad_symmetric(mlx_array *res, const mlx_array a, int pad_width, const mlx_array pad_value, const char *mode, const mlx_stream s) + * } + */ + public static MethodHandle mlx_pad_symmetric$handle() { + return mlx_pad_symmetric.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_pad_symmetric(mlx_array *res, const mlx_array a, int pad_width, const mlx_array pad_value, const char *mode, const mlx_stream s) + * } + */ + public static MemorySegment mlx_pad_symmetric$address() { + return mlx_pad_symmetric.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_pad_symmetric(mlx_array *res, const mlx_array a, int pad_width, const mlx_array pad_value, const char *mode, const mlx_stream s) + * } + */ + public static int mlx_pad_symmetric(MemorySegment res, MemorySegment a, int pad_width, MemorySegment pad_value, MemorySegment mode, MemorySegment s) { + var mh$ = mlx_pad_symmetric.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_pad_symmetric", res, a, pad_width, pad_value, mode, s); + } + return (int)mh$.invokeExact(res, a, pad_width, pad_value, mode, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_partition_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_partition_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_partition_axis(mlx_array *res, const mlx_array a, int kth, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_partition_axis$descriptor() { + return mlx_partition_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_partition_axis(mlx_array *res, const mlx_array a, int kth, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_partition_axis$handle() { + return mlx_partition_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_partition_axis(mlx_array *res, const mlx_array a, int kth, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_partition_axis$address() { + return mlx_partition_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_partition_axis(mlx_array *res, const mlx_array a, int kth, int axis, const mlx_stream s) + * } + */ + public static int mlx_partition_axis(MemorySegment res, MemorySegment a, int kth, int axis, MemorySegment s) { + var mh$ = mlx_partition_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_partition_axis", res, a, kth, axis, s); + } + return (int)mh$.invokeExact(res, a, kth, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_partition { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_partition"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_partition(mlx_array *res, const mlx_array a, int kth, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_partition$descriptor() { + return mlx_partition.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_partition(mlx_array *res, const mlx_array a, int kth, const mlx_stream s) + * } + */ + public static MethodHandle mlx_partition$handle() { + return mlx_partition.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_partition(mlx_array *res, const mlx_array a, int kth, const mlx_stream s) + * } + */ + public static MemorySegment mlx_partition$address() { + return mlx_partition.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_partition(mlx_array *res, const mlx_array a, int kth, const mlx_stream s) + * } + */ + public static int mlx_partition(MemorySegment res, MemorySegment a, int kth, MemorySegment s) { + var mh$ = mlx_partition.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_partition", res, a, kth, s); + } + return (int)mh$.invokeExact(res, a, kth, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_power { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_power"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_power(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_power$descriptor() { + return mlx_power.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_power(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_power$handle() { + return mlx_power.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_power(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_power$address() { + return mlx_power.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_power(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_power(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_power.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_power", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_prod_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_prod_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_prod_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_prod_axes$descriptor() { + return mlx_prod_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_prod_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_prod_axes$handle() { + return mlx_prod_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_prod_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_prod_axes$address() { + return mlx_prod_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_prod_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_prod_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean keepdims, MemorySegment s) { + var mh$ = mlx_prod_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_prod_axes", res, a, axes, axes_num, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_prod_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_prod_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_prod_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_prod_axis$descriptor() { + return mlx_prod_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_prod_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_prod_axis$handle() { + return mlx_prod_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_prod_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_prod_axis$address() { + return mlx_prod_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_prod_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_prod_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, MemorySegment s) { + var mh$ = mlx_prod_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_prod_axis", res, a, axis, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_prod { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_prod"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_prod(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_prod$descriptor() { + return mlx_prod.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_prod(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_prod$handle() { + return mlx_prod.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_prod(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_prod$address() { + return mlx_prod.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_prod(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_prod(MemorySegment res, MemorySegment a, boolean keepdims, MemorySegment s) { + var mh$ = mlx_prod.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_prod", res, a, keepdims, s); + } + return (int)mh$.invokeExact(res, a, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_put_along_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_put_along_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_put_along_axis(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_array values, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_put_along_axis$descriptor() { + return mlx_put_along_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_put_along_axis(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_array values, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_put_along_axis$handle() { + return mlx_put_along_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_put_along_axis(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_array values, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_put_along_axis$address() { + return mlx_put_along_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_put_along_axis(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_array values, int axis, const mlx_stream s) + * } + */ + public static int mlx_put_along_axis(MemorySegment res, MemorySegment a, MemorySegment indices, MemorySegment values, int axis, MemorySegment s) { + var mh$ = mlx_put_along_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_put_along_axis", res, a, indices, values, axis, s); + } + return (int)mh$.invokeExact(res, a, indices, values, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_quantize { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_quantize"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_quantize(mlx_array *res_0, mlx_array *res_1, mlx_array *res_2, const mlx_array w, int group_size, int bits, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_quantize$descriptor() { + return mlx_quantize.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_quantize(mlx_array *res_0, mlx_array *res_1, mlx_array *res_2, const mlx_array w, int group_size, int bits, const mlx_stream s) + * } + */ + public static MethodHandle mlx_quantize$handle() { + return mlx_quantize.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_quantize(mlx_array *res_0, mlx_array *res_1, mlx_array *res_2, const mlx_array w, int group_size, int bits, const mlx_stream s) + * } + */ + public static MemorySegment mlx_quantize$address() { + return mlx_quantize.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_quantize(mlx_array *res_0, mlx_array *res_1, mlx_array *res_2, const mlx_array w, int group_size, int bits, const mlx_stream s) + * } + */ + public static int mlx_quantize(MemorySegment res_0, MemorySegment res_1, MemorySegment res_2, MemorySegment w, int group_size, int bits, MemorySegment s) { + var mh$ = mlx_quantize.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_quantize", res_0, res_1, res_2, w, group_size, bits, s); + } + return (int)mh$.invokeExact(res_0, res_1, res_2, w, group_size, bits, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_quantized_matmul { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_quantized_matmul"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_quantized_matmul(mlx_array *res, const mlx_array x, const mlx_array w, const mlx_array scales, const mlx_array biases, bool transpose, int group_size, int bits, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_quantized_matmul$descriptor() { + return mlx_quantized_matmul.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_quantized_matmul(mlx_array *res, const mlx_array x, const mlx_array w, const mlx_array scales, const mlx_array biases, bool transpose, int group_size, int bits, const mlx_stream s) + * } + */ + public static MethodHandle mlx_quantized_matmul$handle() { + return mlx_quantized_matmul.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_quantized_matmul(mlx_array *res, const mlx_array x, const mlx_array w, const mlx_array scales, const mlx_array biases, bool transpose, int group_size, int bits, const mlx_stream s) + * } + */ + public static MemorySegment mlx_quantized_matmul$address() { + return mlx_quantized_matmul.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_quantized_matmul(mlx_array *res, const mlx_array x, const mlx_array w, const mlx_array scales, const mlx_array biases, bool transpose, int group_size, int bits, const mlx_stream s) + * } + */ + public static int mlx_quantized_matmul(MemorySegment res, MemorySegment x, MemorySegment w, MemorySegment scales, MemorySegment biases, boolean transpose, int group_size, int bits, MemorySegment s) { + var mh$ = mlx_quantized_matmul.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_quantized_matmul", res, x, w, scales, biases, transpose, group_size, bits, s); + } + return (int)mh$.invokeExact(res, x, w, scales, biases, transpose, group_size, bits, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_radians { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_radians"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_radians(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_radians$descriptor() { + return mlx_radians.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_radians(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_radians$handle() { + return mlx_radians.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_radians(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_radians$address() { + return mlx_radians.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_radians(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_radians(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_radians.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_radians", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_real { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_real"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_real(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_real$descriptor() { + return mlx_real.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_real(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_real$handle() { + return mlx_real.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_real(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_real$address() { + return mlx_real.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_real(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_real(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_real.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_real", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_reciprocal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_reciprocal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_reciprocal(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_reciprocal$descriptor() { + return mlx_reciprocal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_reciprocal(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_reciprocal$handle() { + return mlx_reciprocal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_reciprocal(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_reciprocal$address() { + return mlx_reciprocal.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_reciprocal(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_reciprocal(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_reciprocal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_reciprocal", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_remainder { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_remainder"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_remainder(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_remainder$descriptor() { + return mlx_remainder.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_remainder(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_remainder$handle() { + return mlx_remainder.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_remainder(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_remainder$address() { + return mlx_remainder.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_remainder(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_remainder(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_remainder.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_remainder", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_repeat_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_repeat_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_repeat_axis(mlx_array *res, const mlx_array arr, int repeats, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_repeat_axis$descriptor() { + return mlx_repeat_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_repeat_axis(mlx_array *res, const mlx_array arr, int repeats, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_repeat_axis$handle() { + return mlx_repeat_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_repeat_axis(mlx_array *res, const mlx_array arr, int repeats, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_repeat_axis$address() { + return mlx_repeat_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_repeat_axis(mlx_array *res, const mlx_array arr, int repeats, int axis, const mlx_stream s) + * } + */ + public static int mlx_repeat_axis(MemorySegment res, MemorySegment arr, int repeats, int axis, MemorySegment s) { + var mh$ = mlx_repeat_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_repeat_axis", res, arr, repeats, axis, s); + } + return (int)mh$.invokeExact(res, arr, repeats, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_repeat { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_repeat"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_repeat(mlx_array *res, const mlx_array arr, int repeats, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_repeat$descriptor() { + return mlx_repeat.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_repeat(mlx_array *res, const mlx_array arr, int repeats, const mlx_stream s) + * } + */ + public static MethodHandle mlx_repeat$handle() { + return mlx_repeat.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_repeat(mlx_array *res, const mlx_array arr, int repeats, const mlx_stream s) + * } + */ + public static MemorySegment mlx_repeat$address() { + return mlx_repeat.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_repeat(mlx_array *res, const mlx_array arr, int repeats, const mlx_stream s) + * } + */ + public static int mlx_repeat(MemorySegment res, MemorySegment arr, int repeats, MemorySegment s) { + var mh$ = mlx_repeat.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_repeat", res, arr, repeats, s); + } + return (int)mh$.invokeExact(res, arr, repeats, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_reshape { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_reshape"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_reshape(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_reshape$descriptor() { + return mlx_reshape.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_reshape(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_reshape$handle() { + return mlx_reshape.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_reshape(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_reshape$address() { + return mlx_reshape.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_reshape(mlx_array *res, const mlx_array a, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static int mlx_reshape(MemorySegment res, MemorySegment a, MemorySegment shape, long shape_num, MemorySegment s) { + var mh$ = mlx_reshape.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_reshape", res, a, shape, shape_num, s); + } + return (int)mh$.invokeExact(res, a, shape, shape_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_right_shift { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_right_shift"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_right_shift(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_right_shift$descriptor() { + return mlx_right_shift.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_right_shift(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_right_shift$handle() { + return mlx_right_shift.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_right_shift(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_right_shift$address() { + return mlx_right_shift.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_right_shift(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_right_shift(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_right_shift.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_right_shift", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_roll_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_roll_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_roll_axis(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_roll_axis$descriptor() { + return mlx_roll_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_roll_axis(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_roll_axis$handle() { + return mlx_roll_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_roll_axis(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_roll_axis$address() { + return mlx_roll_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_roll_axis(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, int axis, const mlx_stream s) + * } + */ + public static int mlx_roll_axis(MemorySegment res, MemorySegment a, MemorySegment shift, long shift_num, int axis, MemorySegment s) { + var mh$ = mlx_roll_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_roll_axis", res, a, shift, shift_num, axis, s); + } + return (int)mh$.invokeExact(res, a, shift, shift_num, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_roll_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_roll_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_roll_axes(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_roll_axes$descriptor() { + return mlx_roll_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_roll_axes(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_roll_axes$handle() { + return mlx_roll_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_roll_axes(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_roll_axes$address() { + return mlx_roll_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_roll_axes(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_roll_axes(MemorySegment res, MemorySegment a, MemorySegment shift, long shift_num, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_roll_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_roll_axes", res, a, shift, shift_num, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, shift, shift_num, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_roll { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_roll"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_roll(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_roll$descriptor() { + return mlx_roll.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_roll(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_roll$handle() { + return mlx_roll.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_roll(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_roll$address() { + return mlx_roll.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_roll(mlx_array *res, const mlx_array a, const int *shift, size_t shift_num, const mlx_stream s) + * } + */ + public static int mlx_roll(MemorySegment res, MemorySegment a, MemorySegment shift, long shift_num, MemorySegment s) { + var mh$ = mlx_roll.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_roll", res, a, shift, shift_num, s); + } + return (int)mh$.invokeExact(res, a, shift, shift_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_round { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_round"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_round(mlx_array *res, const mlx_array a, int decimals, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_round$descriptor() { + return mlx_round.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_round(mlx_array *res, const mlx_array a, int decimals, const mlx_stream s) + * } + */ + public static MethodHandle mlx_round$handle() { + return mlx_round.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_round(mlx_array *res, const mlx_array a, int decimals, const mlx_stream s) + * } + */ + public static MemorySegment mlx_round$address() { + return mlx_round.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_round(mlx_array *res, const mlx_array a, int decimals, const mlx_stream s) + * } + */ + public static int mlx_round(MemorySegment res, MemorySegment a, int decimals, MemorySegment s) { + var mh$ = mlx_round.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_round", res, a, decimals, s); + } + return (int)mh$.invokeExact(res, a, decimals, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_rsqrt { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_rsqrt"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_rsqrt(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_rsqrt$descriptor() { + return mlx_rsqrt.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_rsqrt(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_rsqrt$handle() { + return mlx_rsqrt.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_rsqrt(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_rsqrt$address() { + return mlx_rsqrt.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_rsqrt(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_rsqrt(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_rsqrt.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_rsqrt", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_scatter { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_vector_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_scatter"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_scatter(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_scatter$descriptor() { + return mlx_scatter.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_scatter(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_scatter$handle() { + return mlx_scatter.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_scatter(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_scatter$address() { + return mlx_scatter.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_scatter(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_scatter(MemorySegment res, MemorySegment a, MemorySegment indices, MemorySegment updates, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_scatter.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_scatter", res, a, indices, updates, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, indices, updates, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_scatter_add { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_vector_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_scatter_add"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_scatter_add(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_scatter_add$descriptor() { + return mlx_scatter_add.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_scatter_add(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_scatter_add$handle() { + return mlx_scatter_add.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_scatter_add(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_scatter_add$address() { + return mlx_scatter_add.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_scatter_add(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_scatter_add(MemorySegment res, MemorySegment a, MemorySegment indices, MemorySegment updates, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_scatter_add.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_scatter_add", res, a, indices, updates, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, indices, updates, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_scatter_add_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_scatter_add_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_scatter_add_axis(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_array values, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_scatter_add_axis$descriptor() { + return mlx_scatter_add_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_scatter_add_axis(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_array values, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_scatter_add_axis$handle() { + return mlx_scatter_add_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_scatter_add_axis(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_array values, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_scatter_add_axis$address() { + return mlx_scatter_add_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_scatter_add_axis(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_array values, int axis, const mlx_stream s) + * } + */ + public static int mlx_scatter_add_axis(MemorySegment res, MemorySegment a, MemorySegment indices, MemorySegment values, int axis, MemorySegment s) { + var mh$ = mlx_scatter_add_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_scatter_add_axis", res, a, indices, values, axis, s); + } + return (int)mh$.invokeExact(res, a, indices, values, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_scatter_max { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_vector_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_scatter_max"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_scatter_max(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_scatter_max$descriptor() { + return mlx_scatter_max.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_scatter_max(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_scatter_max$handle() { + return mlx_scatter_max.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_scatter_max(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_scatter_max$address() { + return mlx_scatter_max.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_scatter_max(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_scatter_max(MemorySegment res, MemorySegment a, MemorySegment indices, MemorySegment updates, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_scatter_max.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_scatter_max", res, a, indices, updates, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, indices, updates, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_scatter_min { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_vector_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_scatter_min"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_scatter_min(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_scatter_min$descriptor() { + return mlx_scatter_min.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_scatter_min(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_scatter_min$handle() { + return mlx_scatter_min.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_scatter_min(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_scatter_min$address() { + return mlx_scatter_min.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_scatter_min(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_scatter_min(MemorySegment res, MemorySegment a, MemorySegment indices, MemorySegment updates, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_scatter_min.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_scatter_min", res, a, indices, updates, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, indices, updates, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_scatter_prod { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_vector_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_scatter_prod"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_scatter_prod(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_scatter_prod$descriptor() { + return mlx_scatter_prod.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_scatter_prod(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_scatter_prod$handle() { + return mlx_scatter_prod.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_scatter_prod(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_scatter_prod$address() { + return mlx_scatter_prod.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_scatter_prod(mlx_array *res, const mlx_array a, const mlx_vector_array indices, const mlx_array updates, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_scatter_prod(MemorySegment res, MemorySegment a, MemorySegment indices, MemorySegment updates, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_scatter_prod.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_scatter_prod", res, a, indices, updates, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, indices, updates, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_sigmoid { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_sigmoid"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_sigmoid(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_sigmoid$descriptor() { + return mlx_sigmoid.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_sigmoid(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_sigmoid$handle() { + return mlx_sigmoid.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_sigmoid(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_sigmoid$address() { + return mlx_sigmoid.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_sigmoid(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_sigmoid(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_sigmoid.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_sigmoid", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_sign { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_sign"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_sign(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_sign$descriptor() { + return mlx_sign.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_sign(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_sign$handle() { + return mlx_sign.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_sign(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_sign$address() { + return mlx_sign.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_sign(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_sign(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_sign.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_sign", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_sin { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_sin"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_sin(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_sin$descriptor() { + return mlx_sin.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_sin(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_sin$handle() { + return mlx_sin.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_sin(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_sin$address() { + return mlx_sin.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_sin(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_sin(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_sin.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_sin", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_sinh { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_sinh"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_sinh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_sinh$descriptor() { + return mlx_sinh.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_sinh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_sinh$handle() { + return mlx_sinh.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_sinh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_sinh$address() { + return mlx_sinh.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_sinh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_sinh(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_sinh.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_sinh", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_slice { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_slice"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_slice(mlx_array *res, const mlx_array a, const int *start, size_t start_num, const int *stop, size_t stop_num, const int *strides, size_t strides_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_slice$descriptor() { + return mlx_slice.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_slice(mlx_array *res, const mlx_array a, const int *start, size_t start_num, const int *stop, size_t stop_num, const int *strides, size_t strides_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_slice$handle() { + return mlx_slice.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_slice(mlx_array *res, const mlx_array a, const int *start, size_t start_num, const int *stop, size_t stop_num, const int *strides, size_t strides_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_slice$address() { + return mlx_slice.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_slice(mlx_array *res, const mlx_array a, const int *start, size_t start_num, const int *stop, size_t stop_num, const int *strides, size_t strides_num, const mlx_stream s) + * } + */ + public static int mlx_slice(MemorySegment res, MemorySegment a, MemorySegment start, long start_num, MemorySegment stop, long stop_num, MemorySegment strides, long strides_num, MemorySegment s) { + var mh$ = mlx_slice.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_slice", res, a, start, start_num, stop, stop_num, strides, strides_num, s); + } + return (int)mh$.invokeExact(res, a, start, start_num, stop, stop_num, strides, strides_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_slice_dynamic { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_slice_dynamic"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_slice_dynamic(mlx_array *res, const mlx_array a, const mlx_array start, const int *axes, size_t axes_num, const int *slice_size, size_t slice_size_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_slice_dynamic$descriptor() { + return mlx_slice_dynamic.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_slice_dynamic(mlx_array *res, const mlx_array a, const mlx_array start, const int *axes, size_t axes_num, const int *slice_size, size_t slice_size_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_slice_dynamic$handle() { + return mlx_slice_dynamic.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_slice_dynamic(mlx_array *res, const mlx_array a, const mlx_array start, const int *axes, size_t axes_num, const int *slice_size, size_t slice_size_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_slice_dynamic$address() { + return mlx_slice_dynamic.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_slice_dynamic(mlx_array *res, const mlx_array a, const mlx_array start, const int *axes, size_t axes_num, const int *slice_size, size_t slice_size_num, const mlx_stream s) + * } + */ + public static int mlx_slice_dynamic(MemorySegment res, MemorySegment a, MemorySegment start, MemorySegment axes, long axes_num, MemorySegment slice_size, long slice_size_num, MemorySegment s) { + var mh$ = mlx_slice_dynamic.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_slice_dynamic", res, a, start, axes, axes_num, slice_size, slice_size_num, s); + } + return (int)mh$.invokeExact(res, a, start, axes, axes_num, slice_size, slice_size_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_slice_update { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_slice_update"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_slice_update(mlx_array *res, const mlx_array src, const mlx_array update, const int *start, size_t start_num, const int *stop, size_t stop_num, const int *strides, size_t strides_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_slice_update$descriptor() { + return mlx_slice_update.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_slice_update(mlx_array *res, const mlx_array src, const mlx_array update, const int *start, size_t start_num, const int *stop, size_t stop_num, const int *strides, size_t strides_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_slice_update$handle() { + return mlx_slice_update.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_slice_update(mlx_array *res, const mlx_array src, const mlx_array update, const int *start, size_t start_num, const int *stop, size_t stop_num, const int *strides, size_t strides_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_slice_update$address() { + return mlx_slice_update.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_slice_update(mlx_array *res, const mlx_array src, const mlx_array update, const int *start, size_t start_num, const int *stop, size_t stop_num, const int *strides, size_t strides_num, const mlx_stream s) + * } + */ + public static int mlx_slice_update(MemorySegment res, MemorySegment src, MemorySegment update, MemorySegment start, long start_num, MemorySegment stop, long stop_num, MemorySegment strides, long strides_num, MemorySegment s) { + var mh$ = mlx_slice_update.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_slice_update", res, src, update, start, start_num, stop, stop_num, strides, strides_num, s); + } + return (int)mh$.invokeExact(res, src, update, start, start_num, stop, stop_num, strides, strides_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_slice_update_dynamic { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_slice_update_dynamic"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_slice_update_dynamic(mlx_array *res, const mlx_array src, const mlx_array update, const mlx_array start, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_slice_update_dynamic$descriptor() { + return mlx_slice_update_dynamic.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_slice_update_dynamic(mlx_array *res, const mlx_array src, const mlx_array update, const mlx_array start, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_slice_update_dynamic$handle() { + return mlx_slice_update_dynamic.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_slice_update_dynamic(mlx_array *res, const mlx_array src, const mlx_array update, const mlx_array start, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_slice_update_dynamic$address() { + return mlx_slice_update_dynamic.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_slice_update_dynamic(mlx_array *res, const mlx_array src, const mlx_array update, const mlx_array start, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_slice_update_dynamic(MemorySegment res, MemorySegment src, MemorySegment update, MemorySegment start, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_slice_update_dynamic.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_slice_update_dynamic", res, src, update, start, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, src, update, start, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_softmax_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_softmax_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_softmax_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool precise, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_softmax_axes$descriptor() { + return mlx_softmax_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_softmax_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool precise, const mlx_stream s) + * } + */ + public static MethodHandle mlx_softmax_axes$handle() { + return mlx_softmax_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_softmax_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool precise, const mlx_stream s) + * } + */ + public static MemorySegment mlx_softmax_axes$address() { + return mlx_softmax_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_softmax_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool precise, const mlx_stream s) + * } + */ + public static int mlx_softmax_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean precise, MemorySegment s) { + var mh$ = mlx_softmax_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_softmax_axes", res, a, axes, axes_num, precise, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, precise, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_softmax_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_softmax_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_softmax_axis(mlx_array *res, const mlx_array a, int axis, bool precise, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_softmax_axis$descriptor() { + return mlx_softmax_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_softmax_axis(mlx_array *res, const mlx_array a, int axis, bool precise, const mlx_stream s) + * } + */ + public static MethodHandle mlx_softmax_axis$handle() { + return mlx_softmax_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_softmax_axis(mlx_array *res, const mlx_array a, int axis, bool precise, const mlx_stream s) + * } + */ + public static MemorySegment mlx_softmax_axis$address() { + return mlx_softmax_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_softmax_axis(mlx_array *res, const mlx_array a, int axis, bool precise, const mlx_stream s) + * } + */ + public static int mlx_softmax_axis(MemorySegment res, MemorySegment a, int axis, boolean precise, MemorySegment s) { + var mh$ = mlx_softmax_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_softmax_axis", res, a, axis, precise, s); + } + return (int)mh$.invokeExact(res, a, axis, precise, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_softmax { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_softmax"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_softmax(mlx_array *res, const mlx_array a, bool precise, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_softmax$descriptor() { + return mlx_softmax.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_softmax(mlx_array *res, const mlx_array a, bool precise, const mlx_stream s) + * } + */ + public static MethodHandle mlx_softmax$handle() { + return mlx_softmax.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_softmax(mlx_array *res, const mlx_array a, bool precise, const mlx_stream s) + * } + */ + public static MemorySegment mlx_softmax$address() { + return mlx_softmax.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_softmax(mlx_array *res, const mlx_array a, bool precise, const mlx_stream s) + * } + */ + public static int mlx_softmax(MemorySegment res, MemorySegment a, boolean precise, MemorySegment s) { + var mh$ = mlx_softmax.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_softmax", res, a, precise, s); + } + return (int)mh$.invokeExact(res, a, precise, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_sort_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_sort_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_sort_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_sort_axis$descriptor() { + return mlx_sort_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_sort_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_sort_axis$handle() { + return mlx_sort_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_sort_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_sort_axis$address() { + return mlx_sort_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_sort_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static int mlx_sort_axis(MemorySegment res, MemorySegment a, int axis, MemorySegment s) { + var mh$ = mlx_sort_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_sort_axis", res, a, axis, s); + } + return (int)mh$.invokeExact(res, a, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_sort { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_sort"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_sort(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_sort$descriptor() { + return mlx_sort.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_sort(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_sort$handle() { + return mlx_sort.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_sort(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_sort$address() { + return mlx_sort.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_sort(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_sort(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_sort.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_sort", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_split { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_split"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_split(mlx_vector_array *res, const mlx_array a, int num_splits, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_split$descriptor() { + return mlx_split.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_split(mlx_vector_array *res, const mlx_array a, int num_splits, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_split$handle() { + return mlx_split.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_split(mlx_vector_array *res, const mlx_array a, int num_splits, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_split$address() { + return mlx_split.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_split(mlx_vector_array *res, const mlx_array a, int num_splits, int axis, const mlx_stream s) + * } + */ + public static int mlx_split(MemorySegment res, MemorySegment a, int num_splits, int axis, MemorySegment s) { + var mh$ = mlx_split.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_split", res, a, num_splits, axis, s); + } + return (int)mh$.invokeExact(res, a, num_splits, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_split_sections { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_split_sections"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_split_sections(mlx_vector_array *res, const mlx_array a, const int *indices, size_t indices_num, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_split_sections$descriptor() { + return mlx_split_sections.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_split_sections(mlx_vector_array *res, const mlx_array a, const int *indices, size_t indices_num, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_split_sections$handle() { + return mlx_split_sections.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_split_sections(mlx_vector_array *res, const mlx_array a, const int *indices, size_t indices_num, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_split_sections$address() { + return mlx_split_sections.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_split_sections(mlx_vector_array *res, const mlx_array a, const int *indices, size_t indices_num, int axis, const mlx_stream s) + * } + */ + public static int mlx_split_sections(MemorySegment res, MemorySegment a, MemorySegment indices, long indices_num, int axis, MemorySegment s) { + var mh$ = mlx_split_sections.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_split_sections", res, a, indices, indices_num, axis, s); + } + return (int)mh$.invokeExact(res, a, indices, indices_num, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_sqrt { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_sqrt"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_sqrt(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_sqrt$descriptor() { + return mlx_sqrt.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_sqrt(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_sqrt$handle() { + return mlx_sqrt.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_sqrt(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_sqrt$address() { + return mlx_sqrt.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_sqrt(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_sqrt(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_sqrt.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_sqrt", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_square { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_square"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_square(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_square$descriptor() { + return mlx_square.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_square(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_square$handle() { + return mlx_square.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_square(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_square$address() { + return mlx_square.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_square(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_square(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_square.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_square", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_squeeze_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_squeeze_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_squeeze_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_squeeze_axes$descriptor() { + return mlx_squeeze_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_squeeze_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_squeeze_axes$handle() { + return mlx_squeeze_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_squeeze_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_squeeze_axes$address() { + return mlx_squeeze_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_squeeze_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_squeeze_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_squeeze_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_squeeze_axes", res, a, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_squeeze_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_squeeze_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_squeeze_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_squeeze_axis$descriptor() { + return mlx_squeeze_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_squeeze_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_squeeze_axis$handle() { + return mlx_squeeze_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_squeeze_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_squeeze_axis$address() { + return mlx_squeeze_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_squeeze_axis(mlx_array *res, const mlx_array a, int axis, const mlx_stream s) + * } + */ + public static int mlx_squeeze_axis(MemorySegment res, MemorySegment a, int axis, MemorySegment s) { + var mh$ = mlx_squeeze_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_squeeze_axis", res, a, axis, s); + } + return (int)mh$.invokeExact(res, a, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_squeeze { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_squeeze"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_squeeze(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_squeeze$descriptor() { + return mlx_squeeze.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_squeeze(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_squeeze$handle() { + return mlx_squeeze.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_squeeze(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_squeeze$address() { + return mlx_squeeze.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_squeeze(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_squeeze(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_squeeze.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_squeeze", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_stack_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_stack_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_stack_axis(mlx_array *res, const mlx_vector_array arrays, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_stack_axis$descriptor() { + return mlx_stack_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_stack_axis(mlx_array *res, const mlx_vector_array arrays, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_stack_axis$handle() { + return mlx_stack_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_stack_axis(mlx_array *res, const mlx_vector_array arrays, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_stack_axis$address() { + return mlx_stack_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_stack_axis(mlx_array *res, const mlx_vector_array arrays, int axis, const mlx_stream s) + * } + */ + public static int mlx_stack_axis(MemorySegment res, MemorySegment arrays, int axis, MemorySegment s) { + var mh$ = mlx_stack_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_stack_axis", res, arrays, axis, s); + } + return (int)mh$.invokeExact(res, arrays, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_stack { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_stack"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_stack(mlx_array *res, const mlx_vector_array arrays, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_stack$descriptor() { + return mlx_stack.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_stack(mlx_array *res, const mlx_vector_array arrays, const mlx_stream s) + * } + */ + public static MethodHandle mlx_stack$handle() { + return mlx_stack.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_stack(mlx_array *res, const mlx_vector_array arrays, const mlx_stream s) + * } + */ + public static MemorySegment mlx_stack$address() { + return mlx_stack.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_stack(mlx_array *res, const mlx_vector_array arrays, const mlx_stream s) + * } + */ + public static int mlx_stack(MemorySegment res, MemorySegment arrays, MemorySegment s) { + var mh$ = mlx_stack.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_stack", res, arrays, s); + } + return (int)mh$.invokeExact(res, arrays, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_std_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_std_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_std_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_std_axes$descriptor() { + return mlx_std_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_std_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MethodHandle mlx_std_axes$handle() { + return mlx_std_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_std_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MemorySegment mlx_std_axes$address() { + return mlx_std_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_std_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static int mlx_std_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean keepdims, int ddof, MemorySegment s) { + var mh$ = mlx_std_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_std_axes", res, a, axes, axes_num, keepdims, ddof, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, keepdims, ddof, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_std_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_std_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_std_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_std_axis$descriptor() { + return mlx_std_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_std_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MethodHandle mlx_std_axis$handle() { + return mlx_std_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_std_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MemorySegment mlx_std_axis$address() { + return mlx_std_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_std_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static int mlx_std_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, int ddof, MemorySegment s) { + var mh$ = mlx_std_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_std_axis", res, a, axis, keepdims, ddof, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, ddof, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_std { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_std"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_std(mlx_array *res, const mlx_array a, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_std$descriptor() { + return mlx_std.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_std(mlx_array *res, const mlx_array a, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MethodHandle mlx_std$handle() { + return mlx_std.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_std(mlx_array *res, const mlx_array a, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MemorySegment mlx_std$address() { + return mlx_std.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_std(mlx_array *res, const mlx_array a, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static int mlx_std(MemorySegment res, MemorySegment a, boolean keepdims, int ddof, MemorySegment s) { + var mh$ = mlx_std.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_std", res, a, keepdims, ddof, s); + } + return (int)mh$.invokeExact(res, a, keepdims, ddof, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_stop_gradient { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_stop_gradient"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_stop_gradient(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_stop_gradient$descriptor() { + return mlx_stop_gradient.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_stop_gradient(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_stop_gradient$handle() { + return mlx_stop_gradient.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_stop_gradient(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_stop_gradient$address() { + return mlx_stop_gradient.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_stop_gradient(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_stop_gradient(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_stop_gradient.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_stop_gradient", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_subtract { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_subtract"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_subtract(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_subtract$descriptor() { + return mlx_subtract.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_subtract(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MethodHandle mlx_subtract$handle() { + return mlx_subtract.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_subtract(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static MemorySegment mlx_subtract$address() { + return mlx_subtract.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_subtract(mlx_array *res, const mlx_array a, const mlx_array b, const mlx_stream s) + * } + */ + public static int mlx_subtract(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment s) { + var mh$ = mlx_subtract.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_subtract", res, a, b, s); + } + return (int)mh$.invokeExact(res, a, b, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_sum_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_sum_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_sum_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_sum_axes$descriptor() { + return mlx_sum_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_sum_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_sum_axes$handle() { + return mlx_sum_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_sum_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_sum_axes$address() { + return mlx_sum_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_sum_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_sum_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean keepdims, MemorySegment s) { + var mh$ = mlx_sum_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_sum_axes", res, a, axes, axes_num, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_sum_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_sum_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_sum_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_sum_axis$descriptor() { + return mlx_sum_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_sum_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_sum_axis$handle() { + return mlx_sum_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_sum_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_sum_axis$address() { + return mlx_sum_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_sum_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_sum_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, MemorySegment s) { + var mh$ = mlx_sum_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_sum_axis", res, a, axis, keepdims, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_sum { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_sum"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_sum(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_sum$descriptor() { + return mlx_sum.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_sum(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MethodHandle mlx_sum$handle() { + return mlx_sum.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_sum(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static MemorySegment mlx_sum$address() { + return mlx_sum.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_sum(mlx_array *res, const mlx_array a, bool keepdims, const mlx_stream s) + * } + */ + public static int mlx_sum(MemorySegment res, MemorySegment a, boolean keepdims, MemorySegment s) { + var mh$ = mlx_sum.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_sum", res, a, keepdims, s); + } + return (int)mh$.invokeExact(res, a, keepdims, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_swapaxes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_swapaxes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_swapaxes(mlx_array *res, const mlx_array a, int axis1, int axis2, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_swapaxes$descriptor() { + return mlx_swapaxes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_swapaxes(mlx_array *res, const mlx_array a, int axis1, int axis2, const mlx_stream s) + * } + */ + public static MethodHandle mlx_swapaxes$handle() { + return mlx_swapaxes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_swapaxes(mlx_array *res, const mlx_array a, int axis1, int axis2, const mlx_stream s) + * } + */ + public static MemorySegment mlx_swapaxes$address() { + return mlx_swapaxes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_swapaxes(mlx_array *res, const mlx_array a, int axis1, int axis2, const mlx_stream s) + * } + */ + public static int mlx_swapaxes(MemorySegment res, MemorySegment a, int axis1, int axis2, MemorySegment s) { + var mh$ = mlx_swapaxes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_swapaxes", res, a, axis1, axis2, s); + } + return (int)mh$.invokeExact(res, a, axis1, axis2, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_take_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_take_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_take_axis(mlx_array *res, const mlx_array a, const mlx_array indices, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_take_axis$descriptor() { + return mlx_take_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_take_axis(mlx_array *res, const mlx_array a, const mlx_array indices, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_take_axis$handle() { + return mlx_take_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_take_axis(mlx_array *res, const mlx_array a, const mlx_array indices, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_take_axis$address() { + return mlx_take_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_take_axis(mlx_array *res, const mlx_array a, const mlx_array indices, int axis, const mlx_stream s) + * } + */ + public static int mlx_take_axis(MemorySegment res, MemorySegment a, MemorySegment indices, int axis, MemorySegment s) { + var mh$ = mlx_take_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_take_axis", res, a, indices, axis, s); + } + return (int)mh$.invokeExact(res, a, indices, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_take { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_take"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_take(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_take$descriptor() { + return mlx_take.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_take(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_stream s) + * } + */ + public static MethodHandle mlx_take$handle() { + return mlx_take.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_take(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_stream s) + * } + */ + public static MemorySegment mlx_take$address() { + return mlx_take.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_take(mlx_array *res, const mlx_array a, const mlx_array indices, const mlx_stream s) + * } + */ + public static int mlx_take(MemorySegment res, MemorySegment a, MemorySegment indices, MemorySegment s) { + var mh$ = mlx_take.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_take", res, a, indices, s); + } + return (int)mh$.invokeExact(res, a, indices, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_take_along_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_take_along_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_take_along_axis(mlx_array *res, const mlx_array a, const mlx_array indices, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_take_along_axis$descriptor() { + return mlx_take_along_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_take_along_axis(mlx_array *res, const mlx_array a, const mlx_array indices, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_take_along_axis$handle() { + return mlx_take_along_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_take_along_axis(mlx_array *res, const mlx_array a, const mlx_array indices, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_take_along_axis$address() { + return mlx_take_along_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_take_along_axis(mlx_array *res, const mlx_array a, const mlx_array indices, int axis, const mlx_stream s) + * } + */ + public static int mlx_take_along_axis(MemorySegment res, MemorySegment a, MemorySegment indices, int axis, MemorySegment s) { + var mh$ = mlx_take_along_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_take_along_axis", res, a, indices, axis, s); + } + return (int)mh$.invokeExact(res, a, indices, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_tan { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_tan"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_tan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_tan$descriptor() { + return mlx_tan.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_tan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_tan$handle() { + return mlx_tan.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_tan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_tan$address() { + return mlx_tan.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_tan(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_tan(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_tan.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_tan", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_tanh { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_tanh"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_tanh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_tanh$descriptor() { + return mlx_tanh.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_tanh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_tanh$handle() { + return mlx_tanh.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_tanh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_tanh$address() { + return mlx_tanh.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_tanh(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_tanh(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_tanh.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_tanh", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_tensordot { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_tensordot"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_tensordot(mlx_array *res, const mlx_array a, const mlx_array b, const int *axes_a, size_t axes_a_num, const int *axes_b, size_t axes_b_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_tensordot$descriptor() { + return mlx_tensordot.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_tensordot(mlx_array *res, const mlx_array a, const mlx_array b, const int *axes_a, size_t axes_a_num, const int *axes_b, size_t axes_b_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_tensordot$handle() { + return mlx_tensordot.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_tensordot(mlx_array *res, const mlx_array a, const mlx_array b, const int *axes_a, size_t axes_a_num, const int *axes_b, size_t axes_b_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_tensordot$address() { + return mlx_tensordot.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_tensordot(mlx_array *res, const mlx_array a, const mlx_array b, const int *axes_a, size_t axes_a_num, const int *axes_b, size_t axes_b_num, const mlx_stream s) + * } + */ + public static int mlx_tensordot(MemorySegment res, MemorySegment a, MemorySegment b, MemorySegment axes_a, long axes_a_num, MemorySegment axes_b, long axes_b_num, MemorySegment s) { + var mh$ = mlx_tensordot.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_tensordot", res, a, b, axes_a, axes_a_num, axes_b, axes_b_num, s); + } + return (int)mh$.invokeExact(res, a, b, axes_a, axes_a_num, axes_b, axes_b_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_tensordot_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_tensordot_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_tensordot_axis(mlx_array *res, const mlx_array a, const mlx_array b, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_tensordot_axis$descriptor() { + return mlx_tensordot_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_tensordot_axis(mlx_array *res, const mlx_array a, const mlx_array b, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_tensordot_axis$handle() { + return mlx_tensordot_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_tensordot_axis(mlx_array *res, const mlx_array a, const mlx_array b, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_tensordot_axis$address() { + return mlx_tensordot_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_tensordot_axis(mlx_array *res, const mlx_array a, const mlx_array b, int axis, const mlx_stream s) + * } + */ + public static int mlx_tensordot_axis(MemorySegment res, MemorySegment a, MemorySegment b, int axis, MemorySegment s) { + var mh$ = mlx_tensordot_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_tensordot_axis", res, a, b, axis, s); + } + return (int)mh$.invokeExact(res, a, b, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_tile { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_tile"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_tile(mlx_array *res, const mlx_array arr, const int *reps, size_t reps_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_tile$descriptor() { + return mlx_tile.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_tile(mlx_array *res, const mlx_array arr, const int *reps, size_t reps_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_tile$handle() { + return mlx_tile.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_tile(mlx_array *res, const mlx_array arr, const int *reps, size_t reps_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_tile$address() { + return mlx_tile.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_tile(mlx_array *res, const mlx_array arr, const int *reps, size_t reps_num, const mlx_stream s) + * } + */ + public static int mlx_tile(MemorySegment res, MemorySegment arr, MemorySegment reps, long reps_num, MemorySegment s) { + var mh$ = mlx_tile.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_tile", res, arr, reps, reps_num, s); + } + return (int)mh$.invokeExact(res, arr, reps, reps_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_topk_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_topk_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_topk_axis(mlx_array *res, const mlx_array a, int k, int axis, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_topk_axis$descriptor() { + return mlx_topk_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_topk_axis(mlx_array *res, const mlx_array a, int k, int axis, const mlx_stream s) + * } + */ + public static MethodHandle mlx_topk_axis$handle() { + return mlx_topk_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_topk_axis(mlx_array *res, const mlx_array a, int k, int axis, const mlx_stream s) + * } + */ + public static MemorySegment mlx_topk_axis$address() { + return mlx_topk_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_topk_axis(mlx_array *res, const mlx_array a, int k, int axis, const mlx_stream s) + * } + */ + public static int mlx_topk_axis(MemorySegment res, MemorySegment a, int k, int axis, MemorySegment s) { + var mh$ = mlx_topk_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_topk_axis", res, a, k, axis, s); + } + return (int)mh$.invokeExact(res, a, k, axis, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_topk { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_topk"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_topk(mlx_array *res, const mlx_array a, int k, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_topk$descriptor() { + return mlx_topk.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_topk(mlx_array *res, const mlx_array a, int k, const mlx_stream s) + * } + */ + public static MethodHandle mlx_topk$handle() { + return mlx_topk.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_topk(mlx_array *res, const mlx_array a, int k, const mlx_stream s) + * } + */ + public static MemorySegment mlx_topk$address() { + return mlx_topk.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_topk(mlx_array *res, const mlx_array a, int k, const mlx_stream s) + * } + */ + public static int mlx_topk(MemorySegment res, MemorySegment a, int k, MemorySegment s) { + var mh$ = mlx_topk.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_topk", res, a, k, s); + } + return (int)mh$.invokeExact(res, a, k, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_trace { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_trace"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_trace(mlx_array *res, const mlx_array a, int offset, int axis1, int axis2, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_trace$descriptor() { + return mlx_trace.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_trace(mlx_array *res, const mlx_array a, int offset, int axis1, int axis2, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MethodHandle mlx_trace$handle() { + return mlx_trace.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_trace(mlx_array *res, const mlx_array a, int offset, int axis1, int axis2, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MemorySegment mlx_trace$address() { + return mlx_trace.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_trace(mlx_array *res, const mlx_array a, int offset, int axis1, int axis2, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static int mlx_trace(MemorySegment res, MemorySegment a, int offset, int axis1, int axis2, int dtype, MemorySegment s) { + var mh$ = mlx_trace.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_trace", res, a, offset, axis1, axis2, dtype, s); + } + return (int)mh$.invokeExact(res, a, offset, axis1, axis2, dtype, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_transpose_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_transpose_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_transpose_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_transpose_axes$descriptor() { + return mlx_transpose_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_transpose_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_transpose_axes$handle() { + return mlx_transpose_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_transpose_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_transpose_axes$address() { + return mlx_transpose_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_transpose_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, const mlx_stream s) + * } + */ + public static int mlx_transpose_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, MemorySegment s) { + var mh$ = mlx_transpose_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_transpose_axes", res, a, axes, axes_num, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_transpose { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_transpose"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_transpose(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_transpose$descriptor() { + return mlx_transpose.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_transpose(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_transpose$handle() { + return mlx_transpose.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_transpose(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_transpose$address() { + return mlx_transpose.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_transpose(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_transpose(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_transpose.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_transpose", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_tri { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_tri"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_tri(mlx_array *res, int n, int m, int k, mlx_dtype type, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_tri$descriptor() { + return mlx_tri.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_tri(mlx_array *res, int n, int m, int k, mlx_dtype type, const mlx_stream s) + * } + */ + public static MethodHandle mlx_tri$handle() { + return mlx_tri.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_tri(mlx_array *res, int n, int m, int k, mlx_dtype type, const mlx_stream s) + * } + */ + public static MemorySegment mlx_tri$address() { + return mlx_tri.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_tri(mlx_array *res, int n, int m, int k, mlx_dtype type, const mlx_stream s) + * } + */ + public static int mlx_tri(MemorySegment res, int n, int m, int k, int type, MemorySegment s) { + var mh$ = mlx_tri.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_tri", res, n, m, k, type, s); + } + return (int)mh$.invokeExact(res, n, m, k, type, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_tril { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_tril"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_tril(mlx_array *res, const mlx_array x, int k, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_tril$descriptor() { + return mlx_tril.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_tril(mlx_array *res, const mlx_array x, int k, const mlx_stream s) + * } + */ + public static MethodHandle mlx_tril$handle() { + return mlx_tril.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_tril(mlx_array *res, const mlx_array x, int k, const mlx_stream s) + * } + */ + public static MemorySegment mlx_tril$address() { + return mlx_tril.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_tril(mlx_array *res, const mlx_array x, int k, const mlx_stream s) + * } + */ + public static int mlx_tril(MemorySegment res, MemorySegment x, int k, MemorySegment s) { + var mh$ = mlx_tril.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_tril", res, x, k, s); + } + return (int)mh$.invokeExact(res, x, k, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_triu { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_triu"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_triu(mlx_array *res, const mlx_array x, int k, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_triu$descriptor() { + return mlx_triu.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_triu(mlx_array *res, const mlx_array x, int k, const mlx_stream s) + * } + */ + public static MethodHandle mlx_triu$handle() { + return mlx_triu.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_triu(mlx_array *res, const mlx_array x, int k, const mlx_stream s) + * } + */ + public static MemorySegment mlx_triu$address() { + return mlx_triu.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_triu(mlx_array *res, const mlx_array x, int k, const mlx_stream s) + * } + */ + public static int mlx_triu(MemorySegment res, MemorySegment x, int k, MemorySegment s) { + var mh$ = mlx_triu.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_triu", res, x, k, s); + } + return (int)mh$.invokeExact(res, x, k, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_unflatten { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_unflatten"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_unflatten(mlx_array *res, const mlx_array a, int axis, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_unflatten$descriptor() { + return mlx_unflatten.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_unflatten(mlx_array *res, const mlx_array a, int axis, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_unflatten$handle() { + return mlx_unflatten.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_unflatten(mlx_array *res, const mlx_array a, int axis, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_unflatten$address() { + return mlx_unflatten.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_unflatten(mlx_array *res, const mlx_array a, int axis, const int *shape, size_t shape_num, const mlx_stream s) + * } + */ + public static int mlx_unflatten(MemorySegment res, MemorySegment a, int axis, MemorySegment shape, long shape_num, MemorySegment s) { + var mh$ = mlx_unflatten.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_unflatten", res, a, axis, shape, shape_num, s); + } + return (int)mh$.invokeExact(res, a, axis, shape, shape_num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_var_axes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_BOOL, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_var_axes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_var_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_var_axes$descriptor() { + return mlx_var_axes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_var_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MethodHandle mlx_var_axes$handle() { + return mlx_var_axes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_var_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MemorySegment mlx_var_axes$address() { + return mlx_var_axes.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_var_axes(mlx_array *res, const mlx_array a, const int *axes, size_t axes_num, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static int mlx_var_axes(MemorySegment res, MemorySegment a, MemorySegment axes, long axes_num, boolean keepdims, int ddof, MemorySegment s) { + var mh$ = mlx_var_axes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_var_axes", res, a, axes, axes_num, keepdims, ddof, s); + } + return (int)mh$.invokeExact(res, a, axes, axes_num, keepdims, ddof, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_var_axis { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_BOOL, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_var_axis"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_var_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_var_axis$descriptor() { + return mlx_var_axis.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_var_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MethodHandle mlx_var_axis$handle() { + return mlx_var_axis.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_var_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MemorySegment mlx_var_axis$address() { + return mlx_var_axis.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_var_axis(mlx_array *res, const mlx_array a, int axis, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static int mlx_var_axis(MemorySegment res, MemorySegment a, int axis, boolean keepdims, int ddof, MemorySegment s) { + var mh$ = mlx_var_axis.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_var_axis", res, a, axis, keepdims, ddof, s); + } + return (int)mh$.invokeExact(res, a, axis, keepdims, ddof, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_var { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_BOOL, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_var"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_var(mlx_array *res, const mlx_array a, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_var$descriptor() { + return mlx_var.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_var(mlx_array *res, const mlx_array a, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MethodHandle mlx_var$handle() { + return mlx_var.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_var(mlx_array *res, const mlx_array a, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static MemorySegment mlx_var$address() { + return mlx_var.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_var(mlx_array *res, const mlx_array a, bool keepdims, int ddof, const mlx_stream s) + * } + */ + public static int mlx_var(MemorySegment res, MemorySegment a, boolean keepdims, int ddof, MemorySegment s) { + var mh$ = mlx_var.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_var", res, a, keepdims, ddof, s); + } + return (int)mh$.invokeExact(res, a, keepdims, ddof, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_view { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_view"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_view(mlx_array *res, const mlx_array a, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_view$descriptor() { + return mlx_view.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_view(mlx_array *res, const mlx_array a, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MethodHandle mlx_view$handle() { + return mlx_view.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_view(mlx_array *res, const mlx_array a, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MemorySegment mlx_view$address() { + return mlx_view.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_view(mlx_array *res, const mlx_array a, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static int mlx_view(MemorySegment res, MemorySegment a, int dtype, MemorySegment s) { + var mh$ = mlx_view.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_view", res, a, dtype, s); + } + return (int)mh$.invokeExact(res, a, dtype, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_where { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_where"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_where(mlx_array *res, const mlx_array condition, const mlx_array x, const mlx_array y, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_where$descriptor() { + return mlx_where.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_where(mlx_array *res, const mlx_array condition, const mlx_array x, const mlx_array y, const mlx_stream s) + * } + */ + public static MethodHandle mlx_where$handle() { + return mlx_where.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_where(mlx_array *res, const mlx_array condition, const mlx_array x, const mlx_array y, const mlx_stream s) + * } + */ + public static MemorySegment mlx_where$address() { + return mlx_where.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_where(mlx_array *res, const mlx_array condition, const mlx_array x, const mlx_array y, const mlx_stream s) + * } + */ + public static int mlx_where(MemorySegment res, MemorySegment condition, MemorySegment x, MemorySegment y, MemorySegment s) { + var mh$ = mlx_where.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_where", res, condition, x, y, s); + } + return (int)mh$.invokeExact(res, condition, x, y, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_zeros { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_zeros"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_zeros(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_zeros$descriptor() { + return mlx_zeros.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_zeros(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MethodHandle mlx_zeros$handle() { + return mlx_zeros.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_zeros(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static MemorySegment mlx_zeros$address() { + return mlx_zeros.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_zeros(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_stream s) + * } + */ + public static int mlx_zeros(MemorySegment res, MemorySegment shape, long shape_num, int dtype, MemorySegment s) { + var mh$ = mlx_zeros.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_zeros", res, shape, shape_num, dtype, s); + } + return (int)mh$.invokeExact(res, shape, shape_num, dtype, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_zeros_like { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_zeros_like"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_zeros_like(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_zeros_like$descriptor() { + return mlx_zeros_like.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_zeros_like(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MethodHandle mlx_zeros_like$handle() { + return mlx_zeros_like.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_zeros_like(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static MemorySegment mlx_zeros_like$address() { + return mlx_zeros_like.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_zeros_like(mlx_array *res, const mlx_array a, const mlx_stream s) + * } + */ + public static int mlx_zeros_like(MemorySegment res, MemorySegment a, MemorySegment s) { + var mh$ = mlx_zeros_like.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_zeros_like", res, a, s); + } + return (int)mh$.invokeExact(res, a, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_bernoulli { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_bernoulli"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_bernoulli(mlx_array *res, const mlx_array p, const int *shape, size_t shape_num, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_bernoulli$descriptor() { + return mlx_random_bernoulli.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_bernoulli(mlx_array *res, const mlx_array p, const int *shape, size_t shape_num, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_bernoulli$handle() { + return mlx_random_bernoulli.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_bernoulli(mlx_array *res, const mlx_array p, const int *shape, size_t shape_num, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_bernoulli$address() { + return mlx_random_bernoulli.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_bernoulli(mlx_array *res, const mlx_array p, const int *shape, size_t shape_num, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_bernoulli(MemorySegment res, MemorySegment p, MemorySegment shape, long shape_num, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_bernoulli.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_bernoulli", res, p, shape, shape_num, key, s); + } + return (int)mh$.invokeExact(res, p, shape, shape_num, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_bits { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_bits"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_bits(mlx_array *res, const int *shape, size_t shape_num, int width, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_bits$descriptor() { + return mlx_random_bits.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_bits(mlx_array *res, const int *shape, size_t shape_num, int width, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_bits$handle() { + return mlx_random_bits.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_bits(mlx_array *res, const int *shape, size_t shape_num, int width, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_bits$address() { + return mlx_random_bits.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_bits(mlx_array *res, const int *shape, size_t shape_num, int width, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_bits(MemorySegment res, MemorySegment shape, long shape_num, int width, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_bits.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_bits", res, shape, shape_num, width, key, s); + } + return (int)mh$.invokeExact(res, shape, shape_num, width, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_categorical_shape { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_categorical_shape"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_categorical_shape(mlx_array *res, const mlx_array logits, int axis, const int *shape, size_t shape_num, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_categorical_shape$descriptor() { + return mlx_random_categorical_shape.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_categorical_shape(mlx_array *res, const mlx_array logits, int axis, const int *shape, size_t shape_num, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_categorical_shape$handle() { + return mlx_random_categorical_shape.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_categorical_shape(mlx_array *res, const mlx_array logits, int axis, const int *shape, size_t shape_num, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_categorical_shape$address() { + return mlx_random_categorical_shape.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_categorical_shape(mlx_array *res, const mlx_array logits, int axis, const int *shape, size_t shape_num, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_categorical_shape(MemorySegment res, MemorySegment logits, int axis, MemorySegment shape, long shape_num, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_categorical_shape.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_categorical_shape", res, logits, axis, shape, shape_num, key, s); + } + return (int)mh$.invokeExact(res, logits, axis, shape, shape_num, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_categorical_num_samples { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_h.C_INT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_categorical_num_samples"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_categorical_num_samples(mlx_array *res, const mlx_array logits_, int axis, int num_samples, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_categorical_num_samples$descriptor() { + return mlx_random_categorical_num_samples.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_categorical_num_samples(mlx_array *res, const mlx_array logits_, int axis, int num_samples, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_categorical_num_samples$handle() { + return mlx_random_categorical_num_samples.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_categorical_num_samples(mlx_array *res, const mlx_array logits_, int axis, int num_samples, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_categorical_num_samples$address() { + return mlx_random_categorical_num_samples.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_categorical_num_samples(mlx_array *res, const mlx_array logits_, int axis, int num_samples, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_categorical_num_samples(MemorySegment res, MemorySegment logits_, int axis, int num_samples, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_categorical_num_samples.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_categorical_num_samples", res, logits_, axis, num_samples, key, s); + } + return (int)mh$.invokeExact(res, logits_, axis, num_samples, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_categorical { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_categorical"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_categorical(mlx_array *res, const mlx_array logits, int axis, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_categorical$descriptor() { + return mlx_random_categorical.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_categorical(mlx_array *res, const mlx_array logits, int axis, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_categorical$handle() { + return mlx_random_categorical.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_categorical(mlx_array *res, const mlx_array logits, int axis, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_categorical$address() { + return mlx_random_categorical.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_categorical(mlx_array *res, const mlx_array logits, int axis, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_categorical(MemorySegment res, MemorySegment logits, int axis, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_categorical.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_categorical", res, logits, axis, key, s); + } + return (int)mh$.invokeExact(res, logits, axis, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_gumbel { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_gumbel"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_gumbel(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_gumbel$descriptor() { + return mlx_random_gumbel.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_gumbel(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_gumbel$handle() { + return mlx_random_gumbel.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_gumbel(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_gumbel$address() { + return mlx_random_gumbel.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_gumbel(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_gumbel(MemorySegment res, MemorySegment shape, long shape_num, int dtype, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_gumbel.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_gumbel", res, shape, shape_num, dtype, key, s); + } + return (int)mh$.invokeExact(res, shape, shape_num, dtype, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_key { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_key"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_key(mlx_array *res, uint64_t seed) + * } + */ + public static FunctionDescriptor mlx_random_key$descriptor() { + return mlx_random_key.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_key(mlx_array *res, uint64_t seed) + * } + */ + public static MethodHandle mlx_random_key$handle() { + return mlx_random_key.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_key(mlx_array *res, uint64_t seed) + * } + */ + public static MemorySegment mlx_random_key$address() { + return mlx_random_key.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_key(mlx_array *res, uint64_t seed) + * } + */ + public static int mlx_random_key(MemorySegment res, long seed) { + var mh$ = mlx_random_key.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_key", res, seed); + } + return (int)mh$.invokeExact(res, seed); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_laplace { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_h.C_FLOAT, + mlx_h.C_FLOAT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_laplace"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_laplace(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, float loc, float scale, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_laplace$descriptor() { + return mlx_random_laplace.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_laplace(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, float loc, float scale, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_laplace$handle() { + return mlx_random_laplace.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_laplace(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, float loc, float scale, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_laplace$address() { + return mlx_random_laplace.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_laplace(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, float loc, float scale, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_laplace(MemorySegment res, MemorySegment shape, long shape_num, int dtype, float loc, float scale, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_laplace.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_laplace", res, shape, shape_num, dtype, loc, scale, key, s); + } + return (int)mh$.invokeExact(res, shape, shape_num, dtype, loc, scale, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_multivariate_normal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_multivariate_normal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_multivariate_normal(mlx_array *res, const mlx_array mean, const mlx_array cov, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_multivariate_normal$descriptor() { + return mlx_random_multivariate_normal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_multivariate_normal(mlx_array *res, const mlx_array mean, const mlx_array cov, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_multivariate_normal$handle() { + return mlx_random_multivariate_normal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_multivariate_normal(mlx_array *res, const mlx_array mean, const mlx_array cov, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_multivariate_normal$address() { + return mlx_random_multivariate_normal.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_multivariate_normal(mlx_array *res, const mlx_array mean, const mlx_array cov, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_multivariate_normal(MemorySegment res, MemorySegment mean, MemorySegment cov, MemorySegment shape, long shape_num, int dtype, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_multivariate_normal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_multivariate_normal", res, mean, cov, shape, shape_num, dtype, key, s); + } + return (int)mh$.invokeExact(res, mean, cov, shape, shape_num, dtype, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_normal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_h.C_FLOAT, + mlx_h.C_FLOAT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_normal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_normal(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, float loc, float scale, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_normal$descriptor() { + return mlx_random_normal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_normal(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, float loc, float scale, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_normal$handle() { + return mlx_random_normal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_normal(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, float loc, float scale, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_normal$address() { + return mlx_random_normal.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_normal(mlx_array *res, const int *shape, size_t shape_num, mlx_dtype dtype, float loc, float scale, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_normal(MemorySegment res, MemorySegment shape, long shape_num, int dtype, float loc, float scale, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_normal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_normal", res, shape, shape_num, dtype, loc, scale, key, s); + } + return (int)mh$.invokeExact(res, shape, shape_num, dtype, loc, scale, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_permutation { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_permutation"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_permutation(mlx_array *res, const mlx_array x, int axis, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_permutation$descriptor() { + return mlx_random_permutation.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_permutation(mlx_array *res, const mlx_array x, int axis, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_permutation$handle() { + return mlx_random_permutation.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_permutation(mlx_array *res, const mlx_array x, int axis, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_permutation$address() { + return mlx_random_permutation.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_permutation(mlx_array *res, const mlx_array x, int axis, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_permutation(MemorySegment res, MemorySegment x, int axis, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_permutation.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_permutation", res, x, axis, key, s); + } + return (int)mh$.invokeExact(res, x, axis, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_permutation_arange { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_permutation_arange"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_permutation_arange(mlx_array *res, int x, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_permutation_arange$descriptor() { + return mlx_random_permutation_arange.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_permutation_arange(mlx_array *res, int x, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_permutation_arange$handle() { + return mlx_random_permutation_arange.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_permutation_arange(mlx_array *res, int x, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_permutation_arange$address() { + return mlx_random_permutation_arange.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_permutation_arange(mlx_array *res, int x, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_permutation_arange(MemorySegment res, int x, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_permutation_arange.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_permutation_arange", res, x, key, s); + } + return (int)mh$.invokeExact(res, x, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_randint { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_randint"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_randint(mlx_array *res, const mlx_array low, const mlx_array high, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_randint$descriptor() { + return mlx_random_randint.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_randint(mlx_array *res, const mlx_array low, const mlx_array high, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_randint$handle() { + return mlx_random_randint.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_randint(mlx_array *res, const mlx_array low, const mlx_array high, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_randint$address() { + return mlx_random_randint.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_randint(mlx_array *res, const mlx_array low, const mlx_array high, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_randint(MemorySegment res, MemorySegment low, MemorySegment high, MemorySegment shape, long shape_num, int dtype, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_randint.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_randint", res, low, high, shape, shape_num, dtype, key, s); + } + return (int)mh$.invokeExact(res, low, high, shape, shape_num, dtype, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_seed { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_seed"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_seed(uint64_t seed) + * } + */ + public static FunctionDescriptor mlx_random_seed$descriptor() { + return mlx_random_seed.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_seed(uint64_t seed) + * } + */ + public static MethodHandle mlx_random_seed$handle() { + return mlx_random_seed.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_seed(uint64_t seed) + * } + */ + public static MemorySegment mlx_random_seed$address() { + return mlx_random_seed.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_seed(uint64_t seed) + * } + */ + public static int mlx_random_seed(long seed) { + var mh$ = mlx_random_seed.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_seed", seed); + } + return (int)mh$.invokeExact(seed); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_split_num { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_split_num"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_split_num(mlx_array *res, const mlx_array key, int num, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_split_num$descriptor() { + return mlx_random_split_num.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_split_num(mlx_array *res, const mlx_array key, int num, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_split_num$handle() { + return mlx_random_split_num.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_split_num(mlx_array *res, const mlx_array key, int num, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_split_num$address() { + return mlx_random_split_num.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_split_num(mlx_array *res, const mlx_array key, int num, const mlx_stream s) + * } + */ + public static int mlx_random_split_num(MemorySegment res, MemorySegment key, int num, MemorySegment s) { + var mh$ = mlx_random_split_num.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_split_num", res, key, num, s); + } + return (int)mh$.invokeExact(res, key, num, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_split { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_split"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_split(mlx_array *res_0, mlx_array *res_1, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_split$descriptor() { + return mlx_random_split.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_split(mlx_array *res_0, mlx_array *res_1, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_split$handle() { + return mlx_random_split.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_split(mlx_array *res_0, mlx_array *res_1, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_split$address() { + return mlx_random_split.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_split(mlx_array *res_0, mlx_array *res_1, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_split(MemorySegment res_0, MemorySegment res_1, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_split.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_split", res_0, res_1, key, s); + } + return (int)mh$.invokeExact(res_0, res_1, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_truncated_normal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_truncated_normal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_truncated_normal(mlx_array *res, const mlx_array lower, const mlx_array upper, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_truncated_normal$descriptor() { + return mlx_random_truncated_normal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_truncated_normal(mlx_array *res, const mlx_array lower, const mlx_array upper, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_truncated_normal$handle() { + return mlx_random_truncated_normal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_truncated_normal(mlx_array *res, const mlx_array lower, const mlx_array upper, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_truncated_normal$address() { + return mlx_random_truncated_normal.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_truncated_normal(mlx_array *res, const mlx_array lower, const mlx_array upper, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_truncated_normal(MemorySegment res, MemorySegment lower, MemorySegment upper, MemorySegment shape, long shape_num, int dtype, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_truncated_normal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_truncated_normal", res, lower, upper, shape, shape_num, dtype, key, s); + } + return (int)mh$.invokeExact(res, lower, upper, shape, shape_num, dtype, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_random_uniform { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout(), + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_INT, + mlx_array_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_random_uniform"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_random_uniform(mlx_array *res, const mlx_array low, const mlx_array high, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static FunctionDescriptor mlx_random_uniform$descriptor() { + return mlx_random_uniform.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_random_uniform(mlx_array *res, const mlx_array low, const mlx_array high, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static MethodHandle mlx_random_uniform$handle() { + return mlx_random_uniform.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_random_uniform(mlx_array *res, const mlx_array low, const mlx_array high, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static MemorySegment mlx_random_uniform$address() { + return mlx_random_uniform.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_random_uniform(mlx_array *res, const mlx_array low, const mlx_array high, const int *shape, size_t shape_num, mlx_dtype dtype, const mlx_array key, const mlx_stream s) + * } + */ + public static int mlx_random_uniform(MemorySegment res, MemorySegment low, MemorySegment high, MemorySegment shape, long shape_num, int dtype, MemorySegment key, MemorySegment s) { + var mh$ = mlx_random_uniform.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_random_uniform", res, low, high, shape, shape_num, dtype, key, s); + } + return (int)mh$.invokeExact(res, low, high, shape, shape_num, dtype, key, s); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_async_eval { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_async_eval"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_async_eval(const mlx_vector_array outputs) + * } + */ + public static FunctionDescriptor mlx_async_eval$descriptor() { + return mlx_async_eval.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_async_eval(const mlx_vector_array outputs) + * } + */ + public static MethodHandle mlx_async_eval$handle() { + return mlx_async_eval.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_async_eval(const mlx_vector_array outputs) + * } + */ + public static MemorySegment mlx_async_eval$address() { + return mlx_async_eval.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_async_eval(const mlx_vector_array outputs) + * } + */ + public static int mlx_async_eval(MemorySegment outputs) { + var mh$ = mlx_async_eval.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_async_eval", outputs); + } + return (int)mh$.invokeExact(outputs); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_checkpoint { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_checkpoint"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_checkpoint(mlx_closure *res, const mlx_closure fun) + * } + */ + public static FunctionDescriptor mlx_checkpoint$descriptor() { + return mlx_checkpoint.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_checkpoint(mlx_closure *res, const mlx_closure fun) + * } + */ + public static MethodHandle mlx_checkpoint$handle() { + return mlx_checkpoint.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_checkpoint(mlx_closure *res, const mlx_closure fun) + * } + */ + public static MemorySegment mlx_checkpoint$address() { + return mlx_checkpoint.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_checkpoint(mlx_closure *res, const mlx_closure fun) + * } + */ + public static int mlx_checkpoint(MemorySegment res, MemorySegment fun) { + var mh$ = mlx_checkpoint.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_checkpoint", res, fun); + } + return (int)mh$.invokeExact(res, fun); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_custom_function { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_.layout(), + mlx_closure_custom_.layout(), + mlx_closure_custom_jvp_.layout(), + mlx_closure_custom_vmap_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_custom_function"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_custom_function(mlx_closure *res, const mlx_closure fun, const mlx_closure_custom fun_vjp, const mlx_closure_custom_jvp fun_jvp, const mlx_closure_custom_vmap fun_vmap) + * } + */ + public static FunctionDescriptor mlx_custom_function$descriptor() { + return mlx_custom_function.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_custom_function(mlx_closure *res, const mlx_closure fun, const mlx_closure_custom fun_vjp, const mlx_closure_custom_jvp fun_jvp, const mlx_closure_custom_vmap fun_vmap) + * } + */ + public static MethodHandle mlx_custom_function$handle() { + return mlx_custom_function.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_custom_function(mlx_closure *res, const mlx_closure fun, const mlx_closure_custom fun_vjp, const mlx_closure_custom_jvp fun_jvp, const mlx_closure_custom_vmap fun_vmap) + * } + */ + public static MemorySegment mlx_custom_function$address() { + return mlx_custom_function.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_custom_function(mlx_closure *res, const mlx_closure fun, const mlx_closure_custom fun_vjp, const mlx_closure_custom_jvp fun_jvp, const mlx_closure_custom_vmap fun_vmap) + * } + */ + public static int mlx_custom_function(MemorySegment res, MemorySegment fun, MemorySegment fun_vjp, MemorySegment fun_jvp, MemorySegment fun_vmap) { + var mh$ = mlx_custom_function.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_custom_function", res, fun, fun_vjp, fun_jvp, fun_vmap); + } + return (int)mh$.invokeExact(res, fun, fun_vjp, fun_jvp, fun_vmap); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_custom_vjp { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_.layout(), + mlx_closure_custom_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_custom_vjp"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_custom_vjp(mlx_closure *res, const mlx_closure fun, const mlx_closure_custom fun_vjp) + * } + */ + public static FunctionDescriptor mlx_custom_vjp$descriptor() { + return mlx_custom_vjp.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_custom_vjp(mlx_closure *res, const mlx_closure fun, const mlx_closure_custom fun_vjp) + * } + */ + public static MethodHandle mlx_custom_vjp$handle() { + return mlx_custom_vjp.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_custom_vjp(mlx_closure *res, const mlx_closure fun, const mlx_closure_custom fun_vjp) + * } + */ + public static MemorySegment mlx_custom_vjp$address() { + return mlx_custom_vjp.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_custom_vjp(mlx_closure *res, const mlx_closure fun, const mlx_closure_custom fun_vjp) + * } + */ + public static int mlx_custom_vjp(MemorySegment res, MemorySegment fun, MemorySegment fun_vjp) { + var mh$ = mlx_custom_vjp.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_custom_vjp", res, fun, fun_vjp); + } + return (int)mh$.invokeExact(res, fun, fun_vjp); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_eval { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_eval"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_eval(const mlx_vector_array outputs) + * } + */ + public static FunctionDescriptor mlx_eval$descriptor() { + return mlx_eval.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_eval(const mlx_vector_array outputs) + * } + */ + public static MethodHandle mlx_eval$handle() { + return mlx_eval.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_eval(const mlx_vector_array outputs) + * } + */ + public static MemorySegment mlx_eval$address() { + return mlx_eval.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_eval(const mlx_vector_array outputs) + * } + */ + public static int mlx_eval(MemorySegment outputs) { + var mh$ = mlx_eval.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_eval", outputs); + } + return (int)mh$.invokeExact(outputs); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_jvp { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_closure_.layout(), + mlx_vector_array_.layout(), + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_jvp"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_jvp(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array primals, const mlx_vector_array tangents) + * } + */ + public static FunctionDescriptor mlx_jvp$descriptor() { + return mlx_jvp.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_jvp(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array primals, const mlx_vector_array tangents) + * } + */ + public static MethodHandle mlx_jvp$handle() { + return mlx_jvp.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_jvp(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array primals, const mlx_vector_array tangents) + * } + */ + public static MemorySegment mlx_jvp$address() { + return mlx_jvp.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_jvp(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array primals, const mlx_vector_array tangents) + * } + */ + public static int mlx_jvp(MemorySegment res_0, MemorySegment res_1, MemorySegment fun, MemorySegment primals, MemorySegment tangents) { + var mh$ = mlx_jvp.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_jvp", res_0, res_1, fun, primals, tangents); + } + return (int)mh$.invokeExact(res_0, res_1, fun, primals, tangents); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_value_and_grad { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_closure_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_value_and_grad"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_value_and_grad(mlx_closure_value_and_grad *res, const mlx_closure fun, const int *argnums, size_t argnums_num) + * } + */ + public static FunctionDescriptor mlx_value_and_grad$descriptor() { + return mlx_value_and_grad.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_value_and_grad(mlx_closure_value_and_grad *res, const mlx_closure fun, const int *argnums, size_t argnums_num) + * } + */ + public static MethodHandle mlx_value_and_grad$handle() { + return mlx_value_and_grad.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_value_and_grad(mlx_closure_value_and_grad *res, const mlx_closure fun, const int *argnums, size_t argnums_num) + * } + */ + public static MemorySegment mlx_value_and_grad$address() { + return mlx_value_and_grad.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_value_and_grad(mlx_closure_value_and_grad *res, const mlx_closure fun, const int *argnums, size_t argnums_num) + * } + */ + public static int mlx_value_and_grad(MemorySegment res, MemorySegment fun, MemorySegment argnums, long argnums_num) { + var mh$ = mlx_value_and_grad.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_value_and_grad", res, fun, argnums, argnums_num); + } + return (int)mh$.invokeExact(res, fun, argnums, argnums_num); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vjp { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_closure_.layout(), + mlx_vector_array_.layout(), + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vjp"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vjp(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array primals, const mlx_vector_array cotangents) + * } + */ + public static FunctionDescriptor mlx_vjp$descriptor() { + return mlx_vjp.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vjp(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array primals, const mlx_vector_array cotangents) + * } + */ + public static MethodHandle mlx_vjp$handle() { + return mlx_vjp.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vjp(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array primals, const mlx_vector_array cotangents) + * } + */ + public static MemorySegment mlx_vjp$address() { + return mlx_vjp.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vjp(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array primals, const mlx_vector_array cotangents) + * } + */ + public static int mlx_vjp(MemorySegment res_0, MemorySegment res_1, MemorySegment fun, MemorySegment primals, MemorySegment cotangents) { + var mh$ = mlx_vjp.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vjp", res_0, res_1, fun, primals, cotangents); + } + return (int)mh$.invokeExact(res_0, res_1, fun, primals, cotangents); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_detail_vmap_replace { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_vector_array_.layout(), + mlx_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_detail_vmap_replace"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_detail_vmap_replace(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_vector_array s_inputs, const mlx_vector_array s_outputs, const int *in_axes, size_t in_axes_num, const int *out_axes, size_t out_axes_num) + * } + */ + public static FunctionDescriptor mlx_detail_vmap_replace$descriptor() { + return mlx_detail_vmap_replace.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_detail_vmap_replace(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_vector_array s_inputs, const mlx_vector_array s_outputs, const int *in_axes, size_t in_axes_num, const int *out_axes, size_t out_axes_num) + * } + */ + public static MethodHandle mlx_detail_vmap_replace$handle() { + return mlx_detail_vmap_replace.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_detail_vmap_replace(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_vector_array s_inputs, const mlx_vector_array s_outputs, const int *in_axes, size_t in_axes_num, const int *out_axes, size_t out_axes_num) + * } + */ + public static MemorySegment mlx_detail_vmap_replace$address() { + return mlx_detail_vmap_replace.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_detail_vmap_replace(mlx_vector_array *res, const mlx_vector_array inputs, const mlx_vector_array s_inputs, const mlx_vector_array s_outputs, const int *in_axes, size_t in_axes_num, const int *out_axes, size_t out_axes_num) + * } + */ + public static int mlx_detail_vmap_replace(MemorySegment res, MemorySegment inputs, MemorySegment s_inputs, MemorySegment s_outputs, MemorySegment in_axes, long in_axes_num, MemorySegment out_axes, long out_axes_num) { + var mh$ = mlx_detail_vmap_replace.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_detail_vmap_replace", res, inputs, s_inputs, s_outputs, in_axes, in_axes_num, out_axes, out_axes_num); + } + return (int)mh$.invokeExact(res, inputs, s_inputs, s_outputs, in_axes, in_axes_num, out_axes, out_axes_num); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_detail_vmap_trace { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_closure_.layout(), + mlx_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_detail_vmap_trace"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_detail_vmap_trace(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array inputs, const int *in_axes, size_t in_axes_num) + * } + */ + public static FunctionDescriptor mlx_detail_vmap_trace$descriptor() { + return mlx_detail_vmap_trace.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_detail_vmap_trace(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array inputs, const int *in_axes, size_t in_axes_num) + * } + */ + public static MethodHandle mlx_detail_vmap_trace$handle() { + return mlx_detail_vmap_trace.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_detail_vmap_trace(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array inputs, const int *in_axes, size_t in_axes_num) + * } + */ + public static MemorySegment mlx_detail_vmap_trace$address() { + return mlx_detail_vmap_trace.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_detail_vmap_trace(mlx_vector_array *res_0, mlx_vector_array *res_1, const mlx_closure fun, const mlx_vector_array inputs, const int *in_axes, size_t in_axes_num) + * } + */ + public static int mlx_detail_vmap_trace(MemorySegment res_0, MemorySegment res_1, MemorySegment fun, MemorySegment inputs, MemorySegment in_axes, long in_axes_num) { + var mh$ = mlx_detail_vmap_trace.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_detail_vmap_trace", res_0, res_1, fun, inputs, in_axes, in_axes_num); + } + return (int)mh$.invokeExact(res_0, res_1, fun, inputs, in_axes, in_axes_num); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_version { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_version"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_version(mlx_string *str_) + * } + */ + public static FunctionDescriptor mlx_version$descriptor() { + return mlx_version.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_version(mlx_string *str_) + * } + */ + public static MethodHandle mlx_version$handle() { + return mlx_version.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_version(mlx_string *str_) + * } + */ + public static MemorySegment mlx_version$address() { + return mlx_version.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_version(mlx_string *str_) + * } + */ + public static int mlx_version(MemorySegment str_) { + var mh$ = mlx_version.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_version", str_); + } + return (int)mh$.invokeExact(str_); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + private static final int FLT_EVAL_METHOD = (int)0L; + /** + * {@snippet lang=c : + * #define FLT_EVAL_METHOD 0 + * } + */ + public static int FLT_EVAL_METHOD() { + return FLT_EVAL_METHOD; + } + private static final int FLT_RADIX = (int)2L; + /** + * {@snippet lang=c : + * #define FLT_RADIX 2 + * } + */ + public static int FLT_RADIX() { + return FLT_RADIX; + } + private static final int FLT_MANT_DIG = (int)24L; + /** + * {@snippet lang=c : + * #define FLT_MANT_DIG 24 + * } + */ + public static int FLT_MANT_DIG() { + return FLT_MANT_DIG; + } + private static final int DBL_MANT_DIG = (int)53L; + /** + * {@snippet lang=c : + * #define DBL_MANT_DIG 53 + * } + */ + public static int DBL_MANT_DIG() { + return DBL_MANT_DIG; + } + private static final int LDBL_MANT_DIG = (int)53L; + /** + * {@snippet lang=c : + * #define LDBL_MANT_DIG 53 + * } + */ + public static int LDBL_MANT_DIG() { + return LDBL_MANT_DIG; + } + private static final int FLT_DIG = (int)6L; + /** + * {@snippet lang=c : + * #define FLT_DIG 6 + * } + */ + public static int FLT_DIG() { + return FLT_DIG; + } + private static final int DBL_DIG = (int)15L; + /** + * {@snippet lang=c : + * #define DBL_DIG 15 + * } + */ + public static int DBL_DIG() { + return DBL_DIG; + } + private static final int LDBL_DIG = (int)15L; + /** + * {@snippet lang=c : + * #define LDBL_DIG 15 + * } + */ + public static int LDBL_DIG() { + return LDBL_DIG; + } + private static final int FLT_MIN_EXP = (int)-125L; + /** + * {@snippet lang=c : + * #define FLT_MIN_EXP -125 + * } + */ + public static int FLT_MIN_EXP() { + return FLT_MIN_EXP; + } + private static final int DBL_MIN_EXP = (int)-1021L; + /** + * {@snippet lang=c : + * #define DBL_MIN_EXP -1021 + * } + */ + public static int DBL_MIN_EXP() { + return DBL_MIN_EXP; + } + private static final int LDBL_MIN_EXP = (int)-1021L; + /** + * {@snippet lang=c : + * #define LDBL_MIN_EXP -1021 + * } + */ + public static int LDBL_MIN_EXP() { + return LDBL_MIN_EXP; + } + private static final int FLT_MIN_10_EXP = (int)-37L; + /** + * {@snippet lang=c : + * #define FLT_MIN_10_EXP -37 + * } + */ + public static int FLT_MIN_10_EXP() { + return FLT_MIN_10_EXP; + } + private static final int DBL_MIN_10_EXP = (int)-307L; + /** + * {@snippet lang=c : + * #define DBL_MIN_10_EXP -307 + * } + */ + public static int DBL_MIN_10_EXP() { + return DBL_MIN_10_EXP; + } + private static final int LDBL_MIN_10_EXP = (int)-307L; + /** + * {@snippet lang=c : + * #define LDBL_MIN_10_EXP -307 + * } + */ + public static int LDBL_MIN_10_EXP() { + return LDBL_MIN_10_EXP; + } + private static final int FLT_MAX_EXP = (int)128L; + /** + * {@snippet lang=c : + * #define FLT_MAX_EXP 128 + * } + */ + public static int FLT_MAX_EXP() { + return FLT_MAX_EXP; + } + private static final int DBL_MAX_EXP = (int)1024L; + /** + * {@snippet lang=c : + * #define DBL_MAX_EXP 1024 + * } + */ + public static int DBL_MAX_EXP() { + return DBL_MAX_EXP; + } + private static final int LDBL_MAX_EXP = (int)1024L; + /** + * {@snippet lang=c : + * #define LDBL_MAX_EXP 1024 + * } + */ + public static int LDBL_MAX_EXP() { + return LDBL_MAX_EXP; + } + private static final int FLT_MAX_10_EXP = (int)38L; + /** + * {@snippet lang=c : + * #define FLT_MAX_10_EXP 38 + * } + */ + public static int FLT_MAX_10_EXP() { + return FLT_MAX_10_EXP; + } + private static final int DBL_MAX_10_EXP = (int)308L; + /** + * {@snippet lang=c : + * #define DBL_MAX_10_EXP 308 + * } + */ + public static int DBL_MAX_10_EXP() { + return DBL_MAX_10_EXP; + } + private static final int LDBL_MAX_10_EXP = (int)308L; + /** + * {@snippet lang=c : + * #define LDBL_MAX_10_EXP 308 + * } + */ + public static int LDBL_MAX_10_EXP() { + return LDBL_MAX_10_EXP; + } + private static final float FLT_MAX = 3.4028234663852886E38f; + /** + * {@snippet lang=c : + * #define FLT_MAX 3.4028234663852886E38 + * } + */ + public static float FLT_MAX() { + return FLT_MAX; + } + private static final double DBL_MAX = 1.7976931348623157E308d; + /** + * {@snippet lang=c : + * #define DBL_MAX 1.7976931348623157E308 + * } + */ + public static double DBL_MAX() { + return DBL_MAX; + } + private static final float FLT_EPSILON = 1.1920928955078125E-7f; + /** + * {@snippet lang=c : + * #define FLT_EPSILON 1.1920928955078125E-7 + * } + */ + public static float FLT_EPSILON() { + return FLT_EPSILON; + } + private static final double DBL_EPSILON = 2.220446049250313E-16d; + /** + * {@snippet lang=c : + * #define DBL_EPSILON 2.220446049250313E-16 + * } + */ + public static double DBL_EPSILON() { + return DBL_EPSILON; + } + private static final float FLT_MIN = 1.1754943508222875E-38f; + /** + * {@snippet lang=c : + * #define FLT_MIN 1.1754943508222875E-38 + * } + */ + public static float FLT_MIN() { + return FLT_MIN; + } + private static final double DBL_MIN = 2.2250738585072014E-308d; + /** + * {@snippet lang=c : + * #define DBL_MIN 2.2250738585072014E-308 + * } + */ + public static double DBL_MIN() { + return DBL_MIN; + } + private static final int DECIMAL_DIG = (int)17L; + /** + * {@snippet lang=c : + * #define DECIMAL_DIG 17 + * } + */ + public static int DECIMAL_DIG() { + return DECIMAL_DIG; + } + private static final float FLT_TRUE_MIN = 1.401298464324817E-45f; + /** + * {@snippet lang=c : + * #define FLT_TRUE_MIN 1.401298464324817E-45 + * } + */ + public static float FLT_TRUE_MIN() { + return FLT_TRUE_MIN; + } + private static final double DBL_TRUE_MIN = 4.9E-324d; + /** + * {@snippet lang=c : + * #define DBL_TRUE_MIN 4.9E-324 + * } + */ + public static double DBL_TRUE_MIN() { + return DBL_TRUE_MIN; + } + private static final int FLT_DECIMAL_DIG = (int)9L; + /** + * {@snippet lang=c : + * #define FLT_DECIMAL_DIG 9 + * } + */ + public static int FLT_DECIMAL_DIG() { + return FLT_DECIMAL_DIG; + } + private static final int DBL_DECIMAL_DIG = (int)17L; + /** + * {@snippet lang=c : + * #define DBL_DECIMAL_DIG 17 + * } + */ + public static int DBL_DECIMAL_DIG() { + return DBL_DECIMAL_DIG; + } + private static final int LDBL_DECIMAL_DIG = (int)17L; + /** + * {@snippet lang=c : + * #define LDBL_DECIMAL_DIG 17 + * } + */ + public static int LDBL_DECIMAL_DIG() { + return LDBL_DECIMAL_DIG; + } + private static final float INFINITY = Float.valueOf("Infinity"); + /** + * {@snippet lang=c : + * #define INFINITY Infinity + * } + */ + public static float INFINITY() { + return INFINITY; + } + private static final float NAN = Float.valueOf("NaN"); + /** + * {@snippet lang=c : + * #define NAN NaN + * } + */ + public static float NAN() { + return NAN; + } + private static final float FLT_NORM_MAX = 3.4028234663852886E38f; + /** + * {@snippet lang=c : + * #define FLT_NORM_MAX 3.4028234663852886E38 + * } + */ + public static float FLT_NORM_MAX() { + return FLT_NORM_MAX; + } + private static final double DBL_NORM_MAX = 1.7976931348623157E308d; + /** + * {@snippet lang=c : + * #define DBL_NORM_MAX 1.7976931348623157E308 + * } + */ + public static double DBL_NORM_MAX() { + return DBL_NORM_MAX; + } + /** + * {@snippet lang=c : + * #define __DARWIN_SUF_EXTSN "$DARWIN_EXTSN" + * } + */ + public static MemorySegment __DARWIN_SUF_EXTSN() { + class Holder { + static final MemorySegment __DARWIN_SUF_EXTSN + = mlx_h.LIBRARY_ARENA.allocateFrom("$DARWIN_EXTSN"); + } + return Holder.__DARWIN_SUF_EXTSN; + } + private static final long __DARWIN_C_ANSI = 4096L; + /** + * {@snippet lang=c : + * #define __DARWIN_C_ANSI 4096 + * } + */ + public static long __DARWIN_C_ANSI() { + return __DARWIN_C_ANSI; + } + private static final long __DARWIN_C_FULL = 900000L; + /** + * {@snippet lang=c : + * #define __DARWIN_C_FULL 900000 + * } + */ + public static long __DARWIN_C_FULL() { + return __DARWIN_C_FULL; + } + private static final long __DARWIN_C_LEVEL = 900000L; + /** + * {@snippet lang=c : + * #define __DARWIN_C_LEVEL 900000 + * } + */ + public static long __DARWIN_C_LEVEL() { + return __DARWIN_C_LEVEL; + } + private static final MemorySegment __DARWIN_NULL = MemorySegment.ofAddress(0L); + /** + * {@snippet lang=c : + * #define __DARWIN_NULL (void*) 0 + * } + */ + public static MemorySegment __DARWIN_NULL() { + return __DARWIN_NULL; + } + private static final long INT64_MAX = 9223372036854775807L; + /** + * {@snippet lang=c : + * #define INT64_MAX 9223372036854775807 + * } + */ + public static long INT64_MAX() { + return INT64_MAX; + } + private static final int INT8_MIN = (int)-128L; + /** + * {@snippet lang=c : + * #define INT8_MIN -128 + * } + */ + public static int INT8_MIN() { + return INT8_MIN; + } + private static final int INT16_MIN = (int)-32768L; + /** + * {@snippet lang=c : + * #define INT16_MIN -32768 + * } + */ + public static int INT16_MIN() { + return INT16_MIN; + } + private static final int INT32_MIN = (int)-2147483648L; + /** + * {@snippet lang=c : + * #define INT32_MIN -2147483648 + * } + */ + public static int INT32_MIN() { + return INT32_MIN; + } + private static final long INT64_MIN = -9223372036854775808L; + /** + * {@snippet lang=c : + * #define INT64_MIN -9223372036854775808 + * } + */ + public static long INT64_MIN() { + return INT64_MIN; + } + private static final int UINT32_MAX = (int)4294967295L; + /** + * {@snippet lang=c : + * #define UINT32_MAX 4294967295 + * } + */ + public static int UINT32_MAX() { + return UINT32_MAX; + } + private static final long UINT64_MAX = -1L; + /** + * {@snippet lang=c : + * #define UINT64_MAX -1 + * } + */ + public static long UINT64_MAX() { + return UINT64_MAX; + } + private static final int INT_LEAST8_MIN = (int)-128L; + /** + * {@snippet lang=c : + * #define INT_LEAST8_MIN -128 + * } + */ + public static int INT_LEAST8_MIN() { + return INT_LEAST8_MIN; + } + private static final int INT_LEAST16_MIN = (int)-32768L; + /** + * {@snippet lang=c : + * #define INT_LEAST16_MIN -32768 + * } + */ + public static int INT_LEAST16_MIN() { + return INT_LEAST16_MIN; + } + private static final int INT_LEAST32_MIN = (int)-2147483648L; + /** + * {@snippet lang=c : + * #define INT_LEAST32_MIN -2147483648 + * } + */ + public static int INT_LEAST32_MIN() { + return INT_LEAST32_MIN; + } + private static final long INT_LEAST64_MIN = -9223372036854775808L; + /** + * {@snippet lang=c : + * #define INT_LEAST64_MIN -9223372036854775808 + * } + */ + public static long INT_LEAST64_MIN() { + return INT_LEAST64_MIN; + } + private static final int INT_LEAST8_MAX = (int)127L; + /** + * {@snippet lang=c : + * #define INT_LEAST8_MAX 127 + * } + */ + public static int INT_LEAST8_MAX() { + return INT_LEAST8_MAX; + } + private static final int INT_LEAST16_MAX = (int)32767L; + /** + * {@snippet lang=c : + * #define INT_LEAST16_MAX 32767 + * } + */ + public static int INT_LEAST16_MAX() { + return INT_LEAST16_MAX; + } + private static final int INT_LEAST32_MAX = (int)2147483647L; + /** + * {@snippet lang=c : + * #define INT_LEAST32_MAX 2147483647 + * } + */ + public static int INT_LEAST32_MAX() { + return INT_LEAST32_MAX; + } + private static final long INT_LEAST64_MAX = 9223372036854775807L; + /** + * {@snippet lang=c : + * #define INT_LEAST64_MAX 9223372036854775807 + * } + */ + public static long INT_LEAST64_MAX() { + return INT_LEAST64_MAX; + } + private static final int UINT_LEAST8_MAX = (int)255L; + /** + * {@snippet lang=c : + * #define UINT_LEAST8_MAX 255 + * } + */ + public static int UINT_LEAST8_MAX() { + return UINT_LEAST8_MAX; + } + private static final int UINT_LEAST16_MAX = (int)65535L; + /** + * {@snippet lang=c : + * #define UINT_LEAST16_MAX 65535 + * } + */ + public static int UINT_LEAST16_MAX() { + return UINT_LEAST16_MAX; + } + private static final int UINT_LEAST32_MAX = (int)4294967295L; + /** + * {@snippet lang=c : + * #define UINT_LEAST32_MAX 4294967295 + * } + */ + public static int UINT_LEAST32_MAX() { + return UINT_LEAST32_MAX; + } + private static final long UINT_LEAST64_MAX = -1L; + /** + * {@snippet lang=c : + * #define UINT_LEAST64_MAX -1 + * } + */ + public static long UINT_LEAST64_MAX() { + return UINT_LEAST64_MAX; + } + private static final int INT_FAST8_MIN = (int)-128L; + /** + * {@snippet lang=c : + * #define INT_FAST8_MIN -128 + * } + */ + public static int INT_FAST8_MIN() { + return INT_FAST8_MIN; + } + private static final int INT_FAST16_MIN = (int)-32768L; + /** + * {@snippet lang=c : + * #define INT_FAST16_MIN -32768 + * } + */ + public static int INT_FAST16_MIN() { + return INT_FAST16_MIN; + } + private static final int INT_FAST32_MIN = (int)-2147483648L; + /** + * {@snippet lang=c : + * #define INT_FAST32_MIN -2147483648 + * } + */ + public static int INT_FAST32_MIN() { + return INT_FAST32_MIN; + } + private static final long INT_FAST64_MIN = -9223372036854775808L; + /** + * {@snippet lang=c : + * #define INT_FAST64_MIN -9223372036854775808 + * } + */ + public static long INT_FAST64_MIN() { + return INT_FAST64_MIN; + } + private static final int INT_FAST8_MAX = (int)127L; + /** + * {@snippet lang=c : + * #define INT_FAST8_MAX 127 + * } + */ + public static int INT_FAST8_MAX() { + return INT_FAST8_MAX; + } + private static final int INT_FAST16_MAX = (int)32767L; + /** + * {@snippet lang=c : + * #define INT_FAST16_MAX 32767 + * } + */ + public static int INT_FAST16_MAX() { + return INT_FAST16_MAX; + } + private static final int INT_FAST32_MAX = (int)2147483647L; + /** + * {@snippet lang=c : + * #define INT_FAST32_MAX 2147483647 + * } + */ + public static int INT_FAST32_MAX() { + return INT_FAST32_MAX; + } + private static final long INT_FAST64_MAX = 9223372036854775807L; + /** + * {@snippet lang=c : + * #define INT_FAST64_MAX 9223372036854775807 + * } + */ + public static long INT_FAST64_MAX() { + return INT_FAST64_MAX; + } + private static final int UINT_FAST8_MAX = (int)255L; + /** + * {@snippet lang=c : + * #define UINT_FAST8_MAX 255 + * } + */ + public static int UINT_FAST8_MAX() { + return UINT_FAST8_MAX; + } + private static final int UINT_FAST16_MAX = (int)65535L; + /** + * {@snippet lang=c : + * #define UINT_FAST16_MAX 65535 + * } + */ + public static int UINT_FAST16_MAX() { + return UINT_FAST16_MAX; + } + private static final int UINT_FAST32_MAX = (int)4294967295L; + /** + * {@snippet lang=c : + * #define UINT_FAST32_MAX 4294967295 + * } + */ + public static int UINT_FAST32_MAX() { + return UINT_FAST32_MAX; + } + private static final long UINT_FAST64_MAX = -1L; + /** + * {@snippet lang=c : + * #define UINT_FAST64_MAX -1 + * } + */ + public static long UINT_FAST64_MAX() { + return UINT_FAST64_MAX; + } + private static final long INTPTR_MAX = 9223372036854775807L; + /** + * {@snippet lang=c : + * #define INTPTR_MAX 9223372036854775807 + * } + */ + public static long INTPTR_MAX() { + return INTPTR_MAX; + } + private static final long INTPTR_MIN = -9223372036854775808L; + /** + * {@snippet lang=c : + * #define INTPTR_MIN -9223372036854775808 + * } + */ + public static long INTPTR_MIN() { + return INTPTR_MIN; + } + private static final long UINTPTR_MAX = -1L; + /** + * {@snippet lang=c : + * #define UINTPTR_MAX -1 + * } + */ + public static long UINTPTR_MAX() { + return UINTPTR_MAX; + } + private static final long INTMAX_MAX = 9223372036854775807L; + /** + * {@snippet lang=c : + * #define INTMAX_MAX 9223372036854775807 + * } + */ + public static long INTMAX_MAX() { + return INTMAX_MAX; + } + private static final long UINTMAX_MAX = -1L; + /** + * {@snippet lang=c : + * #define UINTMAX_MAX -1 + * } + */ + public static long UINTMAX_MAX() { + return UINTMAX_MAX; + } + private static final long INTMAX_MIN = -9223372036854775808L; + /** + * {@snippet lang=c : + * #define INTMAX_MIN -9223372036854775808 + * } + */ + public static long INTMAX_MIN() { + return INTMAX_MIN; + } + private static final long PTRDIFF_MIN = -9223372036854775808L; + /** + * {@snippet lang=c : + * #define PTRDIFF_MIN -9223372036854775808 + * } + */ + public static long PTRDIFF_MIN() { + return PTRDIFF_MIN; + } + private static final long PTRDIFF_MAX = 9223372036854775807L; + /** + * {@snippet lang=c : + * #define PTRDIFF_MAX 9223372036854775807 + * } + */ + public static long PTRDIFF_MAX() { + return PTRDIFF_MAX; + } + private static final long SIZE_MAX = -1L; + /** + * {@snippet lang=c : + * #define SIZE_MAX -1 + * } + */ + public static long SIZE_MAX() { + return SIZE_MAX; + } + private static final long RSIZE_MAX = 9223372036854775807L; + /** + * {@snippet lang=c : + * #define RSIZE_MAX 9223372036854775807 + * } + */ + public static long RSIZE_MAX() { + return RSIZE_MAX; + } + private static final int WCHAR_MAX = (int)2147483647L; + /** + * {@snippet lang=c : + * #define WCHAR_MAX 2147483647 + * } + */ + public static int WCHAR_MAX() { + return WCHAR_MAX; + } + private static final int WCHAR_MIN = (int)-2147483648L; + /** + * {@snippet lang=c : + * #define WCHAR_MIN -2147483648 + * } + */ + public static int WCHAR_MIN() { + return WCHAR_MIN; + } + private static final int WINT_MIN = (int)-2147483648L; + /** + * {@snippet lang=c : + * #define WINT_MIN -2147483648 + * } + */ + public static int WINT_MIN() { + return WINT_MIN; + } + private static final int WINT_MAX = (int)2147483647L; + /** + * {@snippet lang=c : + * #define WINT_MAX 2147483647 + * } + */ + public static int WINT_MAX() { + return WINT_MAX; + } + private static final int SIG_ATOMIC_MIN = (int)-2147483648L; + /** + * {@snippet lang=c : + * #define SIG_ATOMIC_MIN -2147483648 + * } + */ + public static int SIG_ATOMIC_MIN() { + return SIG_ATOMIC_MIN; + } + private static final int SIG_ATOMIC_MAX = (int)2147483647L; + /** + * {@snippet lang=c : + * #define SIG_ATOMIC_MAX 2147483647 + * } + */ + public static int SIG_ATOMIC_MAX() { + return SIG_ATOMIC_MAX; + } + private static final int MAC_OS_X_VERSION_10_0 = (int)1000L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_0 1000 + * } + */ + public static int MAC_OS_X_VERSION_10_0() { + return MAC_OS_X_VERSION_10_0; + } + private static final int MAC_OS_X_VERSION_10_1 = (int)1010L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_1 1010 + * } + */ + public static int MAC_OS_X_VERSION_10_1() { + return MAC_OS_X_VERSION_10_1; + } + private static final int MAC_OS_X_VERSION_10_2 = (int)1020L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_2 1020 + * } + */ + public static int MAC_OS_X_VERSION_10_2() { + return MAC_OS_X_VERSION_10_2; + } + private static final int MAC_OS_X_VERSION_10_3 = (int)1030L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_3 1030 + * } + */ + public static int MAC_OS_X_VERSION_10_3() { + return MAC_OS_X_VERSION_10_3; + } + private static final int MAC_OS_X_VERSION_10_4 = (int)1040L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_4 1040 + * } + */ + public static int MAC_OS_X_VERSION_10_4() { + return MAC_OS_X_VERSION_10_4; + } + private static final int MAC_OS_X_VERSION_10_5 = (int)1050L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_5 1050 + * } + */ + public static int MAC_OS_X_VERSION_10_5() { + return MAC_OS_X_VERSION_10_5; + } + private static final int MAC_OS_X_VERSION_10_6 = (int)1060L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_6 1060 + * } + */ + public static int MAC_OS_X_VERSION_10_6() { + return MAC_OS_X_VERSION_10_6; + } + private static final int MAC_OS_X_VERSION_10_7 = (int)1070L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_7 1070 + * } + */ + public static int MAC_OS_X_VERSION_10_7() { + return MAC_OS_X_VERSION_10_7; + } + private static final int MAC_OS_X_VERSION_10_8 = (int)1080L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_8 1080 + * } + */ + public static int MAC_OS_X_VERSION_10_8() { + return MAC_OS_X_VERSION_10_8; + } + private static final int MAC_OS_X_VERSION_10_9 = (int)1090L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_9 1090 + * } + */ + public static int MAC_OS_X_VERSION_10_9() { + return MAC_OS_X_VERSION_10_9; + } + private static final int MAC_OS_X_VERSION_10_10 = (int)101000L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_10 101000 + * } + */ + public static int MAC_OS_X_VERSION_10_10() { + return MAC_OS_X_VERSION_10_10; + } + private static final int MAC_OS_X_VERSION_10_10_2 = (int)101002L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_10_2 101002 + * } + */ + public static int MAC_OS_X_VERSION_10_10_2() { + return MAC_OS_X_VERSION_10_10_2; + } + private static final int MAC_OS_X_VERSION_10_10_3 = (int)101003L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_10_3 101003 + * } + */ + public static int MAC_OS_X_VERSION_10_10_3() { + return MAC_OS_X_VERSION_10_10_3; + } + private static final int MAC_OS_X_VERSION_10_11 = (int)101100L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_11 101100 + * } + */ + public static int MAC_OS_X_VERSION_10_11() { + return MAC_OS_X_VERSION_10_11; + } + private static final int MAC_OS_X_VERSION_10_11_2 = (int)101102L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_11_2 101102 + * } + */ + public static int MAC_OS_X_VERSION_10_11_2() { + return MAC_OS_X_VERSION_10_11_2; + } + private static final int MAC_OS_X_VERSION_10_11_3 = (int)101103L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_11_3 101103 + * } + */ + public static int MAC_OS_X_VERSION_10_11_3() { + return MAC_OS_X_VERSION_10_11_3; + } + private static final int MAC_OS_X_VERSION_10_11_4 = (int)101104L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_11_4 101104 + * } + */ + public static int MAC_OS_X_VERSION_10_11_4() { + return MAC_OS_X_VERSION_10_11_4; + } + private static final int MAC_OS_X_VERSION_10_12 = (int)101200L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_12 101200 + * } + */ + public static int MAC_OS_X_VERSION_10_12() { + return MAC_OS_X_VERSION_10_12; + } + private static final int MAC_OS_X_VERSION_10_12_1 = (int)101201L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_12_1 101201 + * } + */ + public static int MAC_OS_X_VERSION_10_12_1() { + return MAC_OS_X_VERSION_10_12_1; + } + private static final int MAC_OS_X_VERSION_10_12_2 = (int)101202L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_12_2 101202 + * } + */ + public static int MAC_OS_X_VERSION_10_12_2() { + return MAC_OS_X_VERSION_10_12_2; + } + private static final int MAC_OS_X_VERSION_10_12_4 = (int)101204L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_12_4 101204 + * } + */ + public static int MAC_OS_X_VERSION_10_12_4() { + return MAC_OS_X_VERSION_10_12_4; + } + private static final int MAC_OS_X_VERSION_10_13 = (int)101300L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_13 101300 + * } + */ + public static int MAC_OS_X_VERSION_10_13() { + return MAC_OS_X_VERSION_10_13; + } + private static final int MAC_OS_X_VERSION_10_13_1 = (int)101301L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_13_1 101301 + * } + */ + public static int MAC_OS_X_VERSION_10_13_1() { + return MAC_OS_X_VERSION_10_13_1; + } + private static final int MAC_OS_X_VERSION_10_13_2 = (int)101302L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_13_2 101302 + * } + */ + public static int MAC_OS_X_VERSION_10_13_2() { + return MAC_OS_X_VERSION_10_13_2; + } + private static final int MAC_OS_X_VERSION_10_13_4 = (int)101304L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_13_4 101304 + * } + */ + public static int MAC_OS_X_VERSION_10_13_4() { + return MAC_OS_X_VERSION_10_13_4; + } + private static final int MAC_OS_X_VERSION_10_14 = (int)101400L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_14 101400 + * } + */ + public static int MAC_OS_X_VERSION_10_14() { + return MAC_OS_X_VERSION_10_14; + } + private static final int MAC_OS_X_VERSION_10_14_1 = (int)101401L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_14_1 101401 + * } + */ + public static int MAC_OS_X_VERSION_10_14_1() { + return MAC_OS_X_VERSION_10_14_1; + } + private static final int MAC_OS_X_VERSION_10_14_4 = (int)101404L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_14_4 101404 + * } + */ + public static int MAC_OS_X_VERSION_10_14_4() { + return MAC_OS_X_VERSION_10_14_4; + } + private static final int MAC_OS_X_VERSION_10_14_5 = (int)101405L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_14_5 101405 + * } + */ + public static int MAC_OS_X_VERSION_10_14_5() { + return MAC_OS_X_VERSION_10_14_5; + } + private static final int MAC_OS_X_VERSION_10_14_6 = (int)101406L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_14_6 101406 + * } + */ + public static int MAC_OS_X_VERSION_10_14_6() { + return MAC_OS_X_VERSION_10_14_6; + } + private static final int MAC_OS_X_VERSION_10_15 = (int)101500L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_15 101500 + * } + */ + public static int MAC_OS_X_VERSION_10_15() { + return MAC_OS_X_VERSION_10_15; + } + private static final int MAC_OS_X_VERSION_10_15_1 = (int)101501L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_15_1 101501 + * } + */ + public static int MAC_OS_X_VERSION_10_15_1() { + return MAC_OS_X_VERSION_10_15_1; + } + private static final int MAC_OS_X_VERSION_10_15_4 = (int)101504L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_15_4 101504 + * } + */ + public static int MAC_OS_X_VERSION_10_15_4() { + return MAC_OS_X_VERSION_10_15_4; + } + private static final int MAC_OS_X_VERSION_10_16 = (int)101600L; + /** + * {@snippet lang=c : + * #define MAC_OS_X_VERSION_10_16 101600 + * } + */ + public static int MAC_OS_X_VERSION_10_16() { + return MAC_OS_X_VERSION_10_16; + } + private static final int MAC_OS_VERSION_11_0 = (int)110000L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_11_0 110000 + * } + */ + public static int MAC_OS_VERSION_11_0() { + return MAC_OS_VERSION_11_0; + } + private static final int MAC_OS_VERSION_11_1 = (int)110100L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_11_1 110100 + * } + */ + public static int MAC_OS_VERSION_11_1() { + return MAC_OS_VERSION_11_1; + } + private static final int MAC_OS_VERSION_11_3 = (int)110300L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_11_3 110300 + * } + */ + public static int MAC_OS_VERSION_11_3() { + return MAC_OS_VERSION_11_3; + } + private static final int MAC_OS_VERSION_11_4 = (int)110400L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_11_4 110400 + * } + */ + public static int MAC_OS_VERSION_11_4() { + return MAC_OS_VERSION_11_4; + } + private static final int MAC_OS_VERSION_11_5 = (int)110500L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_11_5 110500 + * } + */ + public static int MAC_OS_VERSION_11_5() { + return MAC_OS_VERSION_11_5; + } + private static final int MAC_OS_VERSION_11_6 = (int)110600L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_11_6 110600 + * } + */ + public static int MAC_OS_VERSION_11_6() { + return MAC_OS_VERSION_11_6; + } + private static final int MAC_OS_VERSION_12_0 = (int)120000L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_12_0 120000 + * } + */ + public static int MAC_OS_VERSION_12_0() { + return MAC_OS_VERSION_12_0; + } + private static final int MAC_OS_VERSION_12_1 = (int)120100L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_12_1 120100 + * } + */ + public static int MAC_OS_VERSION_12_1() { + return MAC_OS_VERSION_12_1; + } + private static final int MAC_OS_VERSION_12_2 = (int)120200L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_12_2 120200 + * } + */ + public static int MAC_OS_VERSION_12_2() { + return MAC_OS_VERSION_12_2; + } + private static final int MAC_OS_VERSION_12_3 = (int)120300L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_12_3 120300 + * } + */ + public static int MAC_OS_VERSION_12_3() { + return MAC_OS_VERSION_12_3; + } + private static final int MAC_OS_VERSION_12_4 = (int)120400L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_12_4 120400 + * } + */ + public static int MAC_OS_VERSION_12_4() { + return MAC_OS_VERSION_12_4; + } + private static final int MAC_OS_VERSION_12_5 = (int)120500L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_12_5 120500 + * } + */ + public static int MAC_OS_VERSION_12_5() { + return MAC_OS_VERSION_12_5; + } + private static final int MAC_OS_VERSION_12_6 = (int)120600L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_12_6 120600 + * } + */ + public static int MAC_OS_VERSION_12_6() { + return MAC_OS_VERSION_12_6; + } + private static final int MAC_OS_VERSION_12_7 = (int)120700L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_12_7 120700 + * } + */ + public static int MAC_OS_VERSION_12_7() { + return MAC_OS_VERSION_12_7; + } + private static final int MAC_OS_VERSION_13_0 = (int)130000L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_13_0 130000 + * } + */ + public static int MAC_OS_VERSION_13_0() { + return MAC_OS_VERSION_13_0; + } + private static final int MAC_OS_VERSION_13_1 = (int)130100L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_13_1 130100 + * } + */ + public static int MAC_OS_VERSION_13_1() { + return MAC_OS_VERSION_13_1; + } + private static final int MAC_OS_VERSION_13_2 = (int)130200L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_13_2 130200 + * } + */ + public static int MAC_OS_VERSION_13_2() { + return MAC_OS_VERSION_13_2; + } + private static final int MAC_OS_VERSION_13_3 = (int)130300L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_13_3 130300 + * } + */ + public static int MAC_OS_VERSION_13_3() { + return MAC_OS_VERSION_13_3; + } + private static final int MAC_OS_VERSION_13_4 = (int)130400L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_13_4 130400 + * } + */ + public static int MAC_OS_VERSION_13_4() { + return MAC_OS_VERSION_13_4; + } + private static final int MAC_OS_VERSION_13_5 = (int)130500L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_13_5 130500 + * } + */ + public static int MAC_OS_VERSION_13_5() { + return MAC_OS_VERSION_13_5; + } + private static final int MAC_OS_VERSION_13_6 = (int)130600L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_13_6 130600 + * } + */ + public static int MAC_OS_VERSION_13_6() { + return MAC_OS_VERSION_13_6; + } + private static final int MAC_OS_VERSION_13_7 = (int)130700L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_13_7 130700 + * } + */ + public static int MAC_OS_VERSION_13_7() { + return MAC_OS_VERSION_13_7; + } + private static final int MAC_OS_VERSION_14_0 = (int)140000L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_14_0 140000 + * } + */ + public static int MAC_OS_VERSION_14_0() { + return MAC_OS_VERSION_14_0; + } + private static final int MAC_OS_VERSION_14_1 = (int)140100L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_14_1 140100 + * } + */ + public static int MAC_OS_VERSION_14_1() { + return MAC_OS_VERSION_14_1; + } + private static final int MAC_OS_VERSION_14_2 = (int)140200L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_14_2 140200 + * } + */ + public static int MAC_OS_VERSION_14_2() { + return MAC_OS_VERSION_14_2; + } + private static final int MAC_OS_VERSION_14_3 = (int)140300L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_14_3 140300 + * } + */ + public static int MAC_OS_VERSION_14_3() { + return MAC_OS_VERSION_14_3; + } + private static final int MAC_OS_VERSION_14_4 = (int)140400L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_14_4 140400 + * } + */ + public static int MAC_OS_VERSION_14_4() { + return MAC_OS_VERSION_14_4; + } + private static final int MAC_OS_VERSION_14_5 = (int)140500L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_14_5 140500 + * } + */ + public static int MAC_OS_VERSION_14_5() { + return MAC_OS_VERSION_14_5; + } + private static final int MAC_OS_VERSION_14_6 = (int)140600L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_14_6 140600 + * } + */ + public static int MAC_OS_VERSION_14_6() { + return MAC_OS_VERSION_14_6; + } + private static final int MAC_OS_VERSION_14_7 = (int)140700L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_14_7 140700 + * } + */ + public static int MAC_OS_VERSION_14_7() { + return MAC_OS_VERSION_14_7; + } + private static final int MAC_OS_VERSION_15_0 = (int)150000L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_15_0 150000 + * } + */ + public static int MAC_OS_VERSION_15_0() { + return MAC_OS_VERSION_15_0; + } + private static final int MAC_OS_VERSION_15_1 = (int)150100L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_15_1 150100 + * } + */ + public static int MAC_OS_VERSION_15_1() { + return MAC_OS_VERSION_15_1; + } + private static final int MAC_OS_VERSION_15_2 = (int)150200L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_15_2 150200 + * } + */ + public static int MAC_OS_VERSION_15_2() { + return MAC_OS_VERSION_15_2; + } + private static final int MAC_OS_VERSION_15_3 = (int)150300L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_15_3 150300 + * } + */ + public static int MAC_OS_VERSION_15_3() { + return MAC_OS_VERSION_15_3; + } + private static final int MAC_OS_VERSION_15_4 = (int)150400L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_15_4 150400 + * } + */ + public static int MAC_OS_VERSION_15_4() { + return MAC_OS_VERSION_15_4; + } + private static final int MAC_OS_VERSION_15_5 = (int)150500L; + /** + * {@snippet lang=c : + * #define MAC_OS_VERSION_15_5 150500 + * } + */ + public static int MAC_OS_VERSION_15_5() { + return MAC_OS_VERSION_15_5; + } + private static final int __AVAILABILITY_VERSIONS_VERSION_HASH = (int)93585900L; + /** + * {@snippet lang=c : + * #define __AVAILABILITY_VERSIONS_VERSION_HASH 93585900 + * } + */ + public static int __AVAILABILITY_VERSIONS_VERSION_HASH() { + return __AVAILABILITY_VERSIONS_VERSION_HASH; + } + /** + * {@snippet lang=c : + * #define __AVAILABILITY_VERSIONS_VERSION_STRING "Local" + * } + */ + public static MemorySegment __AVAILABILITY_VERSIONS_VERSION_STRING() { + class Holder { + static final MemorySegment __AVAILABILITY_VERSIONS_VERSION_STRING + = mlx_h.LIBRARY_ARENA.allocateFrom("Local"); + } + return Holder.__AVAILABILITY_VERSIONS_VERSION_STRING; + } + /** + * {@snippet lang=c : + * #define __AVAILABILITY_FILE "AvailabilityVersions.h" + * } + */ + public static MemorySegment __AVAILABILITY_FILE() { + class Holder { + static final MemorySegment __AVAILABILITY_FILE + = mlx_h.LIBRARY_ARENA.allocateFrom("AvailabilityVersions.h"); + } + return Holder.__AVAILABILITY_FILE; + } + private static final int __MAC_OS_X_VERSION_MIN_REQUIRED = (int)150000L; + /** + * {@snippet lang=c : + * #define __MAC_OS_X_VERSION_MIN_REQUIRED 150000 + * } + */ + public static int __MAC_OS_X_VERSION_MIN_REQUIRED() { + return __MAC_OS_X_VERSION_MIN_REQUIRED; + } + private static final int __MAC_OS_X_VERSION_MAX_ALLOWED = (int)150500L; + /** + * {@snippet lang=c : + * #define __MAC_OS_X_VERSION_MAX_ALLOWED 150500 + * } + */ + public static int __MAC_OS_X_VERSION_MAX_ALLOWED() { + return __MAC_OS_X_VERSION_MAX_ALLOWED; + } + private static final int __DARWIN_WCHAR_MAX = (int)2147483647L; + /** + * {@snippet lang=c : + * #define __DARWIN_WCHAR_MAX 2147483647 + * } + */ + public static int __DARWIN_WCHAR_MAX() { + return __DARWIN_WCHAR_MAX; + } + private static final int __DARWIN_WCHAR_MIN = (int)-2147483648L; + /** + * {@snippet lang=c : + * #define __DARWIN_WCHAR_MIN -2147483648 + * } + */ + public static int __DARWIN_WCHAR_MIN() { + return __DARWIN_WCHAR_MIN; + } + private static final int __DARWIN_WEOF = (int)-1L; + /** + * {@snippet lang=c : + * #define __DARWIN_WEOF -1 + * } + */ + public static int __DARWIN_WEOF() { + return __DARWIN_WEOF; + } + private static final int NSIG = (int)32L; + /** + * {@snippet lang=c : + * #define NSIG 32 + * } + */ + public static int NSIG() { + return NSIG; + } + private static final int SIGIOT = (int)6L; + /** + * {@snippet lang=c : + * #define SIGIOT 6 + * } + */ + public static int SIGIOT() { + return SIGIOT; + } + private static final MemorySegment SIG_DFL = MemorySegment.ofAddress(0L); + /** + * {@snippet lang=c : + * #define SIG_DFL (void*) 0 + * } + */ + public static MemorySegment SIG_DFL() { + return SIG_DFL; + } + private static final MemorySegment SIG_IGN = MemorySegment.ofAddress(1L); + /** + * {@snippet lang=c : + * #define SIG_IGN (void*) 1 + * } + */ + public static MemorySegment SIG_IGN() { + return SIG_IGN; + } + private static final MemorySegment SIG_HOLD = MemorySegment.ofAddress(5L); + /** + * {@snippet lang=c : + * #define SIG_HOLD (void*) 5 + * } + */ + public static MemorySegment SIG_HOLD() { + return SIG_HOLD; + } + private static final MemorySegment SIG_ERR = MemorySegment.ofAddress(-1L); + /** + * {@snippet lang=c : + * #define SIG_ERR (void*) -1 + * } + */ + public static MemorySegment SIG_ERR() { + return SIG_ERR; + } + private static final long USER_ADDR_NULL = 0L; + /** + * {@snippet lang=c : + * #define USER_ADDR_NULL 0 + * } + */ + public static long USER_ADDR_NULL() { + return USER_ADDR_NULL; + } + private static final int SA_USERSPACE_MASK = (int)127L; + /** + * {@snippet lang=c : + * #define SA_USERSPACE_MASK 127 + * } + */ + public static int SA_USERSPACE_MASK() { + return SA_USERSPACE_MASK; + } + private static final int SV_ONSTACK = (int)1L; + /** + * {@snippet lang=c : + * #define SV_ONSTACK 1 + * } + */ + public static int SV_ONSTACK() { + return SV_ONSTACK; + } + private static final int SV_INTERRUPT = (int)2L; + /** + * {@snippet lang=c : + * #define SV_INTERRUPT 2 + * } + */ + public static int SV_INTERRUPT() { + return SV_INTERRUPT; + } + private static final int SV_RESETHAND = (int)4L; + /** + * {@snippet lang=c : + * #define SV_RESETHAND 4 + * } + */ + public static int SV_RESETHAND() { + return SV_RESETHAND; + } + private static final int SV_NODEFER = (int)16L; + /** + * {@snippet lang=c : + * #define SV_NODEFER 16 + * } + */ + public static int SV_NODEFER() { + return SV_NODEFER; + } + private static final int SV_NOCLDSTOP = (int)8L; + /** + * {@snippet lang=c : + * #define SV_NOCLDSTOP 8 + * } + */ + public static int SV_NOCLDSTOP() { + return SV_NOCLDSTOP; + } + private static final int SV_SIGINFO = (int)64L; + /** + * {@snippet lang=c : + * #define SV_SIGINFO 64 + * } + */ + public static int SV_SIGINFO() { + return SV_SIGINFO; + } + private static final MemorySegment BADSIG = MemorySegment.ofAddress(-1L); + /** + * {@snippet lang=c : + * #define BADSIG (void*) -1 + * } + */ + public static MemorySegment BADSIG() { + return BADSIG; + } + private static final int PRIO_MIN = (int)-20L; + /** + * {@snippet lang=c : + * #define PRIO_MIN -20 + * } + */ + public static int PRIO_MIN() { + return PRIO_MIN; + } + private static final int RUSAGE_CHILDREN = (int)-1L; + /** + * {@snippet lang=c : + * #define RUSAGE_CHILDREN -1 + * } + */ + public static int RUSAGE_CHILDREN() { + return RUSAGE_CHILDREN; + } + private static final int RUSAGE_INFO_CURRENT = (int)6L; + /** + * {@snippet lang=c : + * #define RUSAGE_INFO_CURRENT 6 + * } + */ + public static int RUSAGE_INFO_CURRENT() { + return RUSAGE_INFO_CURRENT; + } + private static final long RLIM_INFINITY = 9223372036854775807L; + /** + * {@snippet lang=c : + * #define RLIM_INFINITY 9223372036854775807 + * } + */ + public static long RLIM_INFINITY() { + return RLIM_INFINITY; + } + private static final long RLIM_SAVED_MAX = 9223372036854775807L; + /** + * {@snippet lang=c : + * #define RLIM_SAVED_MAX 9223372036854775807 + * } + */ + public static long RLIM_SAVED_MAX() { + return RLIM_SAVED_MAX; + } + private static final long RLIM_SAVED_CUR = 9223372036854775807L; + /** + * {@snippet lang=c : + * #define RLIM_SAVED_CUR 9223372036854775807 + * } + */ + public static long RLIM_SAVED_CUR() { + return RLIM_SAVED_CUR; + } + private static final int RLIMIT_RSS = (int)5L; + /** + * {@snippet lang=c : + * #define RLIMIT_RSS 5 + * } + */ + public static int RLIMIT_RSS() { + return RLIMIT_RSS; + } + private static final int IOPOL_APPLICATION = (int)5L; + /** + * {@snippet lang=c : + * #define IOPOL_APPLICATION 5 + * } + */ + public static int IOPOL_APPLICATION() { + return IOPOL_APPLICATION; + } + private static final int IOPOL_NORMAL = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_NORMAL 1 + * } + */ + public static int IOPOL_NORMAL() { + return IOPOL_NORMAL; + } + private static final int WAIT_ANY = (int)-1L; + /** + * {@snippet lang=c : + * #define WAIT_ANY -1 + * } + */ + public static int WAIT_ANY() { + return WAIT_ANY; + } + private static final int LITTLE_ENDIAN = (int)1234L; + /** + * {@snippet lang=c : + * #define LITTLE_ENDIAN 1234 + * } + */ + public static int LITTLE_ENDIAN() { + return LITTLE_ENDIAN; + } + private static final int BIG_ENDIAN = (int)4321L; + /** + * {@snippet lang=c : + * #define BIG_ENDIAN 4321 + * } + */ + public static int BIG_ENDIAN() { + return BIG_ENDIAN; + } + private static final int PDP_ENDIAN = (int)3412L; + /** + * {@snippet lang=c : + * #define PDP_ENDIAN 3412 + * } + */ + public static int PDP_ENDIAN() { + return PDP_ENDIAN; + } + private static final int __DARWIN_BYTE_ORDER = (int)1234L; + /** + * {@snippet lang=c : + * #define __DARWIN_BYTE_ORDER 1234 + * } + */ + public static int __DARWIN_BYTE_ORDER() { + return __DARWIN_BYTE_ORDER; + } + private static final int BYTE_ORDER = (int)1234L; + /** + * {@snippet lang=c : + * #define BYTE_ORDER 1234 + * } + */ + public static int BYTE_ORDER() { + return BYTE_ORDER; + } + private static final MemorySegment NULL = MemorySegment.ofAddress(0L); + /** + * {@snippet lang=c : + * #define NULL (void*) 0 + * } + */ + public static MemorySegment NULL() { + return NULL; + } + private static final int EOF = (int)-1L; + /** + * {@snippet lang=c : + * #define EOF -1 + * } + */ + public static int EOF() { + return EOF; + } + /** + * {@snippet lang=c : + * #define P_tmpdir "/var/tmp/" + * } + */ + public static MemorySegment P_tmpdir() { + class Holder { + static final MemorySegment P_tmpdir + = mlx_h.LIBRARY_ARENA.allocateFrom("/var/tmp/"); + } + return Holder.P_tmpdir; + } +} + diff --git a/generated/src/mlx/mlx_h_1.java b/generated/src/mlx/mlx_h_1.java new file mode 100644 index 00000000..759fc0d9 --- /dev/null +++ b/generated/src/mlx/mlx_h_1.java @@ -0,0 +1,22392 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +public class mlx_h_1 extends mlx_h_shared { + + mlx_h_1() { + // Should not be called directly + } + + static final Arena LIBRARY_ARENA = Arena.ofAuto(); + + + static { + System.loadLibrary("mlxc"); + } + + static final SymbolLookup SYMBOL_LOOKUP = SymbolLookup.loaderLookup() + .or(Linker.nativeLinker().defaultLookup()); + + private static final int FLT_HAS_SUBNORM = (int)1L; + /** + * {@snippet lang=c : + * #define FLT_HAS_SUBNORM 1 + * } + */ + public static int FLT_HAS_SUBNORM() { + return FLT_HAS_SUBNORM; + } + private static final int DBL_HAS_SUBNORM = (int)1L; + /** + * {@snippet lang=c : + * #define DBL_HAS_SUBNORM 1 + * } + */ + public static int DBL_HAS_SUBNORM() { + return DBL_HAS_SUBNORM; + } + private static final int LDBL_HAS_SUBNORM = (int)1L; + /** + * {@snippet lang=c : + * #define LDBL_HAS_SUBNORM 1 + * } + */ + public static int LDBL_HAS_SUBNORM() { + return LDBL_HAS_SUBNORM; + } + private static final int __bool_true_false_are_defined = (int)1L; + /** + * {@snippet lang=c : + * #define __bool_true_false_are_defined 1 + * } + */ + public static int __bool_true_false_are_defined() { + return __bool_true_false_are_defined; + } + private static final int true_ = (int)1L; + /** + * {@snippet lang=c : + * #define true 1 + * } + */ + public static int true_() { + return true_; + } + private static final int false_ = (int)0L; + /** + * {@snippet lang=c : + * #define false 0 + * } + */ + public static int false_() { + return false_; + } + private static final int __WORDSIZE = (int)64L; + /** + * {@snippet lang=c : + * #define __WORDSIZE 64 + * } + */ + public static int __WORDSIZE() { + return __WORDSIZE; + } + private static final int __has_safe_buffers = (int)1L; + /** + * {@snippet lang=c : + * #define __has_safe_buffers 1 + * } + */ + public static int __has_safe_buffers() { + return __has_safe_buffers; + } + private static final int __DARWIN_ONLY_64_BIT_INO_T = (int)1L; + /** + * {@snippet lang=c : + * #define __DARWIN_ONLY_64_BIT_INO_T 1 + * } + */ + public static int __DARWIN_ONLY_64_BIT_INO_T() { + return __DARWIN_ONLY_64_BIT_INO_T; + } + private static final int __DARWIN_ONLY_UNIX_CONFORMANCE = (int)1L; + /** + * {@snippet lang=c : + * #define __DARWIN_ONLY_UNIX_CONFORMANCE 1 + * } + */ + public static int __DARWIN_ONLY_UNIX_CONFORMANCE() { + return __DARWIN_ONLY_UNIX_CONFORMANCE; + } + private static final int __DARWIN_ONLY_VERS_1050 = (int)1L; + /** + * {@snippet lang=c : + * #define __DARWIN_ONLY_VERS_1050 1 + * } + */ + public static int __DARWIN_ONLY_VERS_1050() { + return __DARWIN_ONLY_VERS_1050; + } + private static final int __DARWIN_UNIX03 = (int)1L; + /** + * {@snippet lang=c : + * #define __DARWIN_UNIX03 1 + * } + */ + public static int __DARWIN_UNIX03() { + return __DARWIN_UNIX03; + } + private static final int __DARWIN_64_BIT_INO_T = (int)1L; + /** + * {@snippet lang=c : + * #define __DARWIN_64_BIT_INO_T 1 + * } + */ + public static int __DARWIN_64_BIT_INO_T() { + return __DARWIN_64_BIT_INO_T; + } + private static final int __DARWIN_VERS_1050 = (int)1L; + /** + * {@snippet lang=c : + * #define __DARWIN_VERS_1050 1 + * } + */ + public static int __DARWIN_VERS_1050() { + return __DARWIN_VERS_1050; + } + private static final int __DARWIN_NON_CANCELABLE = (int)0L; + /** + * {@snippet lang=c : + * #define __DARWIN_NON_CANCELABLE 0 + * } + */ + public static int __DARWIN_NON_CANCELABLE() { + return __DARWIN_NON_CANCELABLE; + } + private static final int __STDC_WANT_LIB_EXT1__ = (int)1L; + /** + * {@snippet lang=c : + * #define __STDC_WANT_LIB_EXT1__ 1 + * } + */ + public static int __STDC_WANT_LIB_EXT1__() { + return __STDC_WANT_LIB_EXT1__; + } + private static final int __DARWIN_NO_LONG_LONG = (int)0L; + /** + * {@snippet lang=c : + * #define __DARWIN_NO_LONG_LONG 0 + * } + */ + public static int __DARWIN_NO_LONG_LONG() { + return __DARWIN_NO_LONG_LONG; + } + private static final int _DARWIN_FEATURE_64_BIT_INODE = (int)1L; + /** + * {@snippet lang=c : + * #define _DARWIN_FEATURE_64_BIT_INODE 1 + * } + */ + public static int _DARWIN_FEATURE_64_BIT_INODE() { + return _DARWIN_FEATURE_64_BIT_INODE; + } + private static final int _DARWIN_FEATURE_ONLY_64_BIT_INODE = (int)1L; + /** + * {@snippet lang=c : + * #define _DARWIN_FEATURE_ONLY_64_BIT_INODE 1 + * } + */ + public static int _DARWIN_FEATURE_ONLY_64_BIT_INODE() { + return _DARWIN_FEATURE_ONLY_64_BIT_INODE; + } + private static final int _DARWIN_FEATURE_ONLY_VERS_1050 = (int)1L; + /** + * {@snippet lang=c : + * #define _DARWIN_FEATURE_ONLY_VERS_1050 1 + * } + */ + public static int _DARWIN_FEATURE_ONLY_VERS_1050() { + return _DARWIN_FEATURE_ONLY_VERS_1050; + } + private static final int _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = (int)1L; + /** + * {@snippet lang=c : + * #define _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE 1 + * } + */ + public static int _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE() { + return _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE; + } + private static final int _DARWIN_FEATURE_UNIX_CONFORMANCE = (int)3L; + /** + * {@snippet lang=c : + * #define _DARWIN_FEATURE_UNIX_CONFORMANCE 3 + * } + */ + public static int _DARWIN_FEATURE_UNIX_CONFORMANCE() { + return _DARWIN_FEATURE_UNIX_CONFORMANCE; + } + private static final int __has_ptrcheck = (int)0L; + /** + * {@snippet lang=c : + * #define __has_ptrcheck 0 + * } + */ + public static int __has_ptrcheck() { + return __has_ptrcheck; + } + private static final int USE_CLANG_TYPES = (int)0L; + /** + * {@snippet lang=c : + * #define USE_CLANG_TYPES 0 + * } + */ + public static int USE_CLANG_TYPES() { + return USE_CLANG_TYPES; + } + private static final int __PTHREAD_SIZE__ = (int)8176L; + /** + * {@snippet lang=c : + * #define __PTHREAD_SIZE__ 8176 + * } + */ + public static int __PTHREAD_SIZE__() { + return __PTHREAD_SIZE__; + } + private static final int __PTHREAD_ATTR_SIZE__ = (int)56L; + /** + * {@snippet lang=c : + * #define __PTHREAD_ATTR_SIZE__ 56 + * } + */ + public static int __PTHREAD_ATTR_SIZE__() { + return __PTHREAD_ATTR_SIZE__; + } + private static final int __PTHREAD_MUTEXATTR_SIZE__ = (int)8L; + /** + * {@snippet lang=c : + * #define __PTHREAD_MUTEXATTR_SIZE__ 8 + * } + */ + public static int __PTHREAD_MUTEXATTR_SIZE__() { + return __PTHREAD_MUTEXATTR_SIZE__; + } + private static final int __PTHREAD_MUTEX_SIZE__ = (int)56L; + /** + * {@snippet lang=c : + * #define __PTHREAD_MUTEX_SIZE__ 56 + * } + */ + public static int __PTHREAD_MUTEX_SIZE__() { + return __PTHREAD_MUTEX_SIZE__; + } + private static final int __PTHREAD_CONDATTR_SIZE__ = (int)8L; + /** + * {@snippet lang=c : + * #define __PTHREAD_CONDATTR_SIZE__ 8 + * } + */ + public static int __PTHREAD_CONDATTR_SIZE__() { + return __PTHREAD_CONDATTR_SIZE__; + } + private static final int __PTHREAD_COND_SIZE__ = (int)40L; + /** + * {@snippet lang=c : + * #define __PTHREAD_COND_SIZE__ 40 + * } + */ + public static int __PTHREAD_COND_SIZE__() { + return __PTHREAD_COND_SIZE__; + } + private static final int __PTHREAD_ONCE_SIZE__ = (int)8L; + /** + * {@snippet lang=c : + * #define __PTHREAD_ONCE_SIZE__ 8 + * } + */ + public static int __PTHREAD_ONCE_SIZE__() { + return __PTHREAD_ONCE_SIZE__; + } + private static final int __PTHREAD_RWLOCK_SIZE__ = (int)192L; + /** + * {@snippet lang=c : + * #define __PTHREAD_RWLOCK_SIZE__ 192 + * } + */ + public static int __PTHREAD_RWLOCK_SIZE__() { + return __PTHREAD_RWLOCK_SIZE__; + } + private static final int __PTHREAD_RWLOCKATTR_SIZE__ = (int)16L; + /** + * {@snippet lang=c : + * #define __PTHREAD_RWLOCKATTR_SIZE__ 16 + * } + */ + public static int __PTHREAD_RWLOCKATTR_SIZE__() { + return __PTHREAD_RWLOCKATTR_SIZE__; + } + private static final int INT8_MAX = (int)127L; + /** + * {@snippet lang=c : + * #define INT8_MAX 127 + * } + */ + public static int INT8_MAX() { + return INT8_MAX; + } + private static final int INT16_MAX = (int)32767L; + /** + * {@snippet lang=c : + * #define INT16_MAX 32767 + * } + */ + public static int INT16_MAX() { + return INT16_MAX; + } + private static final int INT32_MAX = (int)2147483647L; + /** + * {@snippet lang=c : + * #define INT32_MAX 2147483647 + * } + */ + public static int INT32_MAX() { + return INT32_MAX; + } + private static final int UINT8_MAX = (int)255L; + /** + * {@snippet lang=c : + * #define UINT8_MAX 255 + * } + */ + public static int UINT8_MAX() { + return UINT8_MAX; + } + private static final int UINT16_MAX = (int)65535L; + /** + * {@snippet lang=c : + * #define UINT16_MAX 65535 + * } + */ + public static int UINT16_MAX() { + return UINT16_MAX; + } + private static final int __API_TO_BE_DEPRECATED = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED() { + return __API_TO_BE_DEPRECATED; + } + private static final int __API_TO_BE_DEPRECATED_MACOS = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_MACOS 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_MACOS() { + return __API_TO_BE_DEPRECATED_MACOS; + } + private static final int __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION() { + return __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION; + } + private static final int __API_TO_BE_DEPRECATED_IOS = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_IOS 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_IOS() { + return __API_TO_BE_DEPRECATED_IOS; + } + private static final int __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION() { + return __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION; + } + private static final int __API_TO_BE_DEPRECATED_MACCATALYST = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_MACCATALYST 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_MACCATALYST() { + return __API_TO_BE_DEPRECATED_MACCATALYST; + } + private static final int __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION() { + return __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION; + } + private static final int __API_TO_BE_DEPRECATED_WATCHOS = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_WATCHOS 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_WATCHOS() { + return __API_TO_BE_DEPRECATED_WATCHOS; + } + private static final int __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION() { + return __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION; + } + private static final int __API_TO_BE_DEPRECATED_TVOS = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_TVOS 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_TVOS() { + return __API_TO_BE_DEPRECATED_TVOS; + } + private static final int __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION() { + return __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION; + } + private static final int __API_TO_BE_DEPRECATED_DRIVERKIT = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_DRIVERKIT 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_DRIVERKIT() { + return __API_TO_BE_DEPRECATED_DRIVERKIT; + } + private static final int __API_TO_BE_DEPRECATED_VISIONOS = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_VISIONOS 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_VISIONOS() { + return __API_TO_BE_DEPRECATED_VISIONOS; + } + private static final int __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION() { + return __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION; + } + private static final int __API_TO_BE_DEPRECATED_KERNELKIT = (int)100000L; + /** + * {@snippet lang=c : + * #define __API_TO_BE_DEPRECATED_KERNELKIT 100000 + * } + */ + public static int __API_TO_BE_DEPRECATED_KERNELKIT() { + return __API_TO_BE_DEPRECATED_KERNELKIT; + } + private static final int __MAC_10_0 = (int)1000L; + /** + * {@snippet lang=c : + * #define __MAC_10_0 1000 + * } + */ + public static int __MAC_10_0() { + return __MAC_10_0; + } + private static final int __MAC_10_1 = (int)1010L; + /** + * {@snippet lang=c : + * #define __MAC_10_1 1010 + * } + */ + public static int __MAC_10_1() { + return __MAC_10_1; + } + private static final int __MAC_10_2 = (int)1020L; + /** + * {@snippet lang=c : + * #define __MAC_10_2 1020 + * } + */ + public static int __MAC_10_2() { + return __MAC_10_2; + } + private static final int __MAC_10_3 = (int)1030L; + /** + * {@snippet lang=c : + * #define __MAC_10_3 1030 + * } + */ + public static int __MAC_10_3() { + return __MAC_10_3; + } + private static final int __MAC_10_4 = (int)1040L; + /** + * {@snippet lang=c : + * #define __MAC_10_4 1040 + * } + */ + public static int __MAC_10_4() { + return __MAC_10_4; + } + private static final int __MAC_10_5 = (int)1050L; + /** + * {@snippet lang=c : + * #define __MAC_10_5 1050 + * } + */ + public static int __MAC_10_5() { + return __MAC_10_5; + } + private static final int __MAC_10_6 = (int)1060L; + /** + * {@snippet lang=c : + * #define __MAC_10_6 1060 + * } + */ + public static int __MAC_10_6() { + return __MAC_10_6; + } + private static final int __MAC_10_7 = (int)1070L; + /** + * {@snippet lang=c : + * #define __MAC_10_7 1070 + * } + */ + public static int __MAC_10_7() { + return __MAC_10_7; + } + private static final int __MAC_10_8 = (int)1080L; + /** + * {@snippet lang=c : + * #define __MAC_10_8 1080 + * } + */ + public static int __MAC_10_8() { + return __MAC_10_8; + } + private static final int __MAC_10_9 = (int)1090L; + /** + * {@snippet lang=c : + * #define __MAC_10_9 1090 + * } + */ + public static int __MAC_10_9() { + return __MAC_10_9; + } + private static final int __MAC_10_10 = (int)101000L; + /** + * {@snippet lang=c : + * #define __MAC_10_10 101000 + * } + */ + public static int __MAC_10_10() { + return __MAC_10_10; + } + private static final int __MAC_10_10_2 = (int)101002L; + /** + * {@snippet lang=c : + * #define __MAC_10_10_2 101002 + * } + */ + public static int __MAC_10_10_2() { + return __MAC_10_10_2; + } + private static final int __MAC_10_10_3 = (int)101003L; + /** + * {@snippet lang=c : + * #define __MAC_10_10_3 101003 + * } + */ + public static int __MAC_10_10_3() { + return __MAC_10_10_3; + } + private static final int __MAC_10_11 = (int)101100L; + /** + * {@snippet lang=c : + * #define __MAC_10_11 101100 + * } + */ + public static int __MAC_10_11() { + return __MAC_10_11; + } + private static final int __MAC_10_11_2 = (int)101102L; + /** + * {@snippet lang=c : + * #define __MAC_10_11_2 101102 + * } + */ + public static int __MAC_10_11_2() { + return __MAC_10_11_2; + } + private static final int __MAC_10_11_3 = (int)101103L; + /** + * {@snippet lang=c : + * #define __MAC_10_11_3 101103 + * } + */ + public static int __MAC_10_11_3() { + return __MAC_10_11_3; + } + private static final int __MAC_10_11_4 = (int)101104L; + /** + * {@snippet lang=c : + * #define __MAC_10_11_4 101104 + * } + */ + public static int __MAC_10_11_4() { + return __MAC_10_11_4; + } + private static final int __MAC_10_12 = (int)101200L; + /** + * {@snippet lang=c : + * #define __MAC_10_12 101200 + * } + */ + public static int __MAC_10_12() { + return __MAC_10_12; + } + private static final int __MAC_10_12_1 = (int)101201L; + /** + * {@snippet lang=c : + * #define __MAC_10_12_1 101201 + * } + */ + public static int __MAC_10_12_1() { + return __MAC_10_12_1; + } + private static final int __MAC_10_12_2 = (int)101202L; + /** + * {@snippet lang=c : + * #define __MAC_10_12_2 101202 + * } + */ + public static int __MAC_10_12_2() { + return __MAC_10_12_2; + } + private static final int __MAC_10_12_4 = (int)101204L; + /** + * {@snippet lang=c : + * #define __MAC_10_12_4 101204 + * } + */ + public static int __MAC_10_12_4() { + return __MAC_10_12_4; + } + private static final int __MAC_10_13 = (int)101300L; + /** + * {@snippet lang=c : + * #define __MAC_10_13 101300 + * } + */ + public static int __MAC_10_13() { + return __MAC_10_13; + } + private static final int __MAC_10_13_1 = (int)101301L; + /** + * {@snippet lang=c : + * #define __MAC_10_13_1 101301 + * } + */ + public static int __MAC_10_13_1() { + return __MAC_10_13_1; + } + private static final int __MAC_10_13_2 = (int)101302L; + /** + * {@snippet lang=c : + * #define __MAC_10_13_2 101302 + * } + */ + public static int __MAC_10_13_2() { + return __MAC_10_13_2; + } + private static final int __MAC_10_13_4 = (int)101304L; + /** + * {@snippet lang=c : + * #define __MAC_10_13_4 101304 + * } + */ + public static int __MAC_10_13_4() { + return __MAC_10_13_4; + } + private static final int __MAC_10_14 = (int)101400L; + /** + * {@snippet lang=c : + * #define __MAC_10_14 101400 + * } + */ + public static int __MAC_10_14() { + return __MAC_10_14; + } + private static final int __MAC_10_14_1 = (int)101401L; + /** + * {@snippet lang=c : + * #define __MAC_10_14_1 101401 + * } + */ + public static int __MAC_10_14_1() { + return __MAC_10_14_1; + } + private static final int __MAC_10_14_4 = (int)101404L; + /** + * {@snippet lang=c : + * #define __MAC_10_14_4 101404 + * } + */ + public static int __MAC_10_14_4() { + return __MAC_10_14_4; + } + private static final int __MAC_10_14_5 = (int)101405L; + /** + * {@snippet lang=c : + * #define __MAC_10_14_5 101405 + * } + */ + public static int __MAC_10_14_5() { + return __MAC_10_14_5; + } + private static final int __MAC_10_14_6 = (int)101406L; + /** + * {@snippet lang=c : + * #define __MAC_10_14_6 101406 + * } + */ + public static int __MAC_10_14_6() { + return __MAC_10_14_6; + } + private static final int __MAC_10_15 = (int)101500L; + /** + * {@snippet lang=c : + * #define __MAC_10_15 101500 + * } + */ + public static int __MAC_10_15() { + return __MAC_10_15; + } + private static final int __MAC_10_15_1 = (int)101501L; + /** + * {@snippet lang=c : + * #define __MAC_10_15_1 101501 + * } + */ + public static int __MAC_10_15_1() { + return __MAC_10_15_1; + } + private static final int __MAC_10_15_4 = (int)101504L; + /** + * {@snippet lang=c : + * #define __MAC_10_15_4 101504 + * } + */ + public static int __MAC_10_15_4() { + return __MAC_10_15_4; + } + private static final int __MAC_10_16 = (int)101600L; + /** + * {@snippet lang=c : + * #define __MAC_10_16 101600 + * } + */ + public static int __MAC_10_16() { + return __MAC_10_16; + } + private static final int __MAC_11_0 = (int)110000L; + /** + * {@snippet lang=c : + * #define __MAC_11_0 110000 + * } + */ + public static int __MAC_11_0() { + return __MAC_11_0; + } + private static final int __MAC_11_1 = (int)110100L; + /** + * {@snippet lang=c : + * #define __MAC_11_1 110100 + * } + */ + public static int __MAC_11_1() { + return __MAC_11_1; + } + private static final int __MAC_11_3 = (int)110300L; + /** + * {@snippet lang=c : + * #define __MAC_11_3 110300 + * } + */ + public static int __MAC_11_3() { + return __MAC_11_3; + } + private static final int __MAC_11_4 = (int)110400L; + /** + * {@snippet lang=c : + * #define __MAC_11_4 110400 + * } + */ + public static int __MAC_11_4() { + return __MAC_11_4; + } + private static final int __MAC_11_5 = (int)110500L; + /** + * {@snippet lang=c : + * #define __MAC_11_5 110500 + * } + */ + public static int __MAC_11_5() { + return __MAC_11_5; + } + private static final int __MAC_11_6 = (int)110600L; + /** + * {@snippet lang=c : + * #define __MAC_11_6 110600 + * } + */ + public static int __MAC_11_6() { + return __MAC_11_6; + } + private static final int __MAC_12_0 = (int)120000L; + /** + * {@snippet lang=c : + * #define __MAC_12_0 120000 + * } + */ + public static int __MAC_12_0() { + return __MAC_12_0; + } + private static final int __MAC_12_1 = (int)120100L; + /** + * {@snippet lang=c : + * #define __MAC_12_1 120100 + * } + */ + public static int __MAC_12_1() { + return __MAC_12_1; + } + private static final int __MAC_12_2 = (int)120200L; + /** + * {@snippet lang=c : + * #define __MAC_12_2 120200 + * } + */ + public static int __MAC_12_2() { + return __MAC_12_2; + } + private static final int __MAC_12_3 = (int)120300L; + /** + * {@snippet lang=c : + * #define __MAC_12_3 120300 + * } + */ + public static int __MAC_12_3() { + return __MAC_12_3; + } + private static final int __MAC_12_4 = (int)120400L; + /** + * {@snippet lang=c : + * #define __MAC_12_4 120400 + * } + */ + public static int __MAC_12_4() { + return __MAC_12_4; + } + private static final int __MAC_12_5 = (int)120500L; + /** + * {@snippet lang=c : + * #define __MAC_12_5 120500 + * } + */ + public static int __MAC_12_5() { + return __MAC_12_5; + } + private static final int __MAC_12_6 = (int)120600L; + /** + * {@snippet lang=c : + * #define __MAC_12_6 120600 + * } + */ + public static int __MAC_12_6() { + return __MAC_12_6; + } + private static final int __MAC_12_7 = (int)120700L; + /** + * {@snippet lang=c : + * #define __MAC_12_7 120700 + * } + */ + public static int __MAC_12_7() { + return __MAC_12_7; + } + private static final int __MAC_13_0 = (int)130000L; + /** + * {@snippet lang=c : + * #define __MAC_13_0 130000 + * } + */ + public static int __MAC_13_0() { + return __MAC_13_0; + } + private static final int __MAC_13_1 = (int)130100L; + /** + * {@snippet lang=c : + * #define __MAC_13_1 130100 + * } + */ + public static int __MAC_13_1() { + return __MAC_13_1; + } + private static final int __MAC_13_2 = (int)130200L; + /** + * {@snippet lang=c : + * #define __MAC_13_2 130200 + * } + */ + public static int __MAC_13_2() { + return __MAC_13_2; + } + private static final int __MAC_13_3 = (int)130300L; + /** + * {@snippet lang=c : + * #define __MAC_13_3 130300 + * } + */ + public static int __MAC_13_3() { + return __MAC_13_3; + } + private static final int __MAC_13_4 = (int)130400L; + /** + * {@snippet lang=c : + * #define __MAC_13_4 130400 + * } + */ + public static int __MAC_13_4() { + return __MAC_13_4; + } + private static final int __MAC_13_5 = (int)130500L; + /** + * {@snippet lang=c : + * #define __MAC_13_5 130500 + * } + */ + public static int __MAC_13_5() { + return __MAC_13_5; + } + private static final int __MAC_13_6 = (int)130600L; + /** + * {@snippet lang=c : + * #define __MAC_13_6 130600 + * } + */ + public static int __MAC_13_6() { + return __MAC_13_6; + } + private static final int __MAC_13_7 = (int)130700L; + /** + * {@snippet lang=c : + * #define __MAC_13_7 130700 + * } + */ + public static int __MAC_13_7() { + return __MAC_13_7; + } + private static final int __MAC_14_0 = (int)140000L; + /** + * {@snippet lang=c : + * #define __MAC_14_0 140000 + * } + */ + public static int __MAC_14_0() { + return __MAC_14_0; + } + private static final int __MAC_14_1 = (int)140100L; + /** + * {@snippet lang=c : + * #define __MAC_14_1 140100 + * } + */ + public static int __MAC_14_1() { + return __MAC_14_1; + } + private static final int __MAC_14_2 = (int)140200L; + /** + * {@snippet lang=c : + * #define __MAC_14_2 140200 + * } + */ + public static int __MAC_14_2() { + return __MAC_14_2; + } + private static final int __MAC_14_3 = (int)140300L; + /** + * {@snippet lang=c : + * #define __MAC_14_3 140300 + * } + */ + public static int __MAC_14_3() { + return __MAC_14_3; + } + private static final int __MAC_14_4 = (int)140400L; + /** + * {@snippet lang=c : + * #define __MAC_14_4 140400 + * } + */ + public static int __MAC_14_4() { + return __MAC_14_4; + } + private static final int __MAC_14_5 = (int)140500L; + /** + * {@snippet lang=c : + * #define __MAC_14_5 140500 + * } + */ + public static int __MAC_14_5() { + return __MAC_14_5; + } + private static final int __MAC_14_6 = (int)140600L; + /** + * {@snippet lang=c : + * #define __MAC_14_6 140600 + * } + */ + public static int __MAC_14_6() { + return __MAC_14_6; + } + private static final int __MAC_14_7 = (int)140700L; + /** + * {@snippet lang=c : + * #define __MAC_14_7 140700 + * } + */ + public static int __MAC_14_7() { + return __MAC_14_7; + } + private static final int __MAC_15_0 = (int)150000L; + /** + * {@snippet lang=c : + * #define __MAC_15_0 150000 + * } + */ + public static int __MAC_15_0() { + return __MAC_15_0; + } + private static final int __MAC_15_1 = (int)150100L; + /** + * {@snippet lang=c : + * #define __MAC_15_1 150100 + * } + */ + public static int __MAC_15_1() { + return __MAC_15_1; + } + private static final int __MAC_15_2 = (int)150200L; + /** + * {@snippet lang=c : + * #define __MAC_15_2 150200 + * } + */ + public static int __MAC_15_2() { + return __MAC_15_2; + } + private static final int __MAC_15_3 = (int)150300L; + /** + * {@snippet lang=c : + * #define __MAC_15_3 150300 + * } + */ + public static int __MAC_15_3() { + return __MAC_15_3; + } + private static final int __MAC_15_4 = (int)150400L; + /** + * {@snippet lang=c : + * #define __MAC_15_4 150400 + * } + */ + public static int __MAC_15_4() { + return __MAC_15_4; + } + private static final int __MAC_15_5 = (int)150500L; + /** + * {@snippet lang=c : + * #define __MAC_15_5 150500 + * } + */ + public static int __MAC_15_5() { + return __MAC_15_5; + } + private static final int __IPHONE_2_0 = (int)20000L; + /** + * {@snippet lang=c : + * #define __IPHONE_2_0 20000 + * } + */ + public static int __IPHONE_2_0() { + return __IPHONE_2_0; + } + private static final int __IPHONE_2_1 = (int)20100L; + /** + * {@snippet lang=c : + * #define __IPHONE_2_1 20100 + * } + */ + public static int __IPHONE_2_1() { + return __IPHONE_2_1; + } + private static final int __IPHONE_2_2 = (int)20200L; + /** + * {@snippet lang=c : + * #define __IPHONE_2_2 20200 + * } + */ + public static int __IPHONE_2_2() { + return __IPHONE_2_2; + } + private static final int __IPHONE_3_0 = (int)30000L; + /** + * {@snippet lang=c : + * #define __IPHONE_3_0 30000 + * } + */ + public static int __IPHONE_3_0() { + return __IPHONE_3_0; + } + private static final int __IPHONE_3_1 = (int)30100L; + /** + * {@snippet lang=c : + * #define __IPHONE_3_1 30100 + * } + */ + public static int __IPHONE_3_1() { + return __IPHONE_3_1; + } + private static final int __IPHONE_3_2 = (int)30200L; + /** + * {@snippet lang=c : + * #define __IPHONE_3_2 30200 + * } + */ + public static int __IPHONE_3_2() { + return __IPHONE_3_2; + } + private static final int __IPHONE_4_0 = (int)40000L; + /** + * {@snippet lang=c : + * #define __IPHONE_4_0 40000 + * } + */ + public static int __IPHONE_4_0() { + return __IPHONE_4_0; + } + private static final int __IPHONE_4_1 = (int)40100L; + /** + * {@snippet lang=c : + * #define __IPHONE_4_1 40100 + * } + */ + public static int __IPHONE_4_1() { + return __IPHONE_4_1; + } + private static final int __IPHONE_4_2 = (int)40200L; + /** + * {@snippet lang=c : + * #define __IPHONE_4_2 40200 + * } + */ + public static int __IPHONE_4_2() { + return __IPHONE_4_2; + } + private static final int __IPHONE_4_3 = (int)40300L; + /** + * {@snippet lang=c : + * #define __IPHONE_4_3 40300 + * } + */ + public static int __IPHONE_4_3() { + return __IPHONE_4_3; + } + private static final int __IPHONE_5_0 = (int)50000L; + /** + * {@snippet lang=c : + * #define __IPHONE_5_0 50000 + * } + */ + public static int __IPHONE_5_0() { + return __IPHONE_5_0; + } + private static final int __IPHONE_5_1 = (int)50100L; + /** + * {@snippet lang=c : + * #define __IPHONE_5_1 50100 + * } + */ + public static int __IPHONE_5_1() { + return __IPHONE_5_1; + } + private static final int __IPHONE_6_0 = (int)60000L; + /** + * {@snippet lang=c : + * #define __IPHONE_6_0 60000 + * } + */ + public static int __IPHONE_6_0() { + return __IPHONE_6_0; + } + private static final int __IPHONE_6_1 = (int)60100L; + /** + * {@snippet lang=c : + * #define __IPHONE_6_1 60100 + * } + */ + public static int __IPHONE_6_1() { + return __IPHONE_6_1; + } + private static final int __IPHONE_7_0 = (int)70000L; + /** + * {@snippet lang=c : + * #define __IPHONE_7_0 70000 + * } + */ + public static int __IPHONE_7_0() { + return __IPHONE_7_0; + } + private static final int __IPHONE_7_1 = (int)70100L; + /** + * {@snippet lang=c : + * #define __IPHONE_7_1 70100 + * } + */ + public static int __IPHONE_7_1() { + return __IPHONE_7_1; + } + private static final int __IPHONE_8_0 = (int)80000L; + /** + * {@snippet lang=c : + * #define __IPHONE_8_0 80000 + * } + */ + public static int __IPHONE_8_0() { + return __IPHONE_8_0; + } + private static final int __IPHONE_8_1 = (int)80100L; + /** + * {@snippet lang=c : + * #define __IPHONE_8_1 80100 + * } + */ + public static int __IPHONE_8_1() { + return __IPHONE_8_1; + } + private static final int __IPHONE_8_2 = (int)80200L; + /** + * {@snippet lang=c : + * #define __IPHONE_8_2 80200 + * } + */ + public static int __IPHONE_8_2() { + return __IPHONE_8_2; + } + private static final int __IPHONE_8_3 = (int)80300L; + /** + * {@snippet lang=c : + * #define __IPHONE_8_3 80300 + * } + */ + public static int __IPHONE_8_3() { + return __IPHONE_8_3; + } + private static final int __IPHONE_8_4 = (int)80400L; + /** + * {@snippet lang=c : + * #define __IPHONE_8_4 80400 + * } + */ + public static int __IPHONE_8_4() { + return __IPHONE_8_4; + } + private static final int __IPHONE_9_0 = (int)90000L; + /** + * {@snippet lang=c : + * #define __IPHONE_9_0 90000 + * } + */ + public static int __IPHONE_9_0() { + return __IPHONE_9_0; + } + private static final int __IPHONE_9_1 = (int)90100L; + /** + * {@snippet lang=c : + * #define __IPHONE_9_1 90100 + * } + */ + public static int __IPHONE_9_1() { + return __IPHONE_9_1; + } + private static final int __IPHONE_9_2 = (int)90200L; + /** + * {@snippet lang=c : + * #define __IPHONE_9_2 90200 + * } + */ + public static int __IPHONE_9_2() { + return __IPHONE_9_2; + } + private static final int __IPHONE_9_3 = (int)90300L; + /** + * {@snippet lang=c : + * #define __IPHONE_9_3 90300 + * } + */ + public static int __IPHONE_9_3() { + return __IPHONE_9_3; + } + private static final int __IPHONE_10_0 = (int)100000L; + /** + * {@snippet lang=c : + * #define __IPHONE_10_0 100000 + * } + */ + public static int __IPHONE_10_0() { + return __IPHONE_10_0; + } + private static final int __IPHONE_10_1 = (int)100100L; + /** + * {@snippet lang=c : + * #define __IPHONE_10_1 100100 + * } + */ + public static int __IPHONE_10_1() { + return __IPHONE_10_1; + } + private static final int __IPHONE_10_2 = (int)100200L; + /** + * {@snippet lang=c : + * #define __IPHONE_10_2 100200 + * } + */ + public static int __IPHONE_10_2() { + return __IPHONE_10_2; + } + private static final int __IPHONE_10_3 = (int)100300L; + /** + * {@snippet lang=c : + * #define __IPHONE_10_3 100300 + * } + */ + public static int __IPHONE_10_3() { + return __IPHONE_10_3; + } + private static final int __IPHONE_11_0 = (int)110000L; + /** + * {@snippet lang=c : + * #define __IPHONE_11_0 110000 + * } + */ + public static int __IPHONE_11_0() { + return __IPHONE_11_0; + } + private static final int __IPHONE_11_1 = (int)110100L; + /** + * {@snippet lang=c : + * #define __IPHONE_11_1 110100 + * } + */ + public static int __IPHONE_11_1() { + return __IPHONE_11_1; + } + private static final int __IPHONE_11_2 = (int)110200L; + /** + * {@snippet lang=c : + * #define __IPHONE_11_2 110200 + * } + */ + public static int __IPHONE_11_2() { + return __IPHONE_11_2; + } + private static final int __IPHONE_11_3 = (int)110300L; + /** + * {@snippet lang=c : + * #define __IPHONE_11_3 110300 + * } + */ + public static int __IPHONE_11_3() { + return __IPHONE_11_3; + } + private static final int __IPHONE_11_4 = (int)110400L; + /** + * {@snippet lang=c : + * #define __IPHONE_11_4 110400 + * } + */ + public static int __IPHONE_11_4() { + return __IPHONE_11_4; + } + private static final int __IPHONE_12_0 = (int)120000L; + /** + * {@snippet lang=c : + * #define __IPHONE_12_0 120000 + * } + */ + public static int __IPHONE_12_0() { + return __IPHONE_12_0; + } + private static final int __IPHONE_12_1 = (int)120100L; + /** + * {@snippet lang=c : + * #define __IPHONE_12_1 120100 + * } + */ + public static int __IPHONE_12_1() { + return __IPHONE_12_1; + } + private static final int __IPHONE_12_2 = (int)120200L; + /** + * {@snippet lang=c : + * #define __IPHONE_12_2 120200 + * } + */ + public static int __IPHONE_12_2() { + return __IPHONE_12_2; + } + private static final int __IPHONE_12_3 = (int)120300L; + /** + * {@snippet lang=c : + * #define __IPHONE_12_3 120300 + * } + */ + public static int __IPHONE_12_3() { + return __IPHONE_12_3; + } + private static final int __IPHONE_12_4 = (int)120400L; + /** + * {@snippet lang=c : + * #define __IPHONE_12_4 120400 + * } + */ + public static int __IPHONE_12_4() { + return __IPHONE_12_4; + } + private static final int __IPHONE_13_0 = (int)130000L; + /** + * {@snippet lang=c : + * #define __IPHONE_13_0 130000 + * } + */ + public static int __IPHONE_13_0() { + return __IPHONE_13_0; + } + private static final int __IPHONE_13_1 = (int)130100L; + /** + * {@snippet lang=c : + * #define __IPHONE_13_1 130100 + * } + */ + public static int __IPHONE_13_1() { + return __IPHONE_13_1; + } + private static final int __IPHONE_13_2 = (int)130200L; + /** + * {@snippet lang=c : + * #define __IPHONE_13_2 130200 + * } + */ + public static int __IPHONE_13_2() { + return __IPHONE_13_2; + } + private static final int __IPHONE_13_3 = (int)130300L; + /** + * {@snippet lang=c : + * #define __IPHONE_13_3 130300 + * } + */ + public static int __IPHONE_13_3() { + return __IPHONE_13_3; + } + private static final int __IPHONE_13_4 = (int)130400L; + /** + * {@snippet lang=c : + * #define __IPHONE_13_4 130400 + * } + */ + public static int __IPHONE_13_4() { + return __IPHONE_13_4; + } + private static final int __IPHONE_13_5 = (int)130500L; + /** + * {@snippet lang=c : + * #define __IPHONE_13_5 130500 + * } + */ + public static int __IPHONE_13_5() { + return __IPHONE_13_5; + } + private static final int __IPHONE_13_6 = (int)130600L; + /** + * {@snippet lang=c : + * #define __IPHONE_13_6 130600 + * } + */ + public static int __IPHONE_13_6() { + return __IPHONE_13_6; + } + private static final int __IPHONE_13_7 = (int)130700L; + /** + * {@snippet lang=c : + * #define __IPHONE_13_7 130700 + * } + */ + public static int __IPHONE_13_7() { + return __IPHONE_13_7; + } + private static final int __IPHONE_14_0 = (int)140000L; + /** + * {@snippet lang=c : + * #define __IPHONE_14_0 140000 + * } + */ + public static int __IPHONE_14_0() { + return __IPHONE_14_0; + } + private static final int __IPHONE_14_1 = (int)140100L; + /** + * {@snippet lang=c : + * #define __IPHONE_14_1 140100 + * } + */ + public static int __IPHONE_14_1() { + return __IPHONE_14_1; + } + private static final int __IPHONE_14_2 = (int)140200L; + /** + * {@snippet lang=c : + * #define __IPHONE_14_2 140200 + * } + */ + public static int __IPHONE_14_2() { + return __IPHONE_14_2; + } + private static final int __IPHONE_14_3 = (int)140300L; + /** + * {@snippet lang=c : + * #define __IPHONE_14_3 140300 + * } + */ + public static int __IPHONE_14_3() { + return __IPHONE_14_3; + } + private static final int __IPHONE_14_5 = (int)140500L; + /** + * {@snippet lang=c : + * #define __IPHONE_14_5 140500 + * } + */ + public static int __IPHONE_14_5() { + return __IPHONE_14_5; + } + private static final int __IPHONE_14_4 = (int)140400L; + /** + * {@snippet lang=c : + * #define __IPHONE_14_4 140400 + * } + */ + public static int __IPHONE_14_4() { + return __IPHONE_14_4; + } + private static final int __IPHONE_14_6 = (int)140600L; + /** + * {@snippet lang=c : + * #define __IPHONE_14_6 140600 + * } + */ + public static int __IPHONE_14_6() { + return __IPHONE_14_6; + } + private static final int __IPHONE_14_7 = (int)140700L; + /** + * {@snippet lang=c : + * #define __IPHONE_14_7 140700 + * } + */ + public static int __IPHONE_14_7() { + return __IPHONE_14_7; + } + private static final int __IPHONE_14_8 = (int)140800L; + /** + * {@snippet lang=c : + * #define __IPHONE_14_8 140800 + * } + */ + public static int __IPHONE_14_8() { + return __IPHONE_14_8; + } + private static final int __IPHONE_15_0 = (int)150000L; + /** + * {@snippet lang=c : + * #define __IPHONE_15_0 150000 + * } + */ + public static int __IPHONE_15_0() { + return __IPHONE_15_0; + } + private static final int __IPHONE_15_1 = (int)150100L; + /** + * {@snippet lang=c : + * #define __IPHONE_15_1 150100 + * } + */ + public static int __IPHONE_15_1() { + return __IPHONE_15_1; + } + private static final int __IPHONE_15_2 = (int)150200L; + /** + * {@snippet lang=c : + * #define __IPHONE_15_2 150200 + * } + */ + public static int __IPHONE_15_2() { + return __IPHONE_15_2; + } + private static final int __IPHONE_15_3 = (int)150300L; + /** + * {@snippet lang=c : + * #define __IPHONE_15_3 150300 + * } + */ + public static int __IPHONE_15_3() { + return __IPHONE_15_3; + } + private static final int __IPHONE_15_4 = (int)150400L; + /** + * {@snippet lang=c : + * #define __IPHONE_15_4 150400 + * } + */ + public static int __IPHONE_15_4() { + return __IPHONE_15_4; + } + private static final int __IPHONE_15_5 = (int)150500L; + /** + * {@snippet lang=c : + * #define __IPHONE_15_5 150500 + * } + */ + public static int __IPHONE_15_5() { + return __IPHONE_15_5; + } + private static final int __IPHONE_15_6 = (int)150600L; + /** + * {@snippet lang=c : + * #define __IPHONE_15_6 150600 + * } + */ + public static int __IPHONE_15_6() { + return __IPHONE_15_6; + } + private static final int __IPHONE_15_7 = (int)150700L; + /** + * {@snippet lang=c : + * #define __IPHONE_15_7 150700 + * } + */ + public static int __IPHONE_15_7() { + return __IPHONE_15_7; + } + private static final int __IPHONE_15_8 = (int)150800L; + /** + * {@snippet lang=c : + * #define __IPHONE_15_8 150800 + * } + */ + public static int __IPHONE_15_8() { + return __IPHONE_15_8; + } + private static final int __IPHONE_16_0 = (int)160000L; + /** + * {@snippet lang=c : + * #define __IPHONE_16_0 160000 + * } + */ + public static int __IPHONE_16_0() { + return __IPHONE_16_0; + } + private static final int __IPHONE_16_1 = (int)160100L; + /** + * {@snippet lang=c : + * #define __IPHONE_16_1 160100 + * } + */ + public static int __IPHONE_16_1() { + return __IPHONE_16_1; + } + private static final int __IPHONE_16_2 = (int)160200L; + /** + * {@snippet lang=c : + * #define __IPHONE_16_2 160200 + * } + */ + public static int __IPHONE_16_2() { + return __IPHONE_16_2; + } + private static final int __IPHONE_16_3 = (int)160300L; + /** + * {@snippet lang=c : + * #define __IPHONE_16_3 160300 + * } + */ + public static int __IPHONE_16_3() { + return __IPHONE_16_3; + } + private static final int __IPHONE_16_4 = (int)160400L; + /** + * {@snippet lang=c : + * #define __IPHONE_16_4 160400 + * } + */ + public static int __IPHONE_16_4() { + return __IPHONE_16_4; + } + private static final int __IPHONE_16_5 = (int)160500L; + /** + * {@snippet lang=c : + * #define __IPHONE_16_5 160500 + * } + */ + public static int __IPHONE_16_5() { + return __IPHONE_16_5; + } + private static final int __IPHONE_16_6 = (int)160600L; + /** + * {@snippet lang=c : + * #define __IPHONE_16_6 160600 + * } + */ + public static int __IPHONE_16_6() { + return __IPHONE_16_6; + } + private static final int __IPHONE_16_7 = (int)160700L; + /** + * {@snippet lang=c : + * #define __IPHONE_16_7 160700 + * } + */ + public static int __IPHONE_16_7() { + return __IPHONE_16_7; + } + private static final int __IPHONE_17_0 = (int)170000L; + /** + * {@snippet lang=c : + * #define __IPHONE_17_0 170000 + * } + */ + public static int __IPHONE_17_0() { + return __IPHONE_17_0; + } + private static final int __IPHONE_17_1 = (int)170100L; + /** + * {@snippet lang=c : + * #define __IPHONE_17_1 170100 + * } + */ + public static int __IPHONE_17_1() { + return __IPHONE_17_1; + } + private static final int __IPHONE_17_2 = (int)170200L; + /** + * {@snippet lang=c : + * #define __IPHONE_17_2 170200 + * } + */ + public static int __IPHONE_17_2() { + return __IPHONE_17_2; + } + private static final int __IPHONE_17_3 = (int)170300L; + /** + * {@snippet lang=c : + * #define __IPHONE_17_3 170300 + * } + */ + public static int __IPHONE_17_3() { + return __IPHONE_17_3; + } + private static final int __IPHONE_17_4 = (int)170400L; + /** + * {@snippet lang=c : + * #define __IPHONE_17_4 170400 + * } + */ + public static int __IPHONE_17_4() { + return __IPHONE_17_4; + } + private static final int __IPHONE_17_5 = (int)170500L; + /** + * {@snippet lang=c : + * #define __IPHONE_17_5 170500 + * } + */ + public static int __IPHONE_17_5() { + return __IPHONE_17_5; + } + private static final int __IPHONE_17_6 = (int)170600L; + /** + * {@snippet lang=c : + * #define __IPHONE_17_6 170600 + * } + */ + public static int __IPHONE_17_6() { + return __IPHONE_17_6; + } + private static final int __IPHONE_17_7 = (int)170700L; + /** + * {@snippet lang=c : + * #define __IPHONE_17_7 170700 + * } + */ + public static int __IPHONE_17_7() { + return __IPHONE_17_7; + } + private static final int __IPHONE_18_0 = (int)180000L; + /** + * {@snippet lang=c : + * #define __IPHONE_18_0 180000 + * } + */ + public static int __IPHONE_18_0() { + return __IPHONE_18_0; + } + private static final int __IPHONE_18_1 = (int)180100L; + /** + * {@snippet lang=c : + * #define __IPHONE_18_1 180100 + * } + */ + public static int __IPHONE_18_1() { + return __IPHONE_18_1; + } + private static final int __IPHONE_18_2 = (int)180200L; + /** + * {@snippet lang=c : + * #define __IPHONE_18_2 180200 + * } + */ + public static int __IPHONE_18_2() { + return __IPHONE_18_2; + } + private static final int __IPHONE_18_3 = (int)180300L; + /** + * {@snippet lang=c : + * #define __IPHONE_18_3 180300 + * } + */ + public static int __IPHONE_18_3() { + return __IPHONE_18_3; + } + private static final int __IPHONE_18_4 = (int)180400L; + /** + * {@snippet lang=c : + * #define __IPHONE_18_4 180400 + * } + */ + public static int __IPHONE_18_4() { + return __IPHONE_18_4; + } + private static final int __IPHONE_18_5 = (int)180500L; + /** + * {@snippet lang=c : + * #define __IPHONE_18_5 180500 + * } + */ + public static int __IPHONE_18_5() { + return __IPHONE_18_5; + } + private static final int __WATCHOS_1_0 = (int)10000L; + /** + * {@snippet lang=c : + * #define __WATCHOS_1_0 10000 + * } + */ + public static int __WATCHOS_1_0() { + return __WATCHOS_1_0; + } + private static final int __WATCHOS_2_0 = (int)20000L; + /** + * {@snippet lang=c : + * #define __WATCHOS_2_0 20000 + * } + */ + public static int __WATCHOS_2_0() { + return __WATCHOS_2_0; + } + private static final int __WATCHOS_2_1 = (int)20100L; + /** + * {@snippet lang=c : + * #define __WATCHOS_2_1 20100 + * } + */ + public static int __WATCHOS_2_1() { + return __WATCHOS_2_1; + } + private static final int __WATCHOS_2_2 = (int)20200L; + /** + * {@snippet lang=c : + * #define __WATCHOS_2_2 20200 + * } + */ + public static int __WATCHOS_2_2() { + return __WATCHOS_2_2; + } + private static final int __WATCHOS_3_0 = (int)30000L; + /** + * {@snippet lang=c : + * #define __WATCHOS_3_0 30000 + * } + */ + public static int __WATCHOS_3_0() { + return __WATCHOS_3_0; + } + private static final int __WATCHOS_3_1 = (int)30100L; + /** + * {@snippet lang=c : + * #define __WATCHOS_3_1 30100 + * } + */ + public static int __WATCHOS_3_1() { + return __WATCHOS_3_1; + } + private static final int __WATCHOS_3_1_1 = (int)30101L; + /** + * {@snippet lang=c : + * #define __WATCHOS_3_1_1 30101 + * } + */ + public static int __WATCHOS_3_1_1() { + return __WATCHOS_3_1_1; + } + private static final int __WATCHOS_3_2 = (int)30200L; + /** + * {@snippet lang=c : + * #define __WATCHOS_3_2 30200 + * } + */ + public static int __WATCHOS_3_2() { + return __WATCHOS_3_2; + } + private static final int __WATCHOS_4_0 = (int)40000L; + /** + * {@snippet lang=c : + * #define __WATCHOS_4_0 40000 + * } + */ + public static int __WATCHOS_4_0() { + return __WATCHOS_4_0; + } + private static final int __WATCHOS_4_1 = (int)40100L; + /** + * {@snippet lang=c : + * #define __WATCHOS_4_1 40100 + * } + */ + public static int __WATCHOS_4_1() { + return __WATCHOS_4_1; + } + private static final int __WATCHOS_4_2 = (int)40200L; + /** + * {@snippet lang=c : + * #define __WATCHOS_4_2 40200 + * } + */ + public static int __WATCHOS_4_2() { + return __WATCHOS_4_2; + } + private static final int __WATCHOS_4_3 = (int)40300L; + /** + * {@snippet lang=c : + * #define __WATCHOS_4_3 40300 + * } + */ + public static int __WATCHOS_4_3() { + return __WATCHOS_4_3; + } + private static final int __WATCHOS_5_0 = (int)50000L; + /** + * {@snippet lang=c : + * #define __WATCHOS_5_0 50000 + * } + */ + public static int __WATCHOS_5_0() { + return __WATCHOS_5_0; + } + private static final int __WATCHOS_5_1 = (int)50100L; + /** + * {@snippet lang=c : + * #define __WATCHOS_5_1 50100 + * } + */ + public static int __WATCHOS_5_1() { + return __WATCHOS_5_1; + } + private static final int __WATCHOS_5_2 = (int)50200L; + /** + * {@snippet lang=c : + * #define __WATCHOS_5_2 50200 + * } + */ + public static int __WATCHOS_5_2() { + return __WATCHOS_5_2; + } + private static final int __WATCHOS_5_3 = (int)50300L; + /** + * {@snippet lang=c : + * #define __WATCHOS_5_3 50300 + * } + */ + public static int __WATCHOS_5_3() { + return __WATCHOS_5_3; + } + private static final int __WATCHOS_6_0 = (int)60000L; + /** + * {@snippet lang=c : + * #define __WATCHOS_6_0 60000 + * } + */ + public static int __WATCHOS_6_0() { + return __WATCHOS_6_0; + } + private static final int __WATCHOS_6_1 = (int)60100L; + /** + * {@snippet lang=c : + * #define __WATCHOS_6_1 60100 + * } + */ + public static int __WATCHOS_6_1() { + return __WATCHOS_6_1; + } + private static final int __WATCHOS_6_2 = (int)60200L; + /** + * {@snippet lang=c : + * #define __WATCHOS_6_2 60200 + * } + */ + public static int __WATCHOS_6_2() { + return __WATCHOS_6_2; + } + private static final int __WATCHOS_7_0 = (int)70000L; + /** + * {@snippet lang=c : + * #define __WATCHOS_7_0 70000 + * } + */ + public static int __WATCHOS_7_0() { + return __WATCHOS_7_0; + } + private static final int __WATCHOS_7_1 = (int)70100L; + /** + * {@snippet lang=c : + * #define __WATCHOS_7_1 70100 + * } + */ + public static int __WATCHOS_7_1() { + return __WATCHOS_7_1; + } + private static final int __WATCHOS_7_2 = (int)70200L; + /** + * {@snippet lang=c : + * #define __WATCHOS_7_2 70200 + * } + */ + public static int __WATCHOS_7_2() { + return __WATCHOS_7_2; + } + private static final int __WATCHOS_7_3 = (int)70300L; + /** + * {@snippet lang=c : + * #define __WATCHOS_7_3 70300 + * } + */ + public static int __WATCHOS_7_3() { + return __WATCHOS_7_3; + } + private static final int __WATCHOS_7_4 = (int)70400L; + /** + * {@snippet lang=c : + * #define __WATCHOS_7_4 70400 + * } + */ + public static int __WATCHOS_7_4() { + return __WATCHOS_7_4; + } + private static final int __WATCHOS_7_5 = (int)70500L; + /** + * {@snippet lang=c : + * #define __WATCHOS_7_5 70500 + * } + */ + public static int __WATCHOS_7_5() { + return __WATCHOS_7_5; + } + private static final int __WATCHOS_7_6 = (int)70600L; + /** + * {@snippet lang=c : + * #define __WATCHOS_7_6 70600 + * } + */ + public static int __WATCHOS_7_6() { + return __WATCHOS_7_6; + } + private static final int __WATCHOS_8_0 = (int)80000L; + /** + * {@snippet lang=c : + * #define __WATCHOS_8_0 80000 + * } + */ + public static int __WATCHOS_8_0() { + return __WATCHOS_8_0; + } + private static final int __WATCHOS_8_1 = (int)80100L; + /** + * {@snippet lang=c : + * #define __WATCHOS_8_1 80100 + * } + */ + public static int __WATCHOS_8_1() { + return __WATCHOS_8_1; + } + private static final int __WATCHOS_8_3 = (int)80300L; + /** + * {@snippet lang=c : + * #define __WATCHOS_8_3 80300 + * } + */ + public static int __WATCHOS_8_3() { + return __WATCHOS_8_3; + } + private static final int __WATCHOS_8_4 = (int)80400L; + /** + * {@snippet lang=c : + * #define __WATCHOS_8_4 80400 + * } + */ + public static int __WATCHOS_8_4() { + return __WATCHOS_8_4; + } + private static final int __WATCHOS_8_5 = (int)80500L; + /** + * {@snippet lang=c : + * #define __WATCHOS_8_5 80500 + * } + */ + public static int __WATCHOS_8_5() { + return __WATCHOS_8_5; + } + private static final int __WATCHOS_8_6 = (int)80600L; + /** + * {@snippet lang=c : + * #define __WATCHOS_8_6 80600 + * } + */ + public static int __WATCHOS_8_6() { + return __WATCHOS_8_6; + } + private static final int __WATCHOS_8_7 = (int)80700L; + /** + * {@snippet lang=c : + * #define __WATCHOS_8_7 80700 + * } + */ + public static int __WATCHOS_8_7() { + return __WATCHOS_8_7; + } + private static final int __WATCHOS_8_8 = (int)80800L; + /** + * {@snippet lang=c : + * #define __WATCHOS_8_8 80800 + * } + */ + public static int __WATCHOS_8_8() { + return __WATCHOS_8_8; + } + private static final int __WATCHOS_9_0 = (int)90000L; + /** + * {@snippet lang=c : + * #define __WATCHOS_9_0 90000 + * } + */ + public static int __WATCHOS_9_0() { + return __WATCHOS_9_0; + } + private static final int __WATCHOS_9_1 = (int)90100L; + /** + * {@snippet lang=c : + * #define __WATCHOS_9_1 90100 + * } + */ + public static int __WATCHOS_9_1() { + return __WATCHOS_9_1; + } + private static final int __WATCHOS_9_2 = (int)90200L; + /** + * {@snippet lang=c : + * #define __WATCHOS_9_2 90200 + * } + */ + public static int __WATCHOS_9_2() { + return __WATCHOS_9_2; + } + private static final int __WATCHOS_9_3 = (int)90300L; + /** + * {@snippet lang=c : + * #define __WATCHOS_9_3 90300 + * } + */ + public static int __WATCHOS_9_3() { + return __WATCHOS_9_3; + } + private static final int __WATCHOS_9_4 = (int)90400L; + /** + * {@snippet lang=c : + * #define __WATCHOS_9_4 90400 + * } + */ + public static int __WATCHOS_9_4() { + return __WATCHOS_9_4; + } + private static final int __WATCHOS_9_5 = (int)90500L; + /** + * {@snippet lang=c : + * #define __WATCHOS_9_5 90500 + * } + */ + public static int __WATCHOS_9_5() { + return __WATCHOS_9_5; + } + private static final int __WATCHOS_9_6 = (int)90600L; + /** + * {@snippet lang=c : + * #define __WATCHOS_9_6 90600 + * } + */ + public static int __WATCHOS_9_6() { + return __WATCHOS_9_6; + } + private static final int __WATCHOS_10_0 = (int)100000L; + /** + * {@snippet lang=c : + * #define __WATCHOS_10_0 100000 + * } + */ + public static int __WATCHOS_10_0() { + return __WATCHOS_10_0; + } + private static final int __WATCHOS_10_1 = (int)100100L; + /** + * {@snippet lang=c : + * #define __WATCHOS_10_1 100100 + * } + */ + public static int __WATCHOS_10_1() { + return __WATCHOS_10_1; + } + private static final int __WATCHOS_10_2 = (int)100200L; + /** + * {@snippet lang=c : + * #define __WATCHOS_10_2 100200 + * } + */ + public static int __WATCHOS_10_2() { + return __WATCHOS_10_2; + } + private static final int __WATCHOS_10_3 = (int)100300L; + /** + * {@snippet lang=c : + * #define __WATCHOS_10_3 100300 + * } + */ + public static int __WATCHOS_10_3() { + return __WATCHOS_10_3; + } + private static final int __WATCHOS_10_4 = (int)100400L; + /** + * {@snippet lang=c : + * #define __WATCHOS_10_4 100400 + * } + */ + public static int __WATCHOS_10_4() { + return __WATCHOS_10_4; + } + private static final int __WATCHOS_10_5 = (int)100500L; + /** + * {@snippet lang=c : + * #define __WATCHOS_10_5 100500 + * } + */ + public static int __WATCHOS_10_5() { + return __WATCHOS_10_5; + } + private static final int __WATCHOS_10_6 = (int)100600L; + /** + * {@snippet lang=c : + * #define __WATCHOS_10_6 100600 + * } + */ + public static int __WATCHOS_10_6() { + return __WATCHOS_10_6; + } + private static final int __WATCHOS_10_7 = (int)100700L; + /** + * {@snippet lang=c : + * #define __WATCHOS_10_7 100700 + * } + */ + public static int __WATCHOS_10_7() { + return __WATCHOS_10_7; + } + private static final int __WATCHOS_11_0 = (int)110000L; + /** + * {@snippet lang=c : + * #define __WATCHOS_11_0 110000 + * } + */ + public static int __WATCHOS_11_0() { + return __WATCHOS_11_0; + } + private static final int __WATCHOS_11_1 = (int)110100L; + /** + * {@snippet lang=c : + * #define __WATCHOS_11_1 110100 + * } + */ + public static int __WATCHOS_11_1() { + return __WATCHOS_11_1; + } + private static final int __WATCHOS_11_2 = (int)110200L; + /** + * {@snippet lang=c : + * #define __WATCHOS_11_2 110200 + * } + */ + public static int __WATCHOS_11_2() { + return __WATCHOS_11_2; + } + private static final int __WATCHOS_11_3 = (int)110300L; + /** + * {@snippet lang=c : + * #define __WATCHOS_11_3 110300 + * } + */ + public static int __WATCHOS_11_3() { + return __WATCHOS_11_3; + } + private static final int __WATCHOS_11_4 = (int)110400L; + /** + * {@snippet lang=c : + * #define __WATCHOS_11_4 110400 + * } + */ + public static int __WATCHOS_11_4() { + return __WATCHOS_11_4; + } + private static final int __WATCHOS_11_5 = (int)110500L; + /** + * {@snippet lang=c : + * #define __WATCHOS_11_5 110500 + * } + */ + public static int __WATCHOS_11_5() { + return __WATCHOS_11_5; + } + private static final int __TVOS_9_0 = (int)90000L; + /** + * {@snippet lang=c : + * #define __TVOS_9_0 90000 + * } + */ + public static int __TVOS_9_0() { + return __TVOS_9_0; + } + private static final int __TVOS_9_1 = (int)90100L; + /** + * {@snippet lang=c : + * #define __TVOS_9_1 90100 + * } + */ + public static int __TVOS_9_1() { + return __TVOS_9_1; + } + private static final int __TVOS_9_2 = (int)90200L; + /** + * {@snippet lang=c : + * #define __TVOS_9_2 90200 + * } + */ + public static int __TVOS_9_2() { + return __TVOS_9_2; + } + private static final int __TVOS_10_0 = (int)100000L; + /** + * {@snippet lang=c : + * #define __TVOS_10_0 100000 + * } + */ + public static int __TVOS_10_0() { + return __TVOS_10_0; + } + private static final int __TVOS_10_0_1 = (int)100001L; + /** + * {@snippet lang=c : + * #define __TVOS_10_0_1 100001 + * } + */ + public static int __TVOS_10_0_1() { + return __TVOS_10_0_1; + } + private static final int __TVOS_10_1 = (int)100100L; + /** + * {@snippet lang=c : + * #define __TVOS_10_1 100100 + * } + */ + public static int __TVOS_10_1() { + return __TVOS_10_1; + } + private static final int __TVOS_10_2 = (int)100200L; + /** + * {@snippet lang=c : + * #define __TVOS_10_2 100200 + * } + */ + public static int __TVOS_10_2() { + return __TVOS_10_2; + } + private static final int __TVOS_11_0 = (int)110000L; + /** + * {@snippet lang=c : + * #define __TVOS_11_0 110000 + * } + */ + public static int __TVOS_11_0() { + return __TVOS_11_0; + } + private static final int __TVOS_11_1 = (int)110100L; + /** + * {@snippet lang=c : + * #define __TVOS_11_1 110100 + * } + */ + public static int __TVOS_11_1() { + return __TVOS_11_1; + } + private static final int __TVOS_11_2 = (int)110200L; + /** + * {@snippet lang=c : + * #define __TVOS_11_2 110200 + * } + */ + public static int __TVOS_11_2() { + return __TVOS_11_2; + } + private static final int __TVOS_11_3 = (int)110300L; + /** + * {@snippet lang=c : + * #define __TVOS_11_3 110300 + * } + */ + public static int __TVOS_11_3() { + return __TVOS_11_3; + } + private static final int __TVOS_11_4 = (int)110400L; + /** + * {@snippet lang=c : + * #define __TVOS_11_4 110400 + * } + */ + public static int __TVOS_11_4() { + return __TVOS_11_4; + } + private static final int __TVOS_12_0 = (int)120000L; + /** + * {@snippet lang=c : + * #define __TVOS_12_0 120000 + * } + */ + public static int __TVOS_12_0() { + return __TVOS_12_0; + } + private static final int __TVOS_12_1 = (int)120100L; + /** + * {@snippet lang=c : + * #define __TVOS_12_1 120100 + * } + */ + public static int __TVOS_12_1() { + return __TVOS_12_1; + } + private static final int __TVOS_12_2 = (int)120200L; + /** + * {@snippet lang=c : + * #define __TVOS_12_2 120200 + * } + */ + public static int __TVOS_12_2() { + return __TVOS_12_2; + } + private static final int __TVOS_12_3 = (int)120300L; + /** + * {@snippet lang=c : + * #define __TVOS_12_3 120300 + * } + */ + public static int __TVOS_12_3() { + return __TVOS_12_3; + } + private static final int __TVOS_12_4 = (int)120400L; + /** + * {@snippet lang=c : + * #define __TVOS_12_4 120400 + * } + */ + public static int __TVOS_12_4() { + return __TVOS_12_4; + } + private static final int __TVOS_13_0 = (int)130000L; + /** + * {@snippet lang=c : + * #define __TVOS_13_0 130000 + * } + */ + public static int __TVOS_13_0() { + return __TVOS_13_0; + } + private static final int __TVOS_13_2 = (int)130200L; + /** + * {@snippet lang=c : + * #define __TVOS_13_2 130200 + * } + */ + public static int __TVOS_13_2() { + return __TVOS_13_2; + } + private static final int __TVOS_13_3 = (int)130300L; + /** + * {@snippet lang=c : + * #define __TVOS_13_3 130300 + * } + */ + public static int __TVOS_13_3() { + return __TVOS_13_3; + } + private static final int __TVOS_13_4 = (int)130400L; + /** + * {@snippet lang=c : + * #define __TVOS_13_4 130400 + * } + */ + public static int __TVOS_13_4() { + return __TVOS_13_4; + } + private static final int __TVOS_14_0 = (int)140000L; + /** + * {@snippet lang=c : + * #define __TVOS_14_0 140000 + * } + */ + public static int __TVOS_14_0() { + return __TVOS_14_0; + } + private static final int __TVOS_14_1 = (int)140100L; + /** + * {@snippet lang=c : + * #define __TVOS_14_1 140100 + * } + */ + public static int __TVOS_14_1() { + return __TVOS_14_1; + } + private static final int __TVOS_14_2 = (int)140200L; + /** + * {@snippet lang=c : + * #define __TVOS_14_2 140200 + * } + */ + public static int __TVOS_14_2() { + return __TVOS_14_2; + } + private static final int __TVOS_14_3 = (int)140300L; + /** + * {@snippet lang=c : + * #define __TVOS_14_3 140300 + * } + */ + public static int __TVOS_14_3() { + return __TVOS_14_3; + } + private static final int __TVOS_14_5 = (int)140500L; + /** + * {@snippet lang=c : + * #define __TVOS_14_5 140500 + * } + */ + public static int __TVOS_14_5() { + return __TVOS_14_5; + } + private static final int __TVOS_14_6 = (int)140600L; + /** + * {@snippet lang=c : + * #define __TVOS_14_6 140600 + * } + */ + public static int __TVOS_14_6() { + return __TVOS_14_6; + } + private static final int __TVOS_14_7 = (int)140700L; + /** + * {@snippet lang=c : + * #define __TVOS_14_7 140700 + * } + */ + public static int __TVOS_14_7() { + return __TVOS_14_7; + } + private static final int __TVOS_15_0 = (int)150000L; + /** + * {@snippet lang=c : + * #define __TVOS_15_0 150000 + * } + */ + public static int __TVOS_15_0() { + return __TVOS_15_0; + } + private static final int __TVOS_15_1 = (int)150100L; + /** + * {@snippet lang=c : + * #define __TVOS_15_1 150100 + * } + */ + public static int __TVOS_15_1() { + return __TVOS_15_1; + } + private static final int __TVOS_15_2 = (int)150200L; + /** + * {@snippet lang=c : + * #define __TVOS_15_2 150200 + * } + */ + public static int __TVOS_15_2() { + return __TVOS_15_2; + } + private static final int __TVOS_15_3 = (int)150300L; + /** + * {@snippet lang=c : + * #define __TVOS_15_3 150300 + * } + */ + public static int __TVOS_15_3() { + return __TVOS_15_3; + } + private static final int __TVOS_15_4 = (int)150400L; + /** + * {@snippet lang=c : + * #define __TVOS_15_4 150400 + * } + */ + public static int __TVOS_15_4() { + return __TVOS_15_4; + } + private static final int __TVOS_15_5 = (int)150500L; + /** + * {@snippet lang=c : + * #define __TVOS_15_5 150500 + * } + */ + public static int __TVOS_15_5() { + return __TVOS_15_5; + } + private static final int __TVOS_15_6 = (int)150600L; + /** + * {@snippet lang=c : + * #define __TVOS_15_6 150600 + * } + */ + public static int __TVOS_15_6() { + return __TVOS_15_6; + } + private static final int __TVOS_16_0 = (int)160000L; + /** + * {@snippet lang=c : + * #define __TVOS_16_0 160000 + * } + */ + public static int __TVOS_16_0() { + return __TVOS_16_0; + } + private static final int __TVOS_16_1 = (int)160100L; + /** + * {@snippet lang=c : + * #define __TVOS_16_1 160100 + * } + */ + public static int __TVOS_16_1() { + return __TVOS_16_1; + } + private static final int __TVOS_16_2 = (int)160200L; + /** + * {@snippet lang=c : + * #define __TVOS_16_2 160200 + * } + */ + public static int __TVOS_16_2() { + return __TVOS_16_2; + } + private static final int __TVOS_16_3 = (int)160300L; + /** + * {@snippet lang=c : + * #define __TVOS_16_3 160300 + * } + */ + public static int __TVOS_16_3() { + return __TVOS_16_3; + } + private static final int __TVOS_16_4 = (int)160400L; + /** + * {@snippet lang=c : + * #define __TVOS_16_4 160400 + * } + */ + public static int __TVOS_16_4() { + return __TVOS_16_4; + } + private static final int __TVOS_16_5 = (int)160500L; + /** + * {@snippet lang=c : + * #define __TVOS_16_5 160500 + * } + */ + public static int __TVOS_16_5() { + return __TVOS_16_5; + } + private static final int __TVOS_16_6 = (int)160600L; + /** + * {@snippet lang=c : + * #define __TVOS_16_6 160600 + * } + */ + public static int __TVOS_16_6() { + return __TVOS_16_6; + } + private static final int __TVOS_17_0 = (int)170000L; + /** + * {@snippet lang=c : + * #define __TVOS_17_0 170000 + * } + */ + public static int __TVOS_17_0() { + return __TVOS_17_0; + } + private static final int __TVOS_17_1 = (int)170100L; + /** + * {@snippet lang=c : + * #define __TVOS_17_1 170100 + * } + */ + public static int __TVOS_17_1() { + return __TVOS_17_1; + } + private static final int __TVOS_17_2 = (int)170200L; + /** + * {@snippet lang=c : + * #define __TVOS_17_2 170200 + * } + */ + public static int __TVOS_17_2() { + return __TVOS_17_2; + } + private static final int __TVOS_17_3 = (int)170300L; + /** + * {@snippet lang=c : + * #define __TVOS_17_3 170300 + * } + */ + public static int __TVOS_17_3() { + return __TVOS_17_3; + } + private static final int __TVOS_17_4 = (int)170400L; + /** + * {@snippet lang=c : + * #define __TVOS_17_4 170400 + * } + */ + public static int __TVOS_17_4() { + return __TVOS_17_4; + } + private static final int __TVOS_17_5 = (int)170500L; + /** + * {@snippet lang=c : + * #define __TVOS_17_5 170500 + * } + */ + public static int __TVOS_17_5() { + return __TVOS_17_5; + } + private static final int __TVOS_17_6 = (int)170600L; + /** + * {@snippet lang=c : + * #define __TVOS_17_6 170600 + * } + */ + public static int __TVOS_17_6() { + return __TVOS_17_6; + } + private static final int __TVOS_18_0 = (int)180000L; + /** + * {@snippet lang=c : + * #define __TVOS_18_0 180000 + * } + */ + public static int __TVOS_18_0() { + return __TVOS_18_0; + } + private static final int __TVOS_18_1 = (int)180100L; + /** + * {@snippet lang=c : + * #define __TVOS_18_1 180100 + * } + */ + public static int __TVOS_18_1() { + return __TVOS_18_1; + } + private static final int __TVOS_18_2 = (int)180200L; + /** + * {@snippet lang=c : + * #define __TVOS_18_2 180200 + * } + */ + public static int __TVOS_18_2() { + return __TVOS_18_2; + } + private static final int __TVOS_18_3 = (int)180300L; + /** + * {@snippet lang=c : + * #define __TVOS_18_3 180300 + * } + */ + public static int __TVOS_18_3() { + return __TVOS_18_3; + } + private static final int __TVOS_18_4 = (int)180400L; + /** + * {@snippet lang=c : + * #define __TVOS_18_4 180400 + * } + */ + public static int __TVOS_18_4() { + return __TVOS_18_4; + } + private static final int __TVOS_18_5 = (int)180500L; + /** + * {@snippet lang=c : + * #define __TVOS_18_5 180500 + * } + */ + public static int __TVOS_18_5() { + return __TVOS_18_5; + } + private static final int __BRIDGEOS_2_0 = (int)20000L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_2_0 20000 + * } + */ + public static int __BRIDGEOS_2_0() { + return __BRIDGEOS_2_0; + } + private static final int __BRIDGEOS_3_0 = (int)30000L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_3_0 30000 + * } + */ + public static int __BRIDGEOS_3_0() { + return __BRIDGEOS_3_0; + } + private static final int __BRIDGEOS_3_1 = (int)30100L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_3_1 30100 + * } + */ + public static int __BRIDGEOS_3_1() { + return __BRIDGEOS_3_1; + } + private static final int __BRIDGEOS_3_4 = (int)30400L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_3_4 30400 + * } + */ + public static int __BRIDGEOS_3_4() { + return __BRIDGEOS_3_4; + } + private static final int __BRIDGEOS_4_0 = (int)40000L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_4_0 40000 + * } + */ + public static int __BRIDGEOS_4_0() { + return __BRIDGEOS_4_0; + } + private static final int __BRIDGEOS_4_1 = (int)40100L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_4_1 40100 + * } + */ + public static int __BRIDGEOS_4_1() { + return __BRIDGEOS_4_1; + } + private static final int __BRIDGEOS_5_0 = (int)50000L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_5_0 50000 + * } + */ + public static int __BRIDGEOS_5_0() { + return __BRIDGEOS_5_0; + } + private static final int __BRIDGEOS_5_1 = (int)50100L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_5_1 50100 + * } + */ + public static int __BRIDGEOS_5_1() { + return __BRIDGEOS_5_1; + } + private static final int __BRIDGEOS_5_3 = (int)50300L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_5_3 50300 + * } + */ + public static int __BRIDGEOS_5_3() { + return __BRIDGEOS_5_3; + } + private static final int __BRIDGEOS_6_0 = (int)60000L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_6_0 60000 + * } + */ + public static int __BRIDGEOS_6_0() { + return __BRIDGEOS_6_0; + } + private static final int __BRIDGEOS_6_2 = (int)60200L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_6_2 60200 + * } + */ + public static int __BRIDGEOS_6_2() { + return __BRIDGEOS_6_2; + } + private static final int __BRIDGEOS_6_4 = (int)60400L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_6_4 60400 + * } + */ + public static int __BRIDGEOS_6_4() { + return __BRIDGEOS_6_4; + } + private static final int __BRIDGEOS_6_5 = (int)60500L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_6_5 60500 + * } + */ + public static int __BRIDGEOS_6_5() { + return __BRIDGEOS_6_5; + } + private static final int __BRIDGEOS_6_6 = (int)60600L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_6_6 60600 + * } + */ + public static int __BRIDGEOS_6_6() { + return __BRIDGEOS_6_6; + } + private static final int __BRIDGEOS_7_0 = (int)70000L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_7_0 70000 + * } + */ + public static int __BRIDGEOS_7_0() { + return __BRIDGEOS_7_0; + } + private static final int __BRIDGEOS_7_1 = (int)70100L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_7_1 70100 + * } + */ + public static int __BRIDGEOS_7_1() { + return __BRIDGEOS_7_1; + } + private static final int __BRIDGEOS_7_2 = (int)70200L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_7_2 70200 + * } + */ + public static int __BRIDGEOS_7_2() { + return __BRIDGEOS_7_2; + } + private static final int __BRIDGEOS_7_3 = (int)70300L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_7_3 70300 + * } + */ + public static int __BRIDGEOS_7_3() { + return __BRIDGEOS_7_3; + } + private static final int __BRIDGEOS_7_4 = (int)70400L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_7_4 70400 + * } + */ + public static int __BRIDGEOS_7_4() { + return __BRIDGEOS_7_4; + } + private static final int __BRIDGEOS_7_6 = (int)70600L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_7_6 70600 + * } + */ + public static int __BRIDGEOS_7_6() { + return __BRIDGEOS_7_6; + } + private static final int __BRIDGEOS_8_0 = (int)80000L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_8_0 80000 + * } + */ + public static int __BRIDGEOS_8_0() { + return __BRIDGEOS_8_0; + } + private static final int __BRIDGEOS_8_1 = (int)80100L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_8_1 80100 + * } + */ + public static int __BRIDGEOS_8_1() { + return __BRIDGEOS_8_1; + } + private static final int __BRIDGEOS_8_2 = (int)80200L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_8_2 80200 + * } + */ + public static int __BRIDGEOS_8_2() { + return __BRIDGEOS_8_2; + } + private static final int __BRIDGEOS_8_3 = (int)80300L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_8_3 80300 + * } + */ + public static int __BRIDGEOS_8_3() { + return __BRIDGEOS_8_3; + } + private static final int __BRIDGEOS_8_4 = (int)80400L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_8_4 80400 + * } + */ + public static int __BRIDGEOS_8_4() { + return __BRIDGEOS_8_4; + } + private static final int __BRIDGEOS_8_5 = (int)80500L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_8_5 80500 + * } + */ + public static int __BRIDGEOS_8_5() { + return __BRIDGEOS_8_5; + } + private static final int __BRIDGEOS_8_6 = (int)80600L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_8_6 80600 + * } + */ + public static int __BRIDGEOS_8_6() { + return __BRIDGEOS_8_6; + } + private static final int __BRIDGEOS_9_0 = (int)90000L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_9_0 90000 + * } + */ + public static int __BRIDGEOS_9_0() { + return __BRIDGEOS_9_0; + } + private static final int __BRIDGEOS_9_1 = (int)90100L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_9_1 90100 + * } + */ + public static int __BRIDGEOS_9_1() { + return __BRIDGEOS_9_1; + } + private static final int __BRIDGEOS_9_2 = (int)90200L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_9_2 90200 + * } + */ + public static int __BRIDGEOS_9_2() { + return __BRIDGEOS_9_2; + } + private static final int __BRIDGEOS_9_3 = (int)90300L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_9_3 90300 + * } + */ + public static int __BRIDGEOS_9_3() { + return __BRIDGEOS_9_3; + } + private static final int __BRIDGEOS_9_4 = (int)90400L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_9_4 90400 + * } + */ + public static int __BRIDGEOS_9_4() { + return __BRIDGEOS_9_4; + } + private static final int __BRIDGEOS_9_5 = (int)90500L; + /** + * {@snippet lang=c : + * #define __BRIDGEOS_9_5 90500 + * } + */ + public static int __BRIDGEOS_9_5() { + return __BRIDGEOS_9_5; + } + private static final int __DRIVERKIT_19_0 = (int)190000L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_19_0 190000 + * } + */ + public static int __DRIVERKIT_19_0() { + return __DRIVERKIT_19_0; + } + private static final int __DRIVERKIT_20_0 = (int)200000L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_20_0 200000 + * } + */ + public static int __DRIVERKIT_20_0() { + return __DRIVERKIT_20_0; + } + private static final int __DRIVERKIT_21_0 = (int)210000L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_21_0 210000 + * } + */ + public static int __DRIVERKIT_21_0() { + return __DRIVERKIT_21_0; + } + private static final int __DRIVERKIT_22_0 = (int)220000L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_22_0 220000 + * } + */ + public static int __DRIVERKIT_22_0() { + return __DRIVERKIT_22_0; + } + private static final int __DRIVERKIT_22_4 = (int)220400L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_22_4 220400 + * } + */ + public static int __DRIVERKIT_22_4() { + return __DRIVERKIT_22_4; + } + private static final int __DRIVERKIT_22_5 = (int)220500L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_22_5 220500 + * } + */ + public static int __DRIVERKIT_22_5() { + return __DRIVERKIT_22_5; + } + private static final int __DRIVERKIT_22_6 = (int)220600L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_22_6 220600 + * } + */ + public static int __DRIVERKIT_22_6() { + return __DRIVERKIT_22_6; + } + private static final int __DRIVERKIT_23_0 = (int)230000L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_23_0 230000 + * } + */ + public static int __DRIVERKIT_23_0() { + return __DRIVERKIT_23_0; + } + private static final int __DRIVERKIT_23_1 = (int)230100L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_23_1 230100 + * } + */ + public static int __DRIVERKIT_23_1() { + return __DRIVERKIT_23_1; + } + private static final int __DRIVERKIT_23_2 = (int)230200L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_23_2 230200 + * } + */ + public static int __DRIVERKIT_23_2() { + return __DRIVERKIT_23_2; + } + private static final int __DRIVERKIT_23_3 = (int)230300L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_23_3 230300 + * } + */ + public static int __DRIVERKIT_23_3() { + return __DRIVERKIT_23_3; + } + private static final int __DRIVERKIT_23_4 = (int)230400L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_23_4 230400 + * } + */ + public static int __DRIVERKIT_23_4() { + return __DRIVERKIT_23_4; + } + private static final int __DRIVERKIT_23_5 = (int)230500L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_23_5 230500 + * } + */ + public static int __DRIVERKIT_23_5() { + return __DRIVERKIT_23_5; + } + private static final int __DRIVERKIT_23_6 = (int)230600L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_23_6 230600 + * } + */ + public static int __DRIVERKIT_23_6() { + return __DRIVERKIT_23_6; + } + private static final int __DRIVERKIT_24_0 = (int)240000L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_24_0 240000 + * } + */ + public static int __DRIVERKIT_24_0() { + return __DRIVERKIT_24_0; + } + private static final int __DRIVERKIT_24_1 = (int)240100L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_24_1 240100 + * } + */ + public static int __DRIVERKIT_24_1() { + return __DRIVERKIT_24_1; + } + private static final int __DRIVERKIT_24_2 = (int)240200L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_24_2 240200 + * } + */ + public static int __DRIVERKIT_24_2() { + return __DRIVERKIT_24_2; + } + private static final int __DRIVERKIT_24_3 = (int)240300L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_24_3 240300 + * } + */ + public static int __DRIVERKIT_24_3() { + return __DRIVERKIT_24_3; + } + private static final int __DRIVERKIT_24_4 = (int)240400L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_24_4 240400 + * } + */ + public static int __DRIVERKIT_24_4() { + return __DRIVERKIT_24_4; + } + private static final int __DRIVERKIT_24_5 = (int)240500L; + /** + * {@snippet lang=c : + * #define __DRIVERKIT_24_5 240500 + * } + */ + public static int __DRIVERKIT_24_5() { + return __DRIVERKIT_24_5; + } + private static final int __VISIONOS_1_0 = (int)10000L; + /** + * {@snippet lang=c : + * #define __VISIONOS_1_0 10000 + * } + */ + public static int __VISIONOS_1_0() { + return __VISIONOS_1_0; + } + private static final int __VISIONOS_1_1 = (int)10100L; + /** + * {@snippet lang=c : + * #define __VISIONOS_1_1 10100 + * } + */ + public static int __VISIONOS_1_1() { + return __VISIONOS_1_1; + } + private static final int __VISIONOS_1_2 = (int)10200L; + /** + * {@snippet lang=c : + * #define __VISIONOS_1_2 10200 + * } + */ + public static int __VISIONOS_1_2() { + return __VISIONOS_1_2; + } + private static final int __VISIONOS_1_3 = (int)10300L; + /** + * {@snippet lang=c : + * #define __VISIONOS_1_3 10300 + * } + */ + public static int __VISIONOS_1_3() { + return __VISIONOS_1_3; + } + private static final int __VISIONOS_2_0 = (int)20000L; + /** + * {@snippet lang=c : + * #define __VISIONOS_2_0 20000 + * } + */ + public static int __VISIONOS_2_0() { + return __VISIONOS_2_0; + } + private static final int __VISIONOS_2_1 = (int)20100L; + /** + * {@snippet lang=c : + * #define __VISIONOS_2_1 20100 + * } + */ + public static int __VISIONOS_2_1() { + return __VISIONOS_2_1; + } + private static final int __VISIONOS_2_2 = (int)20200L; + /** + * {@snippet lang=c : + * #define __VISIONOS_2_2 20200 + * } + */ + public static int __VISIONOS_2_2() { + return __VISIONOS_2_2; + } + private static final int __VISIONOS_2_3 = (int)20300L; + /** + * {@snippet lang=c : + * #define __VISIONOS_2_3 20300 + * } + */ + public static int __VISIONOS_2_3() { + return __VISIONOS_2_3; + } + private static final int __VISIONOS_2_4 = (int)20400L; + /** + * {@snippet lang=c : + * #define __VISIONOS_2_4 20400 + * } + */ + public static int __VISIONOS_2_4() { + return __VISIONOS_2_4; + } + private static final int __VISIONOS_2_5 = (int)20500L; + /** + * {@snippet lang=c : + * #define __VISIONOS_2_5 20500 + * } + */ + public static int __VISIONOS_2_5() { + return __VISIONOS_2_5; + } + private static final int __ENABLE_LEGACY_MAC_AVAILABILITY = (int)1L; + /** + * {@snippet lang=c : + * #define __ENABLE_LEGACY_MAC_AVAILABILITY 1 + * } + */ + public static int __ENABLE_LEGACY_MAC_AVAILABILITY() { + return __ENABLE_LEGACY_MAC_AVAILABILITY; + } + private static final int _FORTIFY_SOURCE = (int)2L; + /** + * {@snippet lang=c : + * #define _FORTIFY_SOURCE 2 + * } + */ + public static int _FORTIFY_SOURCE() { + return _FORTIFY_SOURCE; + } + private static final int __DARWIN_NSIG = (int)32L; + /** + * {@snippet lang=c : + * #define __DARWIN_NSIG 32 + * } + */ + public static int __DARWIN_NSIG() { + return __DARWIN_NSIG; + } + private static final int _ARM_SIGNAL_ = (int)1L; + /** + * {@snippet lang=c : + * #define _ARM_SIGNAL_ 1 + * } + */ + public static int _ARM_SIGNAL_() { + return _ARM_SIGNAL_; + } + private static final int SIGHUP = (int)1L; + /** + * {@snippet lang=c : + * #define SIGHUP 1 + * } + */ + public static int SIGHUP() { + return SIGHUP; + } + private static final int SIGINT = (int)2L; + /** + * {@snippet lang=c : + * #define SIGINT 2 + * } + */ + public static int SIGINT() { + return SIGINT; + } + private static final int SIGQUIT = (int)3L; + /** + * {@snippet lang=c : + * #define SIGQUIT 3 + * } + */ + public static int SIGQUIT() { + return SIGQUIT; + } + private static final int SIGILL = (int)4L; + /** + * {@snippet lang=c : + * #define SIGILL 4 + * } + */ + public static int SIGILL() { + return SIGILL; + } + private static final int SIGTRAP = (int)5L; + /** + * {@snippet lang=c : + * #define SIGTRAP 5 + * } + */ + public static int SIGTRAP() { + return SIGTRAP; + } + private static final int SIGABRT = (int)6L; + /** + * {@snippet lang=c : + * #define SIGABRT 6 + * } + */ + public static int SIGABRT() { + return SIGABRT; + } + private static final int SIGEMT = (int)7L; + /** + * {@snippet lang=c : + * #define SIGEMT 7 + * } + */ + public static int SIGEMT() { + return SIGEMT; + } + private static final int SIGFPE = (int)8L; + /** + * {@snippet lang=c : + * #define SIGFPE 8 + * } + */ + public static int SIGFPE() { + return SIGFPE; + } + private static final int SIGKILL = (int)9L; + /** + * {@snippet lang=c : + * #define SIGKILL 9 + * } + */ + public static int SIGKILL() { + return SIGKILL; + } + private static final int SIGBUS = (int)10L; + /** + * {@snippet lang=c : + * #define SIGBUS 10 + * } + */ + public static int SIGBUS() { + return SIGBUS; + } + private static final int SIGSEGV = (int)11L; + /** + * {@snippet lang=c : + * #define SIGSEGV 11 + * } + */ + public static int SIGSEGV() { + return SIGSEGV; + } + private static final int SIGSYS = (int)12L; + /** + * {@snippet lang=c : + * #define SIGSYS 12 + * } + */ + public static int SIGSYS() { + return SIGSYS; + } + private static final int SIGPIPE = (int)13L; + /** + * {@snippet lang=c : + * #define SIGPIPE 13 + * } + */ + public static int SIGPIPE() { + return SIGPIPE; + } + private static final int SIGALRM = (int)14L; + /** + * {@snippet lang=c : + * #define SIGALRM 14 + * } + */ + public static int SIGALRM() { + return SIGALRM; + } + private static final int SIGTERM = (int)15L; + /** + * {@snippet lang=c : + * #define SIGTERM 15 + * } + */ + public static int SIGTERM() { + return SIGTERM; + } + private static final int SIGURG = (int)16L; + /** + * {@snippet lang=c : + * #define SIGURG 16 + * } + */ + public static int SIGURG() { + return SIGURG; + } + private static final int SIGSTOP = (int)17L; + /** + * {@snippet lang=c : + * #define SIGSTOP 17 + * } + */ + public static int SIGSTOP() { + return SIGSTOP; + } + private static final int SIGTSTP = (int)18L; + /** + * {@snippet lang=c : + * #define SIGTSTP 18 + * } + */ + public static int SIGTSTP() { + return SIGTSTP; + } + private static final int SIGCONT = (int)19L; + /** + * {@snippet lang=c : + * #define SIGCONT 19 + * } + */ + public static int SIGCONT() { + return SIGCONT; + } + private static final int SIGCHLD = (int)20L; + /** + * {@snippet lang=c : + * #define SIGCHLD 20 + * } + */ + public static int SIGCHLD() { + return SIGCHLD; + } + private static final int SIGTTIN = (int)21L; + /** + * {@snippet lang=c : + * #define SIGTTIN 21 + * } + */ + public static int SIGTTIN() { + return SIGTTIN; + } + private static final int SIGTTOU = (int)22L; + /** + * {@snippet lang=c : + * #define SIGTTOU 22 + * } + */ + public static int SIGTTOU() { + return SIGTTOU; + } + private static final int SIGIO = (int)23L; + /** + * {@snippet lang=c : + * #define SIGIO 23 + * } + */ + public static int SIGIO() { + return SIGIO; + } + private static final int SIGXCPU = (int)24L; + /** + * {@snippet lang=c : + * #define SIGXCPU 24 + * } + */ + public static int SIGXCPU() { + return SIGXCPU; + } + private static final int SIGXFSZ = (int)25L; + /** + * {@snippet lang=c : + * #define SIGXFSZ 25 + * } + */ + public static int SIGXFSZ() { + return SIGXFSZ; + } + private static final int SIGVTALRM = (int)26L; + /** + * {@snippet lang=c : + * #define SIGVTALRM 26 + * } + */ + public static int SIGVTALRM() { + return SIGVTALRM; + } + private static final int SIGPROF = (int)27L; + /** + * {@snippet lang=c : + * #define SIGPROF 27 + * } + */ + public static int SIGPROF() { + return SIGPROF; + } + private static final int SIGWINCH = (int)28L; + /** + * {@snippet lang=c : + * #define SIGWINCH 28 + * } + */ + public static int SIGWINCH() { + return SIGWINCH; + } + private static final int SIGINFO = (int)29L; + /** + * {@snippet lang=c : + * #define SIGINFO 29 + * } + */ + public static int SIGINFO() { + return SIGINFO; + } + private static final int SIGUSR1 = (int)30L; + /** + * {@snippet lang=c : + * #define SIGUSR1 30 + * } + */ + public static int SIGUSR1() { + return SIGUSR1; + } + private static final int SIGUSR2 = (int)31L; + /** + * {@snippet lang=c : + * #define SIGUSR2 31 + * } + */ + public static int SIGUSR2() { + return SIGUSR2; + } + private static final int __DARWIN_OPAQUE_ARM_THREAD_STATE64 = (int)0L; + /** + * {@snippet lang=c : + * #define __DARWIN_OPAQUE_ARM_THREAD_STATE64 0 + * } + */ + public static int __DARWIN_OPAQUE_ARM_THREAD_STATE64() { + return __DARWIN_OPAQUE_ARM_THREAD_STATE64; + } + private static final int USE_CLANG_STDDEF = (int)0L; + /** + * {@snippet lang=c : + * #define USE_CLANG_STDDEF 0 + * } + */ + public static int USE_CLANG_STDDEF() { + return USE_CLANG_STDDEF; + } + private static final int SIGEV_NONE = (int)0L; + /** + * {@snippet lang=c : + * #define SIGEV_NONE 0 + * } + */ + public static int SIGEV_NONE() { + return SIGEV_NONE; + } + private static final int SIGEV_SIGNAL = (int)1L; + /** + * {@snippet lang=c : + * #define SIGEV_SIGNAL 1 + * } + */ + public static int SIGEV_SIGNAL() { + return SIGEV_SIGNAL; + } + private static final int SIGEV_THREAD = (int)3L; + /** + * {@snippet lang=c : + * #define SIGEV_THREAD 3 + * } + */ + public static int SIGEV_THREAD() { + return SIGEV_THREAD; + } + private static final int ILL_NOOP = (int)0L; + /** + * {@snippet lang=c : + * #define ILL_NOOP 0 + * } + */ + public static int ILL_NOOP() { + return ILL_NOOP; + } + private static final int ILL_ILLOPC = (int)1L; + /** + * {@snippet lang=c : + * #define ILL_ILLOPC 1 + * } + */ + public static int ILL_ILLOPC() { + return ILL_ILLOPC; + } + private static final int ILL_ILLTRP = (int)2L; + /** + * {@snippet lang=c : + * #define ILL_ILLTRP 2 + * } + */ + public static int ILL_ILLTRP() { + return ILL_ILLTRP; + } + private static final int ILL_PRVOPC = (int)3L; + /** + * {@snippet lang=c : + * #define ILL_PRVOPC 3 + * } + */ + public static int ILL_PRVOPC() { + return ILL_PRVOPC; + } + private static final int ILL_ILLOPN = (int)4L; + /** + * {@snippet lang=c : + * #define ILL_ILLOPN 4 + * } + */ + public static int ILL_ILLOPN() { + return ILL_ILLOPN; + } + private static final int ILL_ILLADR = (int)5L; + /** + * {@snippet lang=c : + * #define ILL_ILLADR 5 + * } + */ + public static int ILL_ILLADR() { + return ILL_ILLADR; + } + private static final int ILL_PRVREG = (int)6L; + /** + * {@snippet lang=c : + * #define ILL_PRVREG 6 + * } + */ + public static int ILL_PRVREG() { + return ILL_PRVREG; + } + private static final int ILL_COPROC = (int)7L; + /** + * {@snippet lang=c : + * #define ILL_COPROC 7 + * } + */ + public static int ILL_COPROC() { + return ILL_COPROC; + } + private static final int ILL_BADSTK = (int)8L; + /** + * {@snippet lang=c : + * #define ILL_BADSTK 8 + * } + */ + public static int ILL_BADSTK() { + return ILL_BADSTK; + } + private static final int FPE_NOOP = (int)0L; + /** + * {@snippet lang=c : + * #define FPE_NOOP 0 + * } + */ + public static int FPE_NOOP() { + return FPE_NOOP; + } + private static final int FPE_FLTDIV = (int)1L; + /** + * {@snippet lang=c : + * #define FPE_FLTDIV 1 + * } + */ + public static int FPE_FLTDIV() { + return FPE_FLTDIV; + } + private static final int FPE_FLTOVF = (int)2L; + /** + * {@snippet lang=c : + * #define FPE_FLTOVF 2 + * } + */ + public static int FPE_FLTOVF() { + return FPE_FLTOVF; + } + private static final int FPE_FLTUND = (int)3L; + /** + * {@snippet lang=c : + * #define FPE_FLTUND 3 + * } + */ + public static int FPE_FLTUND() { + return FPE_FLTUND; + } + private static final int FPE_FLTRES = (int)4L; + /** + * {@snippet lang=c : + * #define FPE_FLTRES 4 + * } + */ + public static int FPE_FLTRES() { + return FPE_FLTRES; + } + private static final int FPE_FLTINV = (int)5L; + /** + * {@snippet lang=c : + * #define FPE_FLTINV 5 + * } + */ + public static int FPE_FLTINV() { + return FPE_FLTINV; + } + private static final int FPE_FLTSUB = (int)6L; + /** + * {@snippet lang=c : + * #define FPE_FLTSUB 6 + * } + */ + public static int FPE_FLTSUB() { + return FPE_FLTSUB; + } + private static final int FPE_INTDIV = (int)7L; + /** + * {@snippet lang=c : + * #define FPE_INTDIV 7 + * } + */ + public static int FPE_INTDIV() { + return FPE_INTDIV; + } + private static final int FPE_INTOVF = (int)8L; + /** + * {@snippet lang=c : + * #define FPE_INTOVF 8 + * } + */ + public static int FPE_INTOVF() { + return FPE_INTOVF; + } + private static final int SEGV_NOOP = (int)0L; + /** + * {@snippet lang=c : + * #define SEGV_NOOP 0 + * } + */ + public static int SEGV_NOOP() { + return SEGV_NOOP; + } + private static final int SEGV_MAPERR = (int)1L; + /** + * {@snippet lang=c : + * #define SEGV_MAPERR 1 + * } + */ + public static int SEGV_MAPERR() { + return SEGV_MAPERR; + } + private static final int SEGV_ACCERR = (int)2L; + /** + * {@snippet lang=c : + * #define SEGV_ACCERR 2 + * } + */ + public static int SEGV_ACCERR() { + return SEGV_ACCERR; + } + private static final int BUS_NOOP = (int)0L; + /** + * {@snippet lang=c : + * #define BUS_NOOP 0 + * } + */ + public static int BUS_NOOP() { + return BUS_NOOP; + } + private static final int BUS_ADRALN = (int)1L; + /** + * {@snippet lang=c : + * #define BUS_ADRALN 1 + * } + */ + public static int BUS_ADRALN() { + return BUS_ADRALN; + } + private static final int BUS_ADRERR = (int)2L; + /** + * {@snippet lang=c : + * #define BUS_ADRERR 2 + * } + */ + public static int BUS_ADRERR() { + return BUS_ADRERR; + } + private static final int BUS_OBJERR = (int)3L; + /** + * {@snippet lang=c : + * #define BUS_OBJERR 3 + * } + */ + public static int BUS_OBJERR() { + return BUS_OBJERR; + } + private static final int TRAP_BRKPT = (int)1L; + /** + * {@snippet lang=c : + * #define TRAP_BRKPT 1 + * } + */ + public static int TRAP_BRKPT() { + return TRAP_BRKPT; + } + private static final int TRAP_TRACE = (int)2L; + /** + * {@snippet lang=c : + * #define TRAP_TRACE 2 + * } + */ + public static int TRAP_TRACE() { + return TRAP_TRACE; + } + private static final int CLD_NOOP = (int)0L; + /** + * {@snippet lang=c : + * #define CLD_NOOP 0 + * } + */ + public static int CLD_NOOP() { + return CLD_NOOP; + } + private static final int CLD_EXITED = (int)1L; + /** + * {@snippet lang=c : + * #define CLD_EXITED 1 + * } + */ + public static int CLD_EXITED() { + return CLD_EXITED; + } + private static final int CLD_KILLED = (int)2L; + /** + * {@snippet lang=c : + * #define CLD_KILLED 2 + * } + */ + public static int CLD_KILLED() { + return CLD_KILLED; + } + private static final int CLD_DUMPED = (int)3L; + /** + * {@snippet lang=c : + * #define CLD_DUMPED 3 + * } + */ + public static int CLD_DUMPED() { + return CLD_DUMPED; + } + private static final int CLD_TRAPPED = (int)4L; + /** + * {@snippet lang=c : + * #define CLD_TRAPPED 4 + * } + */ + public static int CLD_TRAPPED() { + return CLD_TRAPPED; + } + private static final int CLD_STOPPED = (int)5L; + /** + * {@snippet lang=c : + * #define CLD_STOPPED 5 + * } + */ + public static int CLD_STOPPED() { + return CLD_STOPPED; + } + private static final int CLD_CONTINUED = (int)6L; + /** + * {@snippet lang=c : + * #define CLD_CONTINUED 6 + * } + */ + public static int CLD_CONTINUED() { + return CLD_CONTINUED; + } + private static final int POLL_IN = (int)1L; + /** + * {@snippet lang=c : + * #define POLL_IN 1 + * } + */ + public static int POLL_IN() { + return POLL_IN; + } + private static final int POLL_OUT = (int)2L; + /** + * {@snippet lang=c : + * #define POLL_OUT 2 + * } + */ + public static int POLL_OUT() { + return POLL_OUT; + } + private static final int POLL_MSG = (int)3L; + /** + * {@snippet lang=c : + * #define POLL_MSG 3 + * } + */ + public static int POLL_MSG() { + return POLL_MSG; + } + private static final int POLL_ERR = (int)4L; + /** + * {@snippet lang=c : + * #define POLL_ERR 4 + * } + */ + public static int POLL_ERR() { + return POLL_ERR; + } + private static final int POLL_PRI = (int)5L; + /** + * {@snippet lang=c : + * #define POLL_PRI 5 + * } + */ + public static int POLL_PRI() { + return POLL_PRI; + } + private static final int POLL_HUP = (int)6L; + /** + * {@snippet lang=c : + * #define POLL_HUP 6 + * } + */ + public static int POLL_HUP() { + return POLL_HUP; + } + private static final int SA_ONSTACK = (int)1L; + /** + * {@snippet lang=c : + * #define SA_ONSTACK 1 + * } + */ + public static int SA_ONSTACK() { + return SA_ONSTACK; + } + private static final int SA_RESTART = (int)2L; + /** + * {@snippet lang=c : + * #define SA_RESTART 2 + * } + */ + public static int SA_RESTART() { + return SA_RESTART; + } + private static final int SA_RESETHAND = (int)4L; + /** + * {@snippet lang=c : + * #define SA_RESETHAND 4 + * } + */ + public static int SA_RESETHAND() { + return SA_RESETHAND; + } + private static final int SA_NOCLDSTOP = (int)8L; + /** + * {@snippet lang=c : + * #define SA_NOCLDSTOP 8 + * } + */ + public static int SA_NOCLDSTOP() { + return SA_NOCLDSTOP; + } + private static final int SA_NODEFER = (int)16L; + /** + * {@snippet lang=c : + * #define SA_NODEFER 16 + * } + */ + public static int SA_NODEFER() { + return SA_NODEFER; + } + private static final int SA_NOCLDWAIT = (int)32L; + /** + * {@snippet lang=c : + * #define SA_NOCLDWAIT 32 + * } + */ + public static int SA_NOCLDWAIT() { + return SA_NOCLDWAIT; + } + private static final int SA_SIGINFO = (int)64L; + /** + * {@snippet lang=c : + * #define SA_SIGINFO 64 + * } + */ + public static int SA_SIGINFO() { + return SA_SIGINFO; + } + private static final int SA_USERTRAMP = (int)256L; + /** + * {@snippet lang=c : + * #define SA_USERTRAMP 256 + * } + */ + public static int SA_USERTRAMP() { + return SA_USERTRAMP; + } + private static final int SA_64REGSET = (int)512L; + /** + * {@snippet lang=c : + * #define SA_64REGSET 512 + * } + */ + public static int SA_64REGSET() { + return SA_64REGSET; + } + private static final int SIG_BLOCK = (int)1L; + /** + * {@snippet lang=c : + * #define SIG_BLOCK 1 + * } + */ + public static int SIG_BLOCK() { + return SIG_BLOCK; + } + private static final int SIG_UNBLOCK = (int)2L; + /** + * {@snippet lang=c : + * #define SIG_UNBLOCK 2 + * } + */ + public static int SIG_UNBLOCK() { + return SIG_UNBLOCK; + } + private static final int SIG_SETMASK = (int)3L; + /** + * {@snippet lang=c : + * #define SIG_SETMASK 3 + * } + */ + public static int SIG_SETMASK() { + return SIG_SETMASK; + } + private static final int SI_USER = (int)65537L; + /** + * {@snippet lang=c : + * #define SI_USER 65537 + * } + */ + public static int SI_USER() { + return SI_USER; + } + private static final int SI_QUEUE = (int)65538L; + /** + * {@snippet lang=c : + * #define SI_QUEUE 65538 + * } + */ + public static int SI_QUEUE() { + return SI_QUEUE; + } + private static final int SI_TIMER = (int)65539L; + /** + * {@snippet lang=c : + * #define SI_TIMER 65539 + * } + */ + public static int SI_TIMER() { + return SI_TIMER; + } + private static final int SI_ASYNCIO = (int)65540L; + /** + * {@snippet lang=c : + * #define SI_ASYNCIO 65540 + * } + */ + public static int SI_ASYNCIO() { + return SI_ASYNCIO; + } + private static final int SI_MESGQ = (int)65541L; + /** + * {@snippet lang=c : + * #define SI_MESGQ 65541 + * } + */ + public static int SI_MESGQ() { + return SI_MESGQ; + } + private static final int SS_ONSTACK = (int)1L; + /** + * {@snippet lang=c : + * #define SS_ONSTACK 1 + * } + */ + public static int SS_ONSTACK() { + return SS_ONSTACK; + } + private static final int SS_DISABLE = (int)4L; + /** + * {@snippet lang=c : + * #define SS_DISABLE 4 + * } + */ + public static int SS_DISABLE() { + return SS_DISABLE; + } + private static final int MINSIGSTKSZ = (int)32768L; + /** + * {@snippet lang=c : + * #define MINSIGSTKSZ 32768 + * } + */ + public static int MINSIGSTKSZ() { + return MINSIGSTKSZ; + } + private static final int SIGSTKSZ = (int)131072L; + /** + * {@snippet lang=c : + * #define SIGSTKSZ 131072 + * } + */ + public static int SIGSTKSZ() { + return SIGSTKSZ; + } + private static final int PRIO_PROCESS = (int)0L; + /** + * {@snippet lang=c : + * #define PRIO_PROCESS 0 + * } + */ + public static int PRIO_PROCESS() { + return PRIO_PROCESS; + } + private static final int PRIO_PGRP = (int)1L; + /** + * {@snippet lang=c : + * #define PRIO_PGRP 1 + * } + */ + public static int PRIO_PGRP() { + return PRIO_PGRP; + } + private static final int PRIO_USER = (int)2L; + /** + * {@snippet lang=c : + * #define PRIO_USER 2 + * } + */ + public static int PRIO_USER() { + return PRIO_USER; + } + private static final int PRIO_DARWIN_THREAD = (int)3L; + /** + * {@snippet lang=c : + * #define PRIO_DARWIN_THREAD 3 + * } + */ + public static int PRIO_DARWIN_THREAD() { + return PRIO_DARWIN_THREAD; + } + private static final int PRIO_DARWIN_PROCESS = (int)4L; + /** + * {@snippet lang=c : + * #define PRIO_DARWIN_PROCESS 4 + * } + */ + public static int PRIO_DARWIN_PROCESS() { + return PRIO_DARWIN_PROCESS; + } + private static final int PRIO_MAX = (int)20L; + /** + * {@snippet lang=c : + * #define PRIO_MAX 20 + * } + */ + public static int PRIO_MAX() { + return PRIO_MAX; + } + private static final int PRIO_DARWIN_BG = (int)4096L; + /** + * {@snippet lang=c : + * #define PRIO_DARWIN_BG 4096 + * } + */ + public static int PRIO_DARWIN_BG() { + return PRIO_DARWIN_BG; + } + private static final int PRIO_DARWIN_NONUI = (int)4097L; + /** + * {@snippet lang=c : + * #define PRIO_DARWIN_NONUI 4097 + * } + */ + public static int PRIO_DARWIN_NONUI() { + return PRIO_DARWIN_NONUI; + } + private static final int RUSAGE_SELF = (int)0L; + /** + * {@snippet lang=c : + * #define RUSAGE_SELF 0 + * } + */ + public static int RUSAGE_SELF() { + return RUSAGE_SELF; + } + private static final int RUSAGE_INFO_V0 = (int)0L; + /** + * {@snippet lang=c : + * #define RUSAGE_INFO_V0 0 + * } + */ + public static int RUSAGE_INFO_V0() { + return RUSAGE_INFO_V0; + } + private static final int RUSAGE_INFO_V1 = (int)1L; + /** + * {@snippet lang=c : + * #define RUSAGE_INFO_V1 1 + * } + */ + public static int RUSAGE_INFO_V1() { + return RUSAGE_INFO_V1; + } + private static final int RUSAGE_INFO_V2 = (int)2L; + /** + * {@snippet lang=c : + * #define RUSAGE_INFO_V2 2 + * } + */ + public static int RUSAGE_INFO_V2() { + return RUSAGE_INFO_V2; + } + private static final int RUSAGE_INFO_V3 = (int)3L; + /** + * {@snippet lang=c : + * #define RUSAGE_INFO_V3 3 + * } + */ + public static int RUSAGE_INFO_V3() { + return RUSAGE_INFO_V3; + } + private static final int RUSAGE_INFO_V4 = (int)4L; + /** + * {@snippet lang=c : + * #define RUSAGE_INFO_V4 4 + * } + */ + public static int RUSAGE_INFO_V4() { + return RUSAGE_INFO_V4; + } + private static final int RUSAGE_INFO_V5 = (int)5L; + /** + * {@snippet lang=c : + * #define RUSAGE_INFO_V5 5 + * } + */ + public static int RUSAGE_INFO_V5() { + return RUSAGE_INFO_V5; + } + private static final int RUSAGE_INFO_V6 = (int)6L; + /** + * {@snippet lang=c : + * #define RUSAGE_INFO_V6 6 + * } + */ + public static int RUSAGE_INFO_V6() { + return RUSAGE_INFO_V6; + } + private static final int RU_PROC_RUNS_RESLIDE = (int)1L; + /** + * {@snippet lang=c : + * #define RU_PROC_RUNS_RESLIDE 1 + * } + */ + public static int RU_PROC_RUNS_RESLIDE() { + return RU_PROC_RUNS_RESLIDE; + } + private static final int RLIMIT_CPU = (int)0L; + /** + * {@snippet lang=c : + * #define RLIMIT_CPU 0 + * } + */ + public static int RLIMIT_CPU() { + return RLIMIT_CPU; + } + private static final int RLIMIT_FSIZE = (int)1L; + /** + * {@snippet lang=c : + * #define RLIMIT_FSIZE 1 + * } + */ + public static int RLIMIT_FSIZE() { + return RLIMIT_FSIZE; + } + private static final int RLIMIT_DATA = (int)2L; + /** + * {@snippet lang=c : + * #define RLIMIT_DATA 2 + * } + */ + public static int RLIMIT_DATA() { + return RLIMIT_DATA; + } + private static final int RLIMIT_STACK = (int)3L; + /** + * {@snippet lang=c : + * #define RLIMIT_STACK 3 + * } + */ + public static int RLIMIT_STACK() { + return RLIMIT_STACK; + } + private static final int RLIMIT_CORE = (int)4L; + /** + * {@snippet lang=c : + * #define RLIMIT_CORE 4 + * } + */ + public static int RLIMIT_CORE() { + return RLIMIT_CORE; + } + private static final int RLIMIT_AS = (int)5L; + /** + * {@snippet lang=c : + * #define RLIMIT_AS 5 + * } + */ + public static int RLIMIT_AS() { + return RLIMIT_AS; + } + private static final int RLIMIT_MEMLOCK = (int)6L; + /** + * {@snippet lang=c : + * #define RLIMIT_MEMLOCK 6 + * } + */ + public static int RLIMIT_MEMLOCK() { + return RLIMIT_MEMLOCK; + } + private static final int RLIMIT_NPROC = (int)7L; + /** + * {@snippet lang=c : + * #define RLIMIT_NPROC 7 + * } + */ + public static int RLIMIT_NPROC() { + return RLIMIT_NPROC; + } + private static final int RLIMIT_NOFILE = (int)8L; + /** + * {@snippet lang=c : + * #define RLIMIT_NOFILE 8 + * } + */ + public static int RLIMIT_NOFILE() { + return RLIMIT_NOFILE; + } + private static final int RLIM_NLIMITS = (int)9L; + /** + * {@snippet lang=c : + * #define RLIM_NLIMITS 9 + * } + */ + public static int RLIM_NLIMITS() { + return RLIM_NLIMITS; + } + private static final int _RLIMIT_POSIX_FLAG = (int)4096L; + /** + * {@snippet lang=c : + * #define _RLIMIT_POSIX_FLAG 4096 + * } + */ + public static int _RLIMIT_POSIX_FLAG() { + return _RLIMIT_POSIX_FLAG; + } + private static final int RLIMIT_WAKEUPS_MONITOR = (int)1L; + /** + * {@snippet lang=c : + * #define RLIMIT_WAKEUPS_MONITOR 1 + * } + */ + public static int RLIMIT_WAKEUPS_MONITOR() { + return RLIMIT_WAKEUPS_MONITOR; + } + private static final int RLIMIT_CPU_USAGE_MONITOR = (int)2L; + /** + * {@snippet lang=c : + * #define RLIMIT_CPU_USAGE_MONITOR 2 + * } + */ + public static int RLIMIT_CPU_USAGE_MONITOR() { + return RLIMIT_CPU_USAGE_MONITOR; + } + private static final int RLIMIT_THREAD_CPULIMITS = (int)3L; + /** + * {@snippet lang=c : + * #define RLIMIT_THREAD_CPULIMITS 3 + * } + */ + public static int RLIMIT_THREAD_CPULIMITS() { + return RLIMIT_THREAD_CPULIMITS; + } + private static final int RLIMIT_FOOTPRINT_INTERVAL = (int)4L; + /** + * {@snippet lang=c : + * #define RLIMIT_FOOTPRINT_INTERVAL 4 + * } + */ + public static int RLIMIT_FOOTPRINT_INTERVAL() { + return RLIMIT_FOOTPRINT_INTERVAL; + } + private static final int WAKEMON_ENABLE = (int)1L; + /** + * {@snippet lang=c : + * #define WAKEMON_ENABLE 1 + * } + */ + public static int WAKEMON_ENABLE() { + return WAKEMON_ENABLE; + } + private static final int WAKEMON_DISABLE = (int)2L; + /** + * {@snippet lang=c : + * #define WAKEMON_DISABLE 2 + * } + */ + public static int WAKEMON_DISABLE() { + return WAKEMON_DISABLE; + } + private static final int WAKEMON_GET_PARAMS = (int)4L; + /** + * {@snippet lang=c : + * #define WAKEMON_GET_PARAMS 4 + * } + */ + public static int WAKEMON_GET_PARAMS() { + return WAKEMON_GET_PARAMS; + } + private static final int WAKEMON_SET_DEFAULTS = (int)8L; + /** + * {@snippet lang=c : + * #define WAKEMON_SET_DEFAULTS 8 + * } + */ + public static int WAKEMON_SET_DEFAULTS() { + return WAKEMON_SET_DEFAULTS; + } + private static final int WAKEMON_MAKE_FATAL = (int)16L; + /** + * {@snippet lang=c : + * #define WAKEMON_MAKE_FATAL 16 + * } + */ + public static int WAKEMON_MAKE_FATAL() { + return WAKEMON_MAKE_FATAL; + } + private static final int CPUMON_MAKE_FATAL = (int)4096L; + /** + * {@snippet lang=c : + * #define CPUMON_MAKE_FATAL 4096 + * } + */ + public static int CPUMON_MAKE_FATAL() { + return CPUMON_MAKE_FATAL; + } + private static final int FOOTPRINT_INTERVAL_RESET = (int)1L; + /** + * {@snippet lang=c : + * #define FOOTPRINT_INTERVAL_RESET 1 + * } + */ + public static int FOOTPRINT_INTERVAL_RESET() { + return FOOTPRINT_INTERVAL_RESET; + } + private static final int IOPOL_TYPE_DISK = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_TYPE_DISK 0 + * } + */ + public static int IOPOL_TYPE_DISK() { + return IOPOL_TYPE_DISK; + } + private static final int IOPOL_TYPE_VFS_ATIME_UPDATES = (int)2L; + /** + * {@snippet lang=c : + * #define IOPOL_TYPE_VFS_ATIME_UPDATES 2 + * } + */ + public static int IOPOL_TYPE_VFS_ATIME_UPDATES() { + return IOPOL_TYPE_VFS_ATIME_UPDATES; + } + private static final int IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES = (int)3L; + /** + * {@snippet lang=c : + * #define IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES 3 + * } + */ + public static int IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES() { + return IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES; + } + private static final int IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME = (int)4L; + /** + * {@snippet lang=c : + * #define IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME 4 + * } + */ + public static int IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME() { + return IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME; + } + private static final int IOPOL_TYPE_VFS_TRIGGER_RESOLVE = (int)5L; + /** + * {@snippet lang=c : + * #define IOPOL_TYPE_VFS_TRIGGER_RESOLVE 5 + * } + */ + public static int IOPOL_TYPE_VFS_TRIGGER_RESOLVE() { + return IOPOL_TYPE_VFS_TRIGGER_RESOLVE; + } + private static final int IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION = (int)6L; + /** + * {@snippet lang=c : + * #define IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION 6 + * } + */ + public static int IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION() { + return IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION; + } + private static final int IOPOL_TYPE_VFS_IGNORE_PERMISSIONS = (int)7L; + /** + * {@snippet lang=c : + * #define IOPOL_TYPE_VFS_IGNORE_PERMISSIONS 7 + * } + */ + public static int IOPOL_TYPE_VFS_IGNORE_PERMISSIONS() { + return IOPOL_TYPE_VFS_IGNORE_PERMISSIONS; + } + private static final int IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE = (int)8L; + /** + * {@snippet lang=c : + * #define IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE 8 + * } + */ + public static int IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE() { + return IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE; + } + private static final int IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES = (int)9L; + /** + * {@snippet lang=c : + * #define IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES 9 + * } + */ + public static int IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES() { + return IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES; + } + private static final int IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY = (int)10L; + /** + * {@snippet lang=c : + * #define IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY 10 + * } + */ + public static int IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY() { + return IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY; + } + private static final int IOPOL_SCOPE_PROCESS = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_SCOPE_PROCESS 0 + * } + */ + public static int IOPOL_SCOPE_PROCESS() { + return IOPOL_SCOPE_PROCESS; + } + private static final int IOPOL_SCOPE_THREAD = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_SCOPE_THREAD 1 + * } + */ + public static int IOPOL_SCOPE_THREAD() { + return IOPOL_SCOPE_THREAD; + } + private static final int IOPOL_SCOPE_DARWIN_BG = (int)2L; + /** + * {@snippet lang=c : + * #define IOPOL_SCOPE_DARWIN_BG 2 + * } + */ + public static int IOPOL_SCOPE_DARWIN_BG() { + return IOPOL_SCOPE_DARWIN_BG; + } + private static final int IOPOL_DEFAULT = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_DEFAULT 0 + * } + */ + public static int IOPOL_DEFAULT() { + return IOPOL_DEFAULT; + } + private static final int IOPOL_IMPORTANT = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_IMPORTANT 1 + * } + */ + public static int IOPOL_IMPORTANT() { + return IOPOL_IMPORTANT; + } + private static final int IOPOL_PASSIVE = (int)2L; + /** + * {@snippet lang=c : + * #define IOPOL_PASSIVE 2 + * } + */ + public static int IOPOL_PASSIVE() { + return IOPOL_PASSIVE; + } + private static final int IOPOL_THROTTLE = (int)3L; + /** + * {@snippet lang=c : + * #define IOPOL_THROTTLE 3 + * } + */ + public static int IOPOL_THROTTLE() { + return IOPOL_THROTTLE; + } + private static final int IOPOL_UTILITY = (int)4L; + /** + * {@snippet lang=c : + * #define IOPOL_UTILITY 4 + * } + */ + public static int IOPOL_UTILITY() { + return IOPOL_UTILITY; + } + private static final int IOPOL_STANDARD = (int)5L; + /** + * {@snippet lang=c : + * #define IOPOL_STANDARD 5 + * } + */ + public static int IOPOL_STANDARD() { + return IOPOL_STANDARD; + } + private static final int IOPOL_ATIME_UPDATES_DEFAULT = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_ATIME_UPDATES_DEFAULT 0 + * } + */ + public static int IOPOL_ATIME_UPDATES_DEFAULT() { + return IOPOL_ATIME_UPDATES_DEFAULT; + } + private static final int IOPOL_ATIME_UPDATES_OFF = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_ATIME_UPDATES_OFF 1 + * } + */ + public static int IOPOL_ATIME_UPDATES_OFF() { + return IOPOL_ATIME_UPDATES_OFF; + } + private static final int IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT 0 + * } + */ + public static int IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT() { + return IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT; + } + private static final int IOPOL_MATERIALIZE_DATALESS_FILES_OFF = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_MATERIALIZE_DATALESS_FILES_OFF 1 + * } + */ + public static int IOPOL_MATERIALIZE_DATALESS_FILES_OFF() { + return IOPOL_MATERIALIZE_DATALESS_FILES_OFF; + } + private static final int IOPOL_MATERIALIZE_DATALESS_FILES_ON = (int)2L; + /** + * {@snippet lang=c : + * #define IOPOL_MATERIALIZE_DATALESS_FILES_ON 2 + * } + */ + public static int IOPOL_MATERIALIZE_DATALESS_FILES_ON() { + return IOPOL_MATERIALIZE_DATALESS_FILES_ON; + } + private static final int IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT 0 + * } + */ + public static int IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT() { + return IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT; + } + private static final int IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME 1 + * } + */ + public static int IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME() { + return IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME; + } + private static final int IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT 0 + * } + */ + public static int IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT() { + return IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT; + } + private static final int IOPOL_VFS_TRIGGER_RESOLVE_OFF = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_TRIGGER_RESOLVE_OFF 1 + * } + */ + public static int IOPOL_VFS_TRIGGER_RESOLVE_OFF() { + return IOPOL_VFS_TRIGGER_RESOLVE_OFF; + } + private static final int IOPOL_VFS_CONTENT_PROTECTION_DEFAULT = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_CONTENT_PROTECTION_DEFAULT 0 + * } + */ + public static int IOPOL_VFS_CONTENT_PROTECTION_DEFAULT() { + return IOPOL_VFS_CONTENT_PROTECTION_DEFAULT; + } + private static final int IOPOL_VFS_CONTENT_PROTECTION_IGNORE = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_CONTENT_PROTECTION_IGNORE 1 + * } + */ + public static int IOPOL_VFS_CONTENT_PROTECTION_IGNORE() { + return IOPOL_VFS_CONTENT_PROTECTION_IGNORE; + } + private static final int IOPOL_VFS_IGNORE_PERMISSIONS_OFF = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_IGNORE_PERMISSIONS_OFF 0 + * } + */ + public static int IOPOL_VFS_IGNORE_PERMISSIONS_OFF() { + return IOPOL_VFS_IGNORE_PERMISSIONS_OFF; + } + private static final int IOPOL_VFS_IGNORE_PERMISSIONS_ON = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_IGNORE_PERMISSIONS_ON 1 + * } + */ + public static int IOPOL_VFS_IGNORE_PERMISSIONS_ON() { + return IOPOL_VFS_IGNORE_PERMISSIONS_ON; + } + private static final int IOPOL_VFS_SKIP_MTIME_UPDATE_OFF = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_SKIP_MTIME_UPDATE_OFF 0 + * } + */ + public static int IOPOL_VFS_SKIP_MTIME_UPDATE_OFF() { + return IOPOL_VFS_SKIP_MTIME_UPDATE_OFF; + } + private static final int IOPOL_VFS_SKIP_MTIME_UPDATE_ON = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_SKIP_MTIME_UPDATE_ON 1 + * } + */ + public static int IOPOL_VFS_SKIP_MTIME_UPDATE_ON() { + return IOPOL_VFS_SKIP_MTIME_UPDATE_ON; + } + private static final int IOPOL_VFS_SKIP_MTIME_UPDATE_IGNORE = (int)2L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_SKIP_MTIME_UPDATE_IGNORE 2 + * } + */ + public static int IOPOL_VFS_SKIP_MTIME_UPDATE_IGNORE() { + return IOPOL_VFS_SKIP_MTIME_UPDATE_IGNORE; + } + private static final int IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF 0 + * } + */ + public static int IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF() { + return IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF; + } + private static final int IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON 1 + * } + */ + public static int IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON() { + return IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON; + } + private static final int IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_DEFAULT = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_DEFAULT 0 + * } + */ + public static int IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_DEFAULT() { + return IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_DEFAULT; + } + private static final int IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_ON = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_ON 1 + * } + */ + public static int IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_ON() { + return IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_ON; + } + private static final int IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_DEFAULT = (int)0L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_DEFAULT 0 + * } + */ + public static int IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_DEFAULT() { + return IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_DEFAULT; + } + private static final int IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_ON = (int)1L; + /** + * {@snippet lang=c : + * #define IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_ON 1 + * } + */ + public static int IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_ON() { + return IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_ON; + } + private static final int WNOHANG = (int)1L; + /** + * {@snippet lang=c : + * #define WNOHANG 1 + * } + */ + public static int WNOHANG() { + return WNOHANG; + } + private static final int WUNTRACED = (int)2L; + /** + * {@snippet lang=c : + * #define WUNTRACED 2 + * } + */ + public static int WUNTRACED() { + return WUNTRACED; + } + private static final int WCOREFLAG = (int)128L; + /** + * {@snippet lang=c : + * #define WCOREFLAG 128 + * } + */ + public static int WCOREFLAG() { + return WCOREFLAG; + } + private static final int _WSTOPPED = (int)127L; + /** + * {@snippet lang=c : + * #define _WSTOPPED 127 + * } + */ + public static int _WSTOPPED() { + return _WSTOPPED; + } + private static final int WEXITED = (int)4L; + /** + * {@snippet lang=c : + * #define WEXITED 4 + * } + */ + public static int WEXITED() { + return WEXITED; + } + private static final int WSTOPPED = (int)8L; + /** + * {@snippet lang=c : + * #define WSTOPPED 8 + * } + */ + public static int WSTOPPED() { + return WSTOPPED; + } + private static final int WCONTINUED = (int)16L; + /** + * {@snippet lang=c : + * #define WCONTINUED 16 + * } + */ + public static int WCONTINUED() { + return WCONTINUED; + } + private static final int WNOWAIT = (int)32L; + /** + * {@snippet lang=c : + * #define WNOWAIT 32 + * } + */ + public static int WNOWAIT() { + return WNOWAIT; + } + private static final int WAIT_MYPGRP = (int)0L; + /** + * {@snippet lang=c : + * #define WAIT_MYPGRP 0 + * } + */ + public static int WAIT_MYPGRP() { + return WAIT_MYPGRP; + } + private static final int _QUAD_HIGHWORD = (int)1L; + /** + * {@snippet lang=c : + * #define _QUAD_HIGHWORD 1 + * } + */ + public static int _QUAD_HIGHWORD() { + return _QUAD_HIGHWORD; + } + private static final int _QUAD_LOWWORD = (int)0L; + /** + * {@snippet lang=c : + * #define _QUAD_LOWWORD 0 + * } + */ + public static int _QUAD_LOWWORD() { + return _QUAD_LOWWORD; + } + private static final int __DARWIN_LITTLE_ENDIAN = (int)1234L; + /** + * {@snippet lang=c : + * #define __DARWIN_LITTLE_ENDIAN 1234 + * } + */ + public static int __DARWIN_LITTLE_ENDIAN() { + return __DARWIN_LITTLE_ENDIAN; + } + private static final int __DARWIN_BIG_ENDIAN = (int)4321L; + /** + * {@snippet lang=c : + * #define __DARWIN_BIG_ENDIAN 4321 + * } + */ + public static int __DARWIN_BIG_ENDIAN() { + return __DARWIN_BIG_ENDIAN; + } + private static final int __DARWIN_PDP_ENDIAN = (int)3412L; + /** + * {@snippet lang=c : + * #define __DARWIN_PDP_ENDIAN 3412 + * } + */ + public static int __DARWIN_PDP_ENDIAN() { + return __DARWIN_PDP_ENDIAN; + } + private static final int EXIT_FAILURE = (int)1L; + /** + * {@snippet lang=c : + * #define EXIT_FAILURE 1 + * } + */ + public static int EXIT_FAILURE() { + return EXIT_FAILURE; + } + private static final int EXIT_SUCCESS = (int)0L; + /** + * {@snippet lang=c : + * #define EXIT_SUCCESS 0 + * } + */ + public static int EXIT_SUCCESS() { + return EXIT_SUCCESS; + } + private static final int RAND_MAX = (int)2147483647L; + /** + * {@snippet lang=c : + * #define RAND_MAX 2147483647 + * } + */ + public static int RAND_MAX() { + return RAND_MAX; + } + private static final int USE_CLANG_STDARG = (int)0L; + /** + * {@snippet lang=c : + * #define USE_CLANG_STDARG 0 + * } + */ + public static int USE_CLANG_STDARG() { + return USE_CLANG_STDARG; + } + private static final int RENAME_SECLUDE = (int)1L; + /** + * {@snippet lang=c : + * #define RENAME_SECLUDE 1 + * } + */ + public static int RENAME_SECLUDE() { + return RENAME_SECLUDE; + } + private static final int RENAME_SWAP = (int)2L; + /** + * {@snippet lang=c : + * #define RENAME_SWAP 2 + * } + */ + public static int RENAME_SWAP() { + return RENAME_SWAP; + } + private static final int RENAME_EXCL = (int)4L; + /** + * {@snippet lang=c : + * #define RENAME_EXCL 4 + * } + */ + public static int RENAME_EXCL() { + return RENAME_EXCL; + } + private static final int RENAME_RESERVED1 = (int)8L; + /** + * {@snippet lang=c : + * #define RENAME_RESERVED1 8 + * } + */ + public static int RENAME_RESERVED1() { + return RENAME_RESERVED1; + } + private static final int RENAME_NOFOLLOW_ANY = (int)16L; + /** + * {@snippet lang=c : + * #define RENAME_NOFOLLOW_ANY 16 + * } + */ + public static int RENAME_NOFOLLOW_ANY() { + return RENAME_NOFOLLOW_ANY; + } + private static final int SEEK_SET = (int)0L; + /** + * {@snippet lang=c : + * #define SEEK_SET 0 + * } + */ + public static int SEEK_SET() { + return SEEK_SET; + } + private static final int SEEK_CUR = (int)1L; + /** + * {@snippet lang=c : + * #define SEEK_CUR 1 + * } + */ + public static int SEEK_CUR() { + return SEEK_CUR; + } + private static final int SEEK_END = (int)2L; + /** + * {@snippet lang=c : + * #define SEEK_END 2 + * } + */ + public static int SEEK_END() { + return SEEK_END; + } + private static final int SEEK_HOLE = (int)3L; + /** + * {@snippet lang=c : + * #define SEEK_HOLE 3 + * } + */ + public static int SEEK_HOLE() { + return SEEK_HOLE; + } + private static final int SEEK_DATA = (int)4L; + /** + * {@snippet lang=c : + * #define SEEK_DATA 4 + * } + */ + public static int SEEK_DATA() { + return SEEK_DATA; + } + private static final int __SLBF = (int)1L; + /** + * {@snippet lang=c : + * #define __SLBF 1 + * } + */ + public static int __SLBF() { + return __SLBF; + } + private static final int __SNBF = (int)2L; + /** + * {@snippet lang=c : + * #define __SNBF 2 + * } + */ + public static int __SNBF() { + return __SNBF; + } + private static final int __SRD = (int)4L; + /** + * {@snippet lang=c : + * #define __SRD 4 + * } + */ + public static int __SRD() { + return __SRD; + } + private static final int __SWR = (int)8L; + /** + * {@snippet lang=c : + * #define __SWR 8 + * } + */ + public static int __SWR() { + return __SWR; + } + private static final int __SRW = (int)16L; + /** + * {@snippet lang=c : + * #define __SRW 16 + * } + */ + public static int __SRW() { + return __SRW; + } + private static final int __SEOF = (int)32L; + /** + * {@snippet lang=c : + * #define __SEOF 32 + * } + */ + public static int __SEOF() { + return __SEOF; + } + private static final int __SERR = (int)64L; + /** + * {@snippet lang=c : + * #define __SERR 64 + * } + */ + public static int __SERR() { + return __SERR; + } + private static final int __SMBF = (int)128L; + /** + * {@snippet lang=c : + * #define __SMBF 128 + * } + */ + public static int __SMBF() { + return __SMBF; + } + private static final int __SAPP = (int)256L; + /** + * {@snippet lang=c : + * #define __SAPP 256 + * } + */ + public static int __SAPP() { + return __SAPP; + } + private static final int __SSTR = (int)512L; + /** + * {@snippet lang=c : + * #define __SSTR 512 + * } + */ + public static int __SSTR() { + return __SSTR; + } + private static final int __SOPT = (int)1024L; + /** + * {@snippet lang=c : + * #define __SOPT 1024 + * } + */ + public static int __SOPT() { + return __SOPT; + } + private static final int __SNPT = (int)2048L; + /** + * {@snippet lang=c : + * #define __SNPT 2048 + * } + */ + public static int __SNPT() { + return __SNPT; + } + private static final int __SOFF = (int)4096L; + /** + * {@snippet lang=c : + * #define __SOFF 4096 + * } + */ + public static int __SOFF() { + return __SOFF; + } + private static final int __SMOD = (int)8192L; + /** + * {@snippet lang=c : + * #define __SMOD 8192 + * } + */ + public static int __SMOD() { + return __SMOD; + } + private static final int __SALC = (int)16384L; + /** + * {@snippet lang=c : + * #define __SALC 16384 + * } + */ + public static int __SALC() { + return __SALC; + } + private static final int __SIGN = (int)32768L; + /** + * {@snippet lang=c : + * #define __SIGN 32768 + * } + */ + public static int __SIGN() { + return __SIGN; + } + private static final int _IOFBF = (int)0L; + /** + * {@snippet lang=c : + * #define _IOFBF 0 + * } + */ + public static int _IOFBF() { + return _IOFBF; + } + private static final int _IOLBF = (int)1L; + /** + * {@snippet lang=c : + * #define _IOLBF 1 + * } + */ + public static int _IOLBF() { + return _IOLBF; + } + private static final int _IONBF = (int)2L; + /** + * {@snippet lang=c : + * #define _IONBF 2 + * } + */ + public static int _IONBF() { + return _IONBF; + } + private static final int BUFSIZ = (int)1024L; + /** + * {@snippet lang=c : + * #define BUFSIZ 1024 + * } + */ + public static int BUFSIZ() { + return BUFSIZ; + } + private static final int FOPEN_MAX = (int)20L; + /** + * {@snippet lang=c : + * #define FOPEN_MAX 20 + * } + */ + public static int FOPEN_MAX() { + return FOPEN_MAX; + } + private static final int FILENAME_MAX = (int)1024L; + /** + * {@snippet lang=c : + * #define FILENAME_MAX 1024 + * } + */ + public static int FILENAME_MAX() { + return FILENAME_MAX; + } + private static final int L_tmpnam = (int)1024L; + /** + * {@snippet lang=c : + * #define L_tmpnam 1024 + * } + */ + public static int L_tmpnam() { + return L_tmpnam; + } + private static final int TMP_MAX = (int)308915776L; + /** + * {@snippet lang=c : + * #define TMP_MAX 308915776 + * } + */ + public static int TMP_MAX() { + return TMP_MAX; + } + private static final int L_ctermid = (int)1024L; + /** + * {@snippet lang=c : + * #define L_ctermid 1024 + * } + */ + public static int L_ctermid() { + return L_ctermid; + } + private static final int _USE_FORTIFY_LEVEL = (int)2L; + /** + * {@snippet lang=c : + * #define _USE_FORTIFY_LEVEL 2 + * } + */ + public static int _USE_FORTIFY_LEVEL() { + return _USE_FORTIFY_LEVEL; + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_string mlx_string_new() + * } + */ + public static class mlx_string_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_string_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_string_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_string_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_string mlx_string_new() + * } + */ + public static mlx_string_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_string_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_string_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_string_new_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_string_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_string_new_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_string mlx_string_new_data(const char *str) + * } + */ + public static FunctionDescriptor mlx_string_new_data$descriptor() { + return mlx_string_new_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_string mlx_string_new_data(const char *str) + * } + */ + public static MethodHandle mlx_string_new_data$handle() { + return mlx_string_new_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_string mlx_string_new_data(const char *str) + * } + */ + public static MemorySegment mlx_string_new_data$address() { + return mlx_string_new_data.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_string mlx_string_new_data(const char *str) + * } + */ + public static MemorySegment mlx_string_new_data(SegmentAllocator allocator, MemorySegment str) { + var mh$ = mlx_string_new_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_string_new_data", allocator, str); + } + return (MemorySegment)mh$.invokeExact(allocator, str); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_string_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_string_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_string_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_string_set(mlx_string *str, const mlx_string src) + * } + */ + public static FunctionDescriptor mlx_string_set$descriptor() { + return mlx_string_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_string_set(mlx_string *str, const mlx_string src) + * } + */ + public static MethodHandle mlx_string_set$handle() { + return mlx_string_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_string_set(mlx_string *str, const mlx_string src) + * } + */ + public static MemorySegment mlx_string_set$address() { + return mlx_string_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_string_set(mlx_string *str, const mlx_string src) + * } + */ + public static int mlx_string_set(MemorySegment str, MemorySegment src) { + var mh$ = mlx_string_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_string_set", str, src); + } + return (int)mh$.invokeExact(str, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_string_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_string_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_string_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const char *mlx_string_data(mlx_string str) + * } + */ + public static FunctionDescriptor mlx_string_data$descriptor() { + return mlx_string_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const char *mlx_string_data(mlx_string str) + * } + */ + public static MethodHandle mlx_string_data$handle() { + return mlx_string_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const char *mlx_string_data(mlx_string str) + * } + */ + public static MemorySegment mlx_string_data$address() { + return mlx_string_data.ADDR; + } + + /** + * {@snippet lang=c : + * const char *mlx_string_data(mlx_string str) + * } + */ + public static MemorySegment mlx_string_data(MemorySegment str) { + var mh$ = mlx_string_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_string_data", str); + } + return (MemorySegment)mh$.invokeExact(str); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_string_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_string_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_string_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_string_free(mlx_string str) + * } + */ + public static FunctionDescriptor mlx_string_free$descriptor() { + return mlx_string_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_string_free(mlx_string str) + * } + */ + public static MethodHandle mlx_string_free$handle() { + return mlx_string_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_string_free(mlx_string str) + * } + */ + public static MemorySegment mlx_string_free$address() { + return mlx_string_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_string_free(mlx_string str) + * } + */ + public static int mlx_string_free(MemorySegment str) { + var mh$ = mlx_string_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_string_free", str); + } + return (int)mh$.invokeExact(str); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + /** + * {@snippet lang=c : + * typedef signed char int8_t + * } + */ + public static final OfByte int8_t = mlx_h.C_CHAR; + /** + * {@snippet lang=c : + * typedef short int16_t + * } + */ + public static final OfShort int16_t = mlx_h.C_SHORT; + /** + * {@snippet lang=c : + * typedef int int32_t + * } + */ + public static final OfInt int32_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef long long int64_t + * } + */ + public static final OfLong int64_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef unsigned char uint8_t + * } + */ + public static final OfByte uint8_t = mlx_h.C_CHAR; + /** + * {@snippet lang=c : + * typedef unsigned short uint16_t + * } + */ + public static final OfShort uint16_t = mlx_h.C_SHORT; + /** + * {@snippet lang=c : + * typedef unsigned int uint32_t + * } + */ + public static final OfInt uint32_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef unsigned long long uint64_t + * } + */ + public static final OfLong uint64_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef int8_t int_least8_t + * } + */ + public static final OfByte int_least8_t = mlx_h.C_CHAR; + /** + * {@snippet lang=c : + * typedef int16_t int_least16_t + * } + */ + public static final OfShort int_least16_t = mlx_h.C_SHORT; + /** + * {@snippet lang=c : + * typedef int32_t int_least32_t + * } + */ + public static final OfInt int_least32_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef int64_t int_least64_t + * } + */ + public static final OfLong int_least64_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef uint8_t uint_least8_t + * } + */ + public static final OfByte uint_least8_t = mlx_h.C_CHAR; + /** + * {@snippet lang=c : + * typedef uint16_t uint_least16_t + * } + */ + public static final OfShort uint_least16_t = mlx_h.C_SHORT; + /** + * {@snippet lang=c : + * typedef uint32_t uint_least32_t + * } + */ + public static final OfInt uint_least32_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef uint64_t uint_least64_t + * } + */ + public static final OfLong uint_least64_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef int8_t int_fast8_t + * } + */ + public static final OfByte int_fast8_t = mlx_h.C_CHAR; + /** + * {@snippet lang=c : + * typedef int16_t int_fast16_t + * } + */ + public static final OfShort int_fast16_t = mlx_h.C_SHORT; + /** + * {@snippet lang=c : + * typedef int32_t int_fast32_t + * } + */ + public static final OfInt int_fast32_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef int64_t int_fast64_t + * } + */ + public static final OfLong int_fast64_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef uint8_t uint_fast8_t + * } + */ + public static final OfByte uint_fast8_t = mlx_h.C_CHAR; + /** + * {@snippet lang=c : + * typedef uint16_t uint_fast16_t + * } + */ + public static final OfShort uint_fast16_t = mlx_h.C_SHORT; + /** + * {@snippet lang=c : + * typedef uint32_t uint_fast32_t + * } + */ + public static final OfInt uint_fast32_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef uint64_t uint_fast64_t + * } + */ + public static final OfLong uint_fast64_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef signed char __int8_t + * } + */ + public static final OfByte __int8_t = mlx_h.C_CHAR; + /** + * {@snippet lang=c : + * typedef unsigned char __uint8_t + * } + */ + public static final OfByte __uint8_t = mlx_h.C_CHAR; + /** + * {@snippet lang=c : + * typedef short __int16_t + * } + */ + public static final OfShort __int16_t = mlx_h.C_SHORT; + /** + * {@snippet lang=c : + * typedef unsigned short __uint16_t + * } + */ + public static final OfShort __uint16_t = mlx_h.C_SHORT; + /** + * {@snippet lang=c : + * typedef int __int32_t + * } + */ + public static final OfInt __int32_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef unsigned int __uint32_t + * } + */ + public static final OfInt __uint32_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef long long __int64_t + * } + */ + public static final OfLong __int64_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef unsigned long long __uint64_t + * } + */ + public static final OfLong __uint64_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef long __darwin_intptr_t + * } + */ + public static final OfLong __darwin_intptr_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef unsigned int __darwin_natural_t + * } + */ + public static final OfInt __darwin_natural_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef int __darwin_ct_rune_t + * } + */ + public static final OfInt __darwin_ct_rune_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef long __darwin_ptrdiff_t + * } + */ + public static final OfLong __darwin_ptrdiff_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef unsigned long __darwin_size_t + * } + */ + public static final OfLong __darwin_size_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef __builtin_va_list __darwin_va_list + * } + */ + public static final AddressLayout __darwin_va_list = mlx_h.C_POINTER; + /** + * {@snippet lang=c : + * typedef int __darwin_wchar_t + * } + */ + public static final OfInt __darwin_wchar_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __darwin_wchar_t __darwin_rune_t + * } + */ + public static final OfInt __darwin_rune_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef int __darwin_wint_t + * } + */ + public static final OfInt __darwin_wint_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef unsigned long __darwin_clock_t + * } + */ + public static final OfLong __darwin_clock_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef __uint32_t __darwin_socklen_t + * } + */ + public static final OfInt __darwin_socklen_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef long __darwin_ssize_t + * } + */ + public static final OfLong __darwin_ssize_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef long __darwin_time_t + * } + */ + public static final OfLong __darwin_time_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef __int64_t __darwin_blkcnt_t + * } + */ + public static final OfLong __darwin_blkcnt_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef __int32_t __darwin_blksize_t + * } + */ + public static final OfInt __darwin_blksize_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __int32_t __darwin_dev_t + * } + */ + public static final OfInt __darwin_dev_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef unsigned int __darwin_fsblkcnt_t + * } + */ + public static final OfInt __darwin_fsblkcnt_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef unsigned int __darwin_fsfilcnt_t + * } + */ + public static final OfInt __darwin_fsfilcnt_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __uint32_t __darwin_gid_t + * } + */ + public static final OfInt __darwin_gid_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __uint32_t __darwin_id_t + * } + */ + public static final OfInt __darwin_id_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __uint64_t __darwin_ino64_t + * } + */ + public static final OfLong __darwin_ino64_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef __darwin_ino64_t __darwin_ino_t + * } + */ + public static final OfLong __darwin_ino_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef __darwin_natural_t __darwin_mach_port_name_t + * } + */ + public static final OfInt __darwin_mach_port_name_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __darwin_mach_port_name_t __darwin_mach_port_t + * } + */ + public static final OfInt __darwin_mach_port_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __uint16_t __darwin_mode_t + * } + */ + public static final OfShort __darwin_mode_t = mlx_h.C_SHORT; + /** + * {@snippet lang=c : + * typedef __int64_t __darwin_off_t + * } + */ + public static final OfLong __darwin_off_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef __int32_t __darwin_pid_t + * } + */ + public static final OfInt __darwin_pid_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __uint32_t __darwin_sigset_t + * } + */ + public static final OfInt __darwin_sigset_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __int32_t __darwin_suseconds_t + * } + */ + public static final OfInt __darwin_suseconds_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __uint32_t __darwin_uid_t + * } + */ + public static final OfInt __darwin_uid_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __uint32_t __darwin_useconds_t + * } + */ + public static final OfInt __darwin_useconds_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef unsigned long __darwin_pthread_key_t + * } + */ + public static final OfLong __darwin_pthread_key_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef struct _opaque_pthread_t { + * long __sig; + * struct __darwin_pthread_handler_rec *__cleanup_stack; + * char __opaque[8176]; + * } *__darwin_pthread_t + * } + */ + public static final AddressLayout __darwin_pthread_t = mlx_h.C_POINTER; + /** + * {@snippet lang=c : + * typedef __darwin_intptr_t intptr_t + * } + */ + public static final OfLong intptr_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef unsigned long uintptr_t + * } + */ + public static final OfLong uintptr_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef long intmax_t + * } + */ + public static final OfLong intmax_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef unsigned long uintmax_t + * } + */ + public static final OfLong uintmax_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef int __darwin_nl_item + * } + */ + public static final OfInt __darwin_nl_item = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef int __darwin_wctrans_t + * } + */ + public static final OfInt __darwin_wctrans_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __uint32_t __darwin_wctype_t + * } + */ + public static final OfInt __darwin_wctype_t = mlx_h.C_INT; + private static final int P_ALL = (int)0L; + /** + * {@snippet lang=c : + * enum idtype_t.P_ALL = 0 + * } + */ + public static int P_ALL() { + return P_ALL; + } + private static final int P_PID = (int)1L; + /** + * {@snippet lang=c : + * enum idtype_t.P_PID = 1 + * } + */ + public static int P_PID() { + return P_PID; + } + private static final int P_PGID = (int)2L; + /** + * {@snippet lang=c : + * enum idtype_t.P_PGID = 2 + * } + */ + public static int P_PGID() { + return P_PGID; + } + /** + * {@snippet lang=c : + * typedef __darwin_pid_t pid_t + * } + */ + public static final OfInt pid_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __darwin_id_t id_t + * } + */ + public static final OfInt id_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef int sig_atomic_t + * } + */ + public static final OfInt sig_atomic_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef unsigned char u_int8_t + * } + */ + public static final OfByte u_int8_t = mlx_h.C_CHAR; + /** + * {@snippet lang=c : + * typedef unsigned short u_int16_t + * } + */ + public static final OfShort u_int16_t = mlx_h.C_SHORT; + /** + * {@snippet lang=c : + * typedef unsigned int u_int32_t + * } + */ + public static final OfInt u_int32_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef unsigned long long u_int64_t + * } + */ + public static final OfLong u_int64_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef int64_t register_t + * } + */ + public static final OfLong register_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef u_int64_t user_addr_t + * } + */ + public static final OfLong user_addr_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef u_int64_t user_size_t + * } + */ + public static final OfLong user_size_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef int64_t user_ssize_t + * } + */ + public static final OfLong user_ssize_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef int64_t user_long_t + * } + */ + public static final OfLong user_long_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef u_int64_t user_ulong_t + * } + */ + public static final OfLong user_ulong_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef int64_t user_time_t + * } + */ + public static final OfLong user_time_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef int64_t user_off_t + * } + */ + public static final OfLong user_off_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef u_int64_t syscall_arg_t + * } + */ + public static final OfLong syscall_arg_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef struct __darwin_mcontext64 { + * struct __darwin_arm_exception_state64 __es; + * struct __darwin_arm_thread_state64 __ss; + * struct __darwin_arm_neon_state64 __ns; + * } *mcontext_t + * } + */ + public static final AddressLayout mcontext_t = mlx_h.C_POINTER; + /** + * {@snippet lang=c : + * typedef __darwin_sigset_t sigset_t + * } + */ + public static final OfInt sigset_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __darwin_size_t size_t + * } + */ + public static final OfLong size_t = mlx_h.C_LONG; + /** + * {@snippet lang=c : + * typedef __darwin_uid_t uid_t + * } + */ + public static final OfInt uid_t = mlx_h.C_INT; + + private static class signal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("signal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void (*signal(int, void (*)(int)))(int) + * } + */ + public static FunctionDescriptor signal$descriptor() { + return signal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void (*signal(int, void (*)(int)))(int) + * } + */ + public static MethodHandle signal$handle() { + return signal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void (*signal(int, void (*)(int)))(int) + * } + */ + public static MemorySegment signal$address() { + return signal.ADDR; + } + + /** + * {@snippet lang=c : + * void (*signal(int, void (*)(int)))(int) + * } + */ + public static MemorySegment signal(int x0, MemorySegment x1) { + var mh$ = signal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("signal", x0, x1); + } + return (MemorySegment)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + /** + * {@snippet lang=c : + * typedef __uint64_t rlim_t + * } + */ + public static final OfLong rlim_t = mlx_h.C_LONG_LONG; + /** + * {@snippet lang=c : + * typedef void *rusage_info_t + * } + */ + public static final AddressLayout rusage_info_t = mlx_h.C_POINTER; + + private static class getpriority { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getpriority"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int getpriority(int, id_t) + * } + */ + public static FunctionDescriptor getpriority$descriptor() { + return getpriority.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int getpriority(int, id_t) + * } + */ + public static MethodHandle getpriority$handle() { + return getpriority.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int getpriority(int, id_t) + * } + */ + public static MemorySegment getpriority$address() { + return getpriority.ADDR; + } + + /** + * {@snippet lang=c : + * int getpriority(int, id_t) + * } + */ + public static int getpriority(int x0, int x1) { + var mh$ = getpriority.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getpriority", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getiopolicy_np { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getiopolicy_np"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int getiopolicy_np(int, int) + * } + */ + public static FunctionDescriptor getiopolicy_np$descriptor() { + return getiopolicy_np.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int getiopolicy_np(int, int) + * } + */ + public static MethodHandle getiopolicy_np$handle() { + return getiopolicy_np.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int getiopolicy_np(int, int) + * } + */ + public static MemorySegment getiopolicy_np$address() { + return getiopolicy_np.ADDR; + } + + /** + * {@snippet lang=c : + * int getiopolicy_np(int, int) + * } + */ + public static int getiopolicy_np(int x0, int x1) { + var mh$ = getiopolicy_np.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getiopolicy_np", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getrlimit { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getrlimit"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int getrlimit(int, struct rlimit *) asm("_getrlimit") + * } + */ + public static FunctionDescriptor getrlimit$descriptor() { + return getrlimit.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int getrlimit(int, struct rlimit *) asm("_getrlimit") + * } + */ + public static MethodHandle getrlimit$handle() { + return getrlimit.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int getrlimit(int, struct rlimit *) asm("_getrlimit") + * } + */ + public static MemorySegment getrlimit$address() { + return getrlimit.ADDR; + } + + /** + * {@snippet lang=c : + * int getrlimit(int, struct rlimit *) asm("_getrlimit") + * } + */ + public static int getrlimit(int x0, MemorySegment x1) { + var mh$ = getrlimit.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getrlimit", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getrusage { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getrusage"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int getrusage(int, struct rusage *) + * } + */ + public static FunctionDescriptor getrusage$descriptor() { + return getrusage.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int getrusage(int, struct rusage *) + * } + */ + public static MethodHandle getrusage$handle() { + return getrusage.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int getrusage(int, struct rusage *) + * } + */ + public static MemorySegment getrusage$address() { + return getrusage.ADDR; + } + + /** + * {@snippet lang=c : + * int getrusage(int, struct rusage *) + * } + */ + public static int getrusage(int x0, MemorySegment x1) { + var mh$ = getrusage.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getrusage", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class setpriority { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("setpriority"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int setpriority(int, id_t, int) + * } + */ + public static FunctionDescriptor setpriority$descriptor() { + return setpriority.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int setpriority(int, id_t, int) + * } + */ + public static MethodHandle setpriority$handle() { + return setpriority.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int setpriority(int, id_t, int) + * } + */ + public static MemorySegment setpriority$address() { + return setpriority.ADDR; + } + + /** + * {@snippet lang=c : + * int setpriority(int, id_t, int) + * } + */ + public static int setpriority(int x0, int x1, int x2) { + var mh$ = setpriority.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("setpriority", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class setiopolicy_np { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("setiopolicy_np"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int setiopolicy_np(int, int, int) + * } + */ + public static FunctionDescriptor setiopolicy_np$descriptor() { + return setiopolicy_np.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int setiopolicy_np(int, int, int) + * } + */ + public static MethodHandle setiopolicy_np$handle() { + return setiopolicy_np.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int setiopolicy_np(int, int, int) + * } + */ + public static MemorySegment setiopolicy_np$address() { + return setiopolicy_np.ADDR; + } + + /** + * {@snippet lang=c : + * int setiopolicy_np(int, int, int) + * } + */ + public static int setiopolicy_np(int x0, int x1, int x2) { + var mh$ = setiopolicy_np.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("setiopolicy_np", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class setrlimit { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("setrlimit"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int setrlimit(int, const struct rlimit *) asm("_setrlimit") + * } + */ + public static FunctionDescriptor setrlimit$descriptor() { + return setrlimit.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int setrlimit(int, const struct rlimit *) asm("_setrlimit") + * } + */ + public static MethodHandle setrlimit$handle() { + return setrlimit.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int setrlimit(int, const struct rlimit *) asm("_setrlimit") + * } + */ + public static MemorySegment setrlimit$address() { + return setrlimit.ADDR; + } + + /** + * {@snippet lang=c : + * int setrlimit(int, const struct rlimit *) asm("_setrlimit") + * } + */ + public static int setrlimit(int x0, MemorySegment x1) { + var mh$ = setrlimit.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("setrlimit", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class wait { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("wait"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * pid_t wait(int *) asm("_wait") + * } + */ + public static FunctionDescriptor wait$descriptor() { + return wait.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * pid_t wait(int *) asm("_wait") + * } + */ + public static MethodHandle wait$handle() { + return wait.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * pid_t wait(int *) asm("_wait") + * } + */ + public static MemorySegment wait$address() { + return wait.ADDR; + } + + /** + * {@snippet lang=c : + * pid_t wait(int *) asm("_wait") + * } + */ + public static int wait(MemorySegment x0) { + var mh$ = wait.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("wait", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class waitpid { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("waitpid"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * pid_t waitpid(pid_t, int *, int) asm("_waitpid") + * } + */ + public static FunctionDescriptor waitpid$descriptor() { + return waitpid.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * pid_t waitpid(pid_t, int *, int) asm("_waitpid") + * } + */ + public static MethodHandle waitpid$handle() { + return waitpid.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * pid_t waitpid(pid_t, int *, int) asm("_waitpid") + * } + */ + public static MemorySegment waitpid$address() { + return waitpid.ADDR; + } + + /** + * {@snippet lang=c : + * pid_t waitpid(pid_t, int *, int) asm("_waitpid") + * } + */ + public static int waitpid(int x0, MemorySegment x1, int x2) { + var mh$ = waitpid.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("waitpid", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class waitid { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("waitid"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int waitid(idtype_t, id_t, siginfo_t *, int) asm("_waitid") + * } + */ + public static FunctionDescriptor waitid$descriptor() { + return waitid.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int waitid(idtype_t, id_t, siginfo_t *, int) asm("_waitid") + * } + */ + public static MethodHandle waitid$handle() { + return waitid.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int waitid(idtype_t, id_t, siginfo_t *, int) asm("_waitid") + * } + */ + public static MemorySegment waitid$address() { + return waitid.ADDR; + } + + /** + * {@snippet lang=c : + * int waitid(idtype_t, id_t, siginfo_t *, int) asm("_waitid") + * } + */ + public static int waitid(int x0, int x1, MemorySegment x2, int x3) { + var mh$ = waitid.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("waitid", x0, x1, x2, x3); + } + return (int)mh$.invokeExact(x0, x1, x2, x3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class wait3 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("wait3"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * pid_t wait3(int *, int, struct rusage *) + * } + */ + public static FunctionDescriptor wait3$descriptor() { + return wait3.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * pid_t wait3(int *, int, struct rusage *) + * } + */ + public static MethodHandle wait3$handle() { + return wait3.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * pid_t wait3(int *, int, struct rusage *) + * } + */ + public static MemorySegment wait3$address() { + return wait3.ADDR; + } + + /** + * {@snippet lang=c : + * pid_t wait3(int *, int, struct rusage *) + * } + */ + public static int wait3(MemorySegment x0, int x1, MemorySegment x2) { + var mh$ = wait3.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("wait3", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class wait4 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("wait4"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * pid_t wait4(pid_t, int *, int, struct rusage *) + * } + */ + public static FunctionDescriptor wait4$descriptor() { + return wait4.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * pid_t wait4(pid_t, int *, int, struct rusage *) + * } + */ + public static MethodHandle wait4$handle() { + return wait4.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * pid_t wait4(pid_t, int *, int, struct rusage *) + * } + */ + public static MemorySegment wait4$address() { + return wait4.ADDR; + } + + /** + * {@snippet lang=c : + * pid_t wait4(pid_t, int *, int, struct rusage *) + * } + */ + public static int wait4(int x0, MemorySegment x1, int x2, MemorySegment x3) { + var mh$ = wait4.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("wait4", x0, x1, x2, x3); + } + return (int)mh$.invokeExact(x0, x1, x2, x3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class alloca { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("alloca"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *alloca(size_t __size) + * } + */ + public static FunctionDescriptor alloca$descriptor() { + return alloca.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *alloca(size_t __size) + * } + */ + public static MethodHandle alloca$handle() { + return alloca.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *alloca(size_t __size) + * } + */ + public static MemorySegment alloca$address() { + return alloca.ADDR; + } + + /** + * {@snippet lang=c : + * void *alloca(size_t __size) + * } + */ + public static MemorySegment alloca(long __size) { + var mh$ = alloca.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("alloca", __size); + } + return (MemorySegment)mh$.invokeExact(__size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + /** + * {@snippet lang=c : + * typedef __darwin_ct_rune_t ct_rune_t + * } + */ + public static final OfInt ct_rune_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __darwin_rune_t rune_t + * } + */ + public static final OfInt rune_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __darwin_wchar_t wchar_t + * } + */ + public static final OfInt wchar_t = mlx_h.C_INT; + + private static class __mb_cur_max$constants { + public static final OfInt LAYOUT = mlx_h.C_INT; + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("__mb_cur_max").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern int __mb_cur_max + * } + */ + public static OfInt __mb_cur_max$layout() { + return __mb_cur_max$constants.LAYOUT; + } + + /** + * Segment for variable: + * {@snippet lang=c : + * extern int __mb_cur_max + * } + */ + public static MemorySegment __mb_cur_max$segment() { + return __mb_cur_max$constants.SEGMENT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern int __mb_cur_max + * } + */ + public static int __mb_cur_max() { + return __mb_cur_max$constants.SEGMENT.get(__mb_cur_max$constants.LAYOUT, 0L); + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern int __mb_cur_max + * } + */ + public static void __mb_cur_max(int varValue) { + __mb_cur_max$constants.SEGMENT.set(__mb_cur_max$constants.LAYOUT, 0L, varValue); + } + /** + * {@snippet lang=c : + * typedef unsigned long long malloc_type_id_t + * } + */ + public static final OfLong malloc_type_id_t = mlx_h.C_LONG_LONG; + + private static class malloc_type_malloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_malloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *malloc_type_malloc(size_t size, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_malloc$descriptor() { + return malloc_type_malloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *malloc_type_malloc(size_t size, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_malloc$handle() { + return malloc_type_malloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *malloc_type_malloc(size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_malloc$address() { + return malloc_type_malloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *malloc_type_malloc(size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_malloc(long size, long type_id) { + var mh$ = malloc_type_malloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_malloc", size, type_id); + } + return (MemorySegment)mh$.invokeExact(size, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_calloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_calloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *malloc_type_calloc(size_t count, size_t size, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_calloc$descriptor() { + return malloc_type_calloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *malloc_type_calloc(size_t count, size_t size, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_calloc$handle() { + return malloc_type_calloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *malloc_type_calloc(size_t count, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_calloc$address() { + return malloc_type_calloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *malloc_type_calloc(size_t count, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_calloc(long count, long size, long type_id) { + var mh$ = malloc_type_calloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_calloc", count, size, type_id); + } + return (MemorySegment)mh$.invokeExact(count, size, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void malloc_type_free(void *ptr, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_free$descriptor() { + return malloc_type_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void malloc_type_free(void *ptr, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_free$handle() { + return malloc_type_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void malloc_type_free(void *ptr, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_free$address() { + return malloc_type_free.ADDR; + } + + /** + * {@snippet lang=c : + * void malloc_type_free(void *ptr, malloc_type_id_t type_id) + * } + */ + public static void malloc_type_free(MemorySegment ptr, long type_id) { + var mh$ = malloc_type_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_free", ptr, type_id); + } + mh$.invokeExact(ptr, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_realloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_realloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *malloc_type_realloc(void *ptr, size_t size, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_realloc$descriptor() { + return malloc_type_realloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *malloc_type_realloc(void *ptr, size_t size, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_realloc$handle() { + return malloc_type_realloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *malloc_type_realloc(void *ptr, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_realloc$address() { + return malloc_type_realloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *malloc_type_realloc(void *ptr, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_realloc(MemorySegment ptr, long size, long type_id) { + var mh$ = malloc_type_realloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_realloc", ptr, size, type_id); + } + return (MemorySegment)mh$.invokeExact(ptr, size, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_valloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_valloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *malloc_type_valloc(size_t size, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_valloc$descriptor() { + return malloc_type_valloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *malloc_type_valloc(size_t size, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_valloc$handle() { + return malloc_type_valloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *malloc_type_valloc(size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_valloc$address() { + return malloc_type_valloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *malloc_type_valloc(size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_valloc(long size, long type_id) { + var mh$ = malloc_type_valloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_valloc", size, type_id); + } + return (MemorySegment)mh$.invokeExact(size, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_aligned_alloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_aligned_alloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *malloc_type_aligned_alloc(size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_aligned_alloc$descriptor() { + return malloc_type_aligned_alloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *malloc_type_aligned_alloc(size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_aligned_alloc$handle() { + return malloc_type_aligned_alloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *malloc_type_aligned_alloc(size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_aligned_alloc$address() { + return malloc_type_aligned_alloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *malloc_type_aligned_alloc(size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_aligned_alloc(long alignment, long size, long type_id) { + var mh$ = malloc_type_aligned_alloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_aligned_alloc", alignment, size, type_id); + } + return (MemorySegment)mh$.invokeExact(alignment, size, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_posix_memalign { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_posix_memalign"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int malloc_type_posix_memalign(void **memptr, size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_posix_memalign$descriptor() { + return malloc_type_posix_memalign.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int malloc_type_posix_memalign(void **memptr, size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_posix_memalign$handle() { + return malloc_type_posix_memalign.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int malloc_type_posix_memalign(void **memptr, size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_posix_memalign$address() { + return malloc_type_posix_memalign.ADDR; + } + + /** + * {@snippet lang=c : + * int malloc_type_posix_memalign(void **memptr, size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static int malloc_type_posix_memalign(MemorySegment memptr, long alignment, long size, long type_id) { + var mh$ = malloc_type_posix_memalign.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_posix_memalign", memptr, alignment, size, type_id); + } + return (int)mh$.invokeExact(memptr, alignment, size, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_zone_malloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_zone_malloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *malloc_type_zone_malloc(malloc_zone_t *zone, size_t size, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_zone_malloc$descriptor() { + return malloc_type_zone_malloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *malloc_type_zone_malloc(malloc_zone_t *zone, size_t size, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_zone_malloc$handle() { + return malloc_type_zone_malloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *malloc_type_zone_malloc(malloc_zone_t *zone, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_zone_malloc$address() { + return malloc_type_zone_malloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *malloc_type_zone_malloc(malloc_zone_t *zone, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_zone_malloc(MemorySegment zone, long size, long type_id) { + var mh$ = malloc_type_zone_malloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_zone_malloc", zone, size, type_id); + } + return (MemorySegment)mh$.invokeExact(zone, size, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_zone_calloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_zone_calloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *malloc_type_zone_calloc(malloc_zone_t *zone, size_t count, size_t size, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_zone_calloc$descriptor() { + return malloc_type_zone_calloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *malloc_type_zone_calloc(malloc_zone_t *zone, size_t count, size_t size, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_zone_calloc$handle() { + return malloc_type_zone_calloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *malloc_type_zone_calloc(malloc_zone_t *zone, size_t count, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_zone_calloc$address() { + return malloc_type_zone_calloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *malloc_type_zone_calloc(malloc_zone_t *zone, size_t count, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_zone_calloc(MemorySegment zone, long count, long size, long type_id) { + var mh$ = malloc_type_zone_calloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_zone_calloc", zone, count, size, type_id); + } + return (MemorySegment)mh$.invokeExact(zone, count, size, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_zone_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_zone_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void malloc_type_zone_free(malloc_zone_t *zone, void *ptr, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_zone_free$descriptor() { + return malloc_type_zone_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void malloc_type_zone_free(malloc_zone_t *zone, void *ptr, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_zone_free$handle() { + return malloc_type_zone_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void malloc_type_zone_free(malloc_zone_t *zone, void *ptr, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_zone_free$address() { + return malloc_type_zone_free.ADDR; + } + + /** + * {@snippet lang=c : + * void malloc_type_zone_free(malloc_zone_t *zone, void *ptr, malloc_type_id_t type_id) + * } + */ + public static void malloc_type_zone_free(MemorySegment zone, MemorySegment ptr, long type_id) { + var mh$ = malloc_type_zone_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_zone_free", zone, ptr, type_id); + } + mh$.invokeExact(zone, ptr, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_zone_realloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_zone_realloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *malloc_type_zone_realloc(malloc_zone_t *zone, void *ptr, size_t size, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_zone_realloc$descriptor() { + return malloc_type_zone_realloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *malloc_type_zone_realloc(malloc_zone_t *zone, void *ptr, size_t size, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_zone_realloc$handle() { + return malloc_type_zone_realloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *malloc_type_zone_realloc(malloc_zone_t *zone, void *ptr, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_zone_realloc$address() { + return malloc_type_zone_realloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *malloc_type_zone_realloc(malloc_zone_t *zone, void *ptr, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_zone_realloc(MemorySegment zone, MemorySegment ptr, long size, long type_id) { + var mh$ = malloc_type_zone_realloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_zone_realloc", zone, ptr, size, type_id); + } + return (MemorySegment)mh$.invokeExact(zone, ptr, size, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_zone_valloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_zone_valloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *malloc_type_zone_valloc(malloc_zone_t *zone, size_t size, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_zone_valloc$descriptor() { + return malloc_type_zone_valloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *malloc_type_zone_valloc(malloc_zone_t *zone, size_t size, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_zone_valloc$handle() { + return malloc_type_zone_valloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *malloc_type_zone_valloc(malloc_zone_t *zone, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_zone_valloc$address() { + return malloc_type_zone_valloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *malloc_type_zone_valloc(malloc_zone_t *zone, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_zone_valloc(MemorySegment zone, long size, long type_id) { + var mh$ = malloc_type_zone_valloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_zone_valloc", zone, size, type_id); + } + return (MemorySegment)mh$.invokeExact(zone, size, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc_type_zone_memalign { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc_type_zone_memalign"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *malloc_type_zone_memalign(malloc_zone_t *zone, size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static FunctionDescriptor malloc_type_zone_memalign$descriptor() { + return malloc_type_zone_memalign.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *malloc_type_zone_memalign(malloc_zone_t *zone, size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static MethodHandle malloc_type_zone_memalign$handle() { + return malloc_type_zone_memalign.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *malloc_type_zone_memalign(malloc_zone_t *zone, size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_zone_memalign$address() { + return malloc_type_zone_memalign.ADDR; + } + + /** + * {@snippet lang=c : + * void *malloc_type_zone_memalign(malloc_zone_t *zone, size_t alignment, size_t size, malloc_type_id_t type_id) + * } + */ + public static MemorySegment malloc_type_zone_memalign(MemorySegment zone, long alignment, long size, long type_id) { + var mh$ = malloc_type_zone_memalign.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc_type_zone_memalign", zone, alignment, size, type_id); + } + return (MemorySegment)mh$.invokeExact(zone, alignment, size, type_id); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class malloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("malloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *malloc(size_t __size) + * } + */ + public static FunctionDescriptor malloc$descriptor() { + return malloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *malloc(size_t __size) + * } + */ + public static MethodHandle malloc$handle() { + return malloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *malloc(size_t __size) + * } + */ + public static MemorySegment malloc$address() { + return malloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *malloc(size_t __size) + * } + */ + public static MemorySegment malloc(long __size) { + var mh$ = malloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("malloc", __size); + } + return (MemorySegment)mh$.invokeExact(__size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class calloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("calloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *calloc(size_t __count, size_t __size) + * } + */ + public static FunctionDescriptor calloc$descriptor() { + return calloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *calloc(size_t __count, size_t __size) + * } + */ + public static MethodHandle calloc$handle() { + return calloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *calloc(size_t __count, size_t __size) + * } + */ + public static MemorySegment calloc$address() { + return calloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *calloc(size_t __count, size_t __size) + * } + */ + public static MemorySegment calloc(long __count, long __size) { + var mh$ = calloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("calloc", __count, __size); + } + return (MemorySegment)mh$.invokeExact(__count, __size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class free { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void free(void *) + * } + */ + public static FunctionDescriptor free$descriptor() { + return free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void free(void *) + * } + */ + public static MethodHandle free$handle() { + return free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void free(void *) + * } + */ + public static MemorySegment free$address() { + return free.ADDR; + } + + /** + * {@snippet lang=c : + * void free(void *) + * } + */ + public static void free(MemorySegment x0) { + var mh$ = free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("free", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class realloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("realloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *realloc(void *__ptr, size_t __size) + * } + */ + public static FunctionDescriptor realloc$descriptor() { + return realloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *realloc(void *__ptr, size_t __size) + * } + */ + public static MethodHandle realloc$handle() { + return realloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *realloc(void *__ptr, size_t __size) + * } + */ + public static MemorySegment realloc$address() { + return realloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *realloc(void *__ptr, size_t __size) + * } + */ + public static MemorySegment realloc(MemorySegment __ptr, long __size) { + var mh$ = realloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("realloc", __ptr, __size); + } + return (MemorySegment)mh$.invokeExact(__ptr, __size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class reallocf { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("reallocf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *reallocf(void *__ptr, size_t __size) + * } + */ + public static FunctionDescriptor reallocf$descriptor() { + return reallocf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *reallocf(void *__ptr, size_t __size) + * } + */ + public static MethodHandle reallocf$handle() { + return reallocf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *reallocf(void *__ptr, size_t __size) + * } + */ + public static MemorySegment reallocf$address() { + return reallocf.ADDR; + } + + /** + * {@snippet lang=c : + * void *reallocf(void *__ptr, size_t __size) + * } + */ + public static MemorySegment reallocf(MemorySegment __ptr, long __size) { + var mh$ = reallocf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("reallocf", __ptr, __size); + } + return (MemorySegment)mh$.invokeExact(__ptr, __size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class valloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("valloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *valloc(size_t __size) + * } + */ + public static FunctionDescriptor valloc$descriptor() { + return valloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *valloc(size_t __size) + * } + */ + public static MethodHandle valloc$handle() { + return valloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *valloc(size_t __size) + * } + */ + public static MemorySegment valloc$address() { + return valloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *valloc(size_t __size) + * } + */ + public static MemorySegment valloc(long __size) { + var mh$ = valloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("valloc", __size); + } + return (MemorySegment)mh$.invokeExact(__size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class aligned_alloc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("aligned_alloc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *aligned_alloc(size_t __alignment, size_t __size) + * } + */ + public static FunctionDescriptor aligned_alloc$descriptor() { + return aligned_alloc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *aligned_alloc(size_t __alignment, size_t __size) + * } + */ + public static MethodHandle aligned_alloc$handle() { + return aligned_alloc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *aligned_alloc(size_t __alignment, size_t __size) + * } + */ + public static MemorySegment aligned_alloc$address() { + return aligned_alloc.ADDR; + } + + /** + * {@snippet lang=c : + * void *aligned_alloc(size_t __alignment, size_t __size) + * } + */ + public static MemorySegment aligned_alloc(long __alignment, long __size) { + var mh$ = aligned_alloc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("aligned_alloc", __alignment, __size); + } + return (MemorySegment)mh$.invokeExact(__alignment, __size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class posix_memalign { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("posix_memalign"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int posix_memalign(void **__memptr, size_t __alignment, size_t __size) + * } + */ + public static FunctionDescriptor posix_memalign$descriptor() { + return posix_memalign.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int posix_memalign(void **__memptr, size_t __alignment, size_t __size) + * } + */ + public static MethodHandle posix_memalign$handle() { + return posix_memalign.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int posix_memalign(void **__memptr, size_t __alignment, size_t __size) + * } + */ + public static MemorySegment posix_memalign$address() { + return posix_memalign.ADDR; + } + + /** + * {@snippet lang=c : + * int posix_memalign(void **__memptr, size_t __alignment, size_t __size) + * } + */ + public static int posix_memalign(MemorySegment __memptr, long __alignment, long __size) { + var mh$ = posix_memalign.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("posix_memalign", __memptr, __alignment, __size); + } + return (int)mh$.invokeExact(__memptr, __alignment, __size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class abort { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("abort"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void abort(void) + * } + */ + public static FunctionDescriptor abort$descriptor() { + return abort.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void abort(void) + * } + */ + public static MethodHandle abort$handle() { + return abort.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void abort(void) + * } + */ + public static MemorySegment abort$address() { + return abort.ADDR; + } + + /** + * {@snippet lang=c : + * void abort(void) + * } + */ + public static void abort() { + var mh$ = abort.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("abort"); + } + mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class abs { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("abs"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int abs(int) + * } + */ + public static FunctionDescriptor abs$descriptor() { + return abs.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int abs(int) + * } + */ + public static MethodHandle abs$handle() { + return abs.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int abs(int) + * } + */ + public static MemorySegment abs$address() { + return abs.ADDR; + } + + /** + * {@snippet lang=c : + * int abs(int) + * } + */ + public static int abs(int x0) { + var mh$ = abs.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("abs", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class atexit { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("atexit"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int atexit(void (* _Nonnull)(void)) + * } + */ + public static FunctionDescriptor atexit$descriptor() { + return atexit.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int atexit(void (* _Nonnull)(void)) + * } + */ + public static MethodHandle atexit$handle() { + return atexit.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int atexit(void (* _Nonnull)(void)) + * } + */ + public static MemorySegment atexit$address() { + return atexit.ADDR; + } + + /** + * {@snippet lang=c : + * int atexit(void (* _Nonnull)(void)) + * } + */ + public static int atexit(MemorySegment x0) { + var mh$ = atexit.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("atexit", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class at_quick_exit { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("at_quick_exit"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int at_quick_exit(void (*)(void)) + * } + */ + public static FunctionDescriptor at_quick_exit$descriptor() { + return at_quick_exit.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int at_quick_exit(void (*)(void)) + * } + */ + public static MethodHandle at_quick_exit$handle() { + return at_quick_exit.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int at_quick_exit(void (*)(void)) + * } + */ + public static MemorySegment at_quick_exit$address() { + return at_quick_exit.ADDR; + } + + /** + * {@snippet lang=c : + * int at_quick_exit(void (*)(void)) + * } + */ + public static int at_quick_exit(MemorySegment x0) { + var mh$ = at_quick_exit.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("at_quick_exit", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class atof { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_DOUBLE, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("atof"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * double atof(const char *) + * } + */ + public static FunctionDescriptor atof$descriptor() { + return atof.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * double atof(const char *) + * } + */ + public static MethodHandle atof$handle() { + return atof.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * double atof(const char *) + * } + */ + public static MemorySegment atof$address() { + return atof.ADDR; + } + + /** + * {@snippet lang=c : + * double atof(const char *) + * } + */ + public static double atof(MemorySegment x0) { + var mh$ = atof.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("atof", x0); + } + return (double)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class atoi { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("atoi"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int atoi(const char *) + * } + */ + public static FunctionDescriptor atoi$descriptor() { + return atoi.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int atoi(const char *) + * } + */ + public static MethodHandle atoi$handle() { + return atoi.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int atoi(const char *) + * } + */ + public static MemorySegment atoi$address() { + return atoi.ADDR; + } + + /** + * {@snippet lang=c : + * int atoi(const char *) + * } + */ + public static int atoi(MemorySegment x0) { + var mh$ = atoi.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("atoi", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class atol { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("atol"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long atol(const char *) + * } + */ + public static FunctionDescriptor atol$descriptor() { + return atol.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long atol(const char *) + * } + */ + public static MethodHandle atol$handle() { + return atol.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long atol(const char *) + * } + */ + public static MemorySegment atol$address() { + return atol.ADDR; + } + + /** + * {@snippet lang=c : + * long atol(const char *) + * } + */ + public static long atol(MemorySegment x0) { + var mh$ = atol.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("atol", x0); + } + return (long)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class atoll { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("atoll"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long long atoll(const char *) + * } + */ + public static FunctionDescriptor atoll$descriptor() { + return atoll.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long long atoll(const char *) + * } + */ + public static MethodHandle atoll$handle() { + return atoll.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long long atoll(const char *) + * } + */ + public static MemorySegment atoll$address() { + return atoll.ADDR; + } + + /** + * {@snippet lang=c : + * long long atoll(const char *) + * } + */ + public static long atoll(MemorySegment x0) { + var mh$ = atoll.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("atoll", x0); + } + return (long)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bsearch { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bsearch"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *bsearch(const void *__key, const void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static FunctionDescriptor bsearch$descriptor() { + return bsearch.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *bsearch(const void *__key, const void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static MethodHandle bsearch$handle() { + return bsearch.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *bsearch(const void *__key, const void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static MemorySegment bsearch$address() { + return bsearch.ADDR; + } + + /** + * {@snippet lang=c : + * void *bsearch(const void *__key, const void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static MemorySegment bsearch(MemorySegment __key, MemorySegment __base, long __nel, long __width, MemorySegment __compar) { + var mh$ = bsearch.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bsearch", __key, __base, __nel, __width, __compar); + } + return (MemorySegment)mh$.invokeExact(__key, __base, __nel, __width, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class div { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + div_t.layout(), + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("div"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * div_t div(int, int) + * } + */ + public static FunctionDescriptor div$descriptor() { + return div.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * div_t div(int, int) + * } + */ + public static MethodHandle div$handle() { + return div.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * div_t div(int, int) + * } + */ + public static MemorySegment div$address() { + return div.ADDR; + } + + /** + * {@snippet lang=c : + * div_t div(int, int) + * } + */ + public static MemorySegment div(SegmentAllocator allocator, int x0, int x1) { + var mh$ = div.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("div", allocator, x0, x1); + } + return (MemorySegment)mh$.invokeExact(allocator, x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class exit { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("exit"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void exit(int) + * } + */ + public static FunctionDescriptor exit$descriptor() { + return exit.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void exit(int) + * } + */ + public static MethodHandle exit$handle() { + return exit.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void exit(int) + * } + */ + public static MemorySegment exit$address() { + return exit.ADDR; + } + + /** + * {@snippet lang=c : + * void exit(int) + * } + */ + public static void exit(int x0) { + var mh$ = exit.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("exit", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getenv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getenv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *getenv(const char *) + * } + */ + public static FunctionDescriptor getenv$descriptor() { + return getenv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *getenv(const char *) + * } + */ + public static MethodHandle getenv$handle() { + return getenv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *getenv(const char *) + * } + */ + public static MemorySegment getenv$address() { + return getenv.ADDR; + } + + /** + * {@snippet lang=c : + * char *getenv(const char *) + * } + */ + public static MemorySegment getenv(MemorySegment x0) { + var mh$ = getenv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getenv", x0); + } + return (MemorySegment)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class labs { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("labs"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long labs(long) + * } + */ + public static FunctionDescriptor labs$descriptor() { + return labs.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long labs(long) + * } + */ + public static MethodHandle labs$handle() { + return labs.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long labs(long) + * } + */ + public static MemorySegment labs$address() { + return labs.ADDR; + } + + /** + * {@snippet lang=c : + * long labs(long) + * } + */ + public static long labs(long x0) { + var mh$ = labs.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("labs", x0); + } + return (long)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class ldiv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + ldiv_t.layout(), + mlx_h.C_LONG, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("ldiv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * ldiv_t ldiv(long, long) + * } + */ + public static FunctionDescriptor ldiv$descriptor() { + return ldiv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * ldiv_t ldiv(long, long) + * } + */ + public static MethodHandle ldiv$handle() { + return ldiv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * ldiv_t ldiv(long, long) + * } + */ + public static MemorySegment ldiv$address() { + return ldiv.ADDR; + } + + /** + * {@snippet lang=c : + * ldiv_t ldiv(long, long) + * } + */ + public static MemorySegment ldiv(SegmentAllocator allocator, long x0, long x1) { + var mh$ = ldiv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("ldiv", allocator, x0, x1); + } + return (MemorySegment)mh$.invokeExact(allocator, x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class llabs { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("llabs"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long long llabs(long long) + * } + */ + public static FunctionDescriptor llabs$descriptor() { + return llabs.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long long llabs(long long) + * } + */ + public static MethodHandle llabs$handle() { + return llabs.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long long llabs(long long) + * } + */ + public static MemorySegment llabs$address() { + return llabs.ADDR; + } + + /** + * {@snippet lang=c : + * long long llabs(long long) + * } + */ + public static long llabs(long x0) { + var mh$ = llabs.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("llabs", x0); + } + return (long)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class lldiv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + lldiv_t.layout(), + mlx_h.C_LONG_LONG, + mlx_h.C_LONG_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("lldiv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * lldiv_t lldiv(long long, long long) + * } + */ + public static FunctionDescriptor lldiv$descriptor() { + return lldiv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * lldiv_t lldiv(long long, long long) + * } + */ + public static MethodHandle lldiv$handle() { + return lldiv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * lldiv_t lldiv(long long, long long) + * } + */ + public static MemorySegment lldiv$address() { + return lldiv.ADDR; + } + + /** + * {@snippet lang=c : + * lldiv_t lldiv(long long, long long) + * } + */ + public static MemorySegment lldiv(SegmentAllocator allocator, long x0, long x1) { + var mh$ = lldiv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("lldiv", allocator, x0, x1); + } + return (MemorySegment)mh$.invokeExact(allocator, x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mblen { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mblen"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mblen(const char *__s, size_t __n) + * } + */ + public static FunctionDescriptor mblen$descriptor() { + return mblen.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mblen(const char *__s, size_t __n) + * } + */ + public static MethodHandle mblen$handle() { + return mblen.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mblen(const char *__s, size_t __n) + * } + */ + public static MemorySegment mblen$address() { + return mblen.ADDR; + } + + /** + * {@snippet lang=c : + * int mblen(const char *__s, size_t __n) + * } + */ + public static int mblen(MemorySegment __s, long __n) { + var mh$ = mblen.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mblen", __s, __n); + } + return (int)mh$.invokeExact(__s, __n); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mbstowcs { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mbstowcs"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * size_t mbstowcs(wchar_t *restrict, const char *restrict, size_t __n) + * } + */ + public static FunctionDescriptor mbstowcs$descriptor() { + return mbstowcs.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * size_t mbstowcs(wchar_t *restrict, const char *restrict, size_t __n) + * } + */ + public static MethodHandle mbstowcs$handle() { + return mbstowcs.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * size_t mbstowcs(wchar_t *restrict, const char *restrict, size_t __n) + * } + */ + public static MemorySegment mbstowcs$address() { + return mbstowcs.ADDR; + } + + /** + * {@snippet lang=c : + * size_t mbstowcs(wchar_t *restrict, const char *restrict, size_t __n) + * } + */ + public static long mbstowcs(MemorySegment x0, MemorySegment x1, long __n) { + var mh$ = mbstowcs.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mbstowcs", x0, x1, __n); + } + return (long)mh$.invokeExact(x0, x1, __n); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mbtowc { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mbtowc"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mbtowc(wchar_t *restrict, const char *restrict, size_t __n) + * } + */ + public static FunctionDescriptor mbtowc$descriptor() { + return mbtowc.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mbtowc(wchar_t *restrict, const char *restrict, size_t __n) + * } + */ + public static MethodHandle mbtowc$handle() { + return mbtowc.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mbtowc(wchar_t *restrict, const char *restrict, size_t __n) + * } + */ + public static MemorySegment mbtowc$address() { + return mbtowc.ADDR; + } + + /** + * {@snippet lang=c : + * int mbtowc(wchar_t *restrict, const char *restrict, size_t __n) + * } + */ + public static int mbtowc(MemorySegment x0, MemorySegment x1, long __n) { + var mh$ = mbtowc.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mbtowc", x0, x1, __n); + } + return (int)mh$.invokeExact(x0, x1, __n); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class qsort { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("qsort"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void qsort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static FunctionDescriptor qsort$descriptor() { + return qsort.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void qsort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static MethodHandle qsort$handle() { + return qsort.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void qsort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static MemorySegment qsort$address() { + return qsort.ADDR; + } + + /** + * {@snippet lang=c : + * void qsort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static void qsort(MemorySegment __base, long __nel, long __width, MemorySegment __compar) { + var mh$ = qsort.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("qsort", __base, __nel, __width, __compar); + } + mh$.invokeExact(__base, __nel, __width, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class quick_exit { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("quick_exit"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void quick_exit(int) + * } + */ + public static FunctionDescriptor quick_exit$descriptor() { + return quick_exit.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void quick_exit(int) + * } + */ + public static MethodHandle quick_exit$handle() { + return quick_exit.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void quick_exit(int) + * } + */ + public static MemorySegment quick_exit$address() { + return quick_exit.ADDR; + } + + /** + * {@snippet lang=c : + * void quick_exit(int) + * } + */ + public static void quick_exit(int x0) { + var mh$ = quick_exit.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("quick_exit", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class rand { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("rand"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int rand(void) + * } + */ + public static FunctionDescriptor rand$descriptor() { + return rand.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int rand(void) + * } + */ + public static MethodHandle rand$handle() { + return rand.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int rand(void) + * } + */ + public static MemorySegment rand$address() { + return rand.ADDR; + } + + /** + * {@snippet lang=c : + * int rand(void) + * } + */ + public static int rand() { + var mh$ = rand.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("rand"); + } + return (int)mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class srand { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("srand"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void srand(unsigned int) + * } + */ + public static FunctionDescriptor srand$descriptor() { + return srand.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void srand(unsigned int) + * } + */ + public static MethodHandle srand$handle() { + return srand.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void srand(unsigned int) + * } + */ + public static MemorySegment srand$address() { + return srand.ADDR; + } + + /** + * {@snippet lang=c : + * void srand(unsigned int) + * } + */ + public static void srand(int x0) { + var mh$ = srand.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("srand", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class strtod { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_DOUBLE, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("strtod"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * double strtod(const char *, char **) asm("_strtod") + * } + */ + public static FunctionDescriptor strtod$descriptor() { + return strtod.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * double strtod(const char *, char **) asm("_strtod") + * } + */ + public static MethodHandle strtod$handle() { + return strtod.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * double strtod(const char *, char **) asm("_strtod") + * } + */ + public static MemorySegment strtod$address() { + return strtod.ADDR; + } + + /** + * {@snippet lang=c : + * double strtod(const char *, char **) asm("_strtod") + * } + */ + public static double strtod(MemorySegment x0, MemorySegment x1) { + var mh$ = strtod.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("strtod", x0, x1); + } + return (double)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class strtof { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_FLOAT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("strtof"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * float strtof(const char *, char **) asm("_strtof") + * } + */ + public static FunctionDescriptor strtof$descriptor() { + return strtof.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * float strtof(const char *, char **) asm("_strtof") + * } + */ + public static MethodHandle strtof$handle() { + return strtof.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * float strtof(const char *, char **) asm("_strtof") + * } + */ + public static MemorySegment strtof$address() { + return strtof.ADDR; + } + + /** + * {@snippet lang=c : + * float strtof(const char *, char **) asm("_strtof") + * } + */ + public static float strtof(MemorySegment x0, MemorySegment x1) { + var mh$ = strtof.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("strtof", x0, x1); + } + return (float)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class strtol { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("strtol"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long strtol(const char *__str, char **__endptr, int __base) + * } + */ + public static FunctionDescriptor strtol$descriptor() { + return strtol.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long strtol(const char *__str, char **__endptr, int __base) + * } + */ + public static MethodHandle strtol$handle() { + return strtol.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long strtol(const char *__str, char **__endptr, int __base) + * } + */ + public static MemorySegment strtol$address() { + return strtol.ADDR; + } + + /** + * {@snippet lang=c : + * long strtol(const char *__str, char **__endptr, int __base) + * } + */ + public static long strtol(MemorySegment __str, MemorySegment __endptr, int __base) { + var mh$ = strtol.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("strtol", __str, __endptr, __base); + } + return (long)mh$.invokeExact(__str, __endptr, __base); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class strtoll { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("strtoll"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long long strtoll(const char *__str, char **__endptr, int __base) + * } + */ + public static FunctionDescriptor strtoll$descriptor() { + return strtoll.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long long strtoll(const char *__str, char **__endptr, int __base) + * } + */ + public static MethodHandle strtoll$handle() { + return strtoll.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long long strtoll(const char *__str, char **__endptr, int __base) + * } + */ + public static MemorySegment strtoll$address() { + return strtoll.ADDR; + } + + /** + * {@snippet lang=c : + * long long strtoll(const char *__str, char **__endptr, int __base) + * } + */ + public static long strtoll(MemorySegment __str, MemorySegment __endptr, int __base) { + var mh$ = strtoll.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("strtoll", __str, __endptr, __base); + } + return (long)mh$.invokeExact(__str, __endptr, __base); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class strtoul { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("strtoul"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * unsigned long strtoul(const char *__str, char **__endptr, int __base) + * } + */ + public static FunctionDescriptor strtoul$descriptor() { + return strtoul.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * unsigned long strtoul(const char *__str, char **__endptr, int __base) + * } + */ + public static MethodHandle strtoul$handle() { + return strtoul.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * unsigned long strtoul(const char *__str, char **__endptr, int __base) + * } + */ + public static MemorySegment strtoul$address() { + return strtoul.ADDR; + } + + /** + * {@snippet lang=c : + * unsigned long strtoul(const char *__str, char **__endptr, int __base) + * } + */ + public static long strtoul(MemorySegment __str, MemorySegment __endptr, int __base) { + var mh$ = strtoul.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("strtoul", __str, __endptr, __base); + } + return (long)mh$.invokeExact(__str, __endptr, __base); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class strtoull { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("strtoull"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * unsigned long long strtoull(const char *__str, char **__endptr, int __base) + * } + */ + public static FunctionDescriptor strtoull$descriptor() { + return strtoull.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * unsigned long long strtoull(const char *__str, char **__endptr, int __base) + * } + */ + public static MethodHandle strtoull$handle() { + return strtoull.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * unsigned long long strtoull(const char *__str, char **__endptr, int __base) + * } + */ + public static MemorySegment strtoull$address() { + return strtoull.ADDR; + } + + /** + * {@snippet lang=c : + * unsigned long long strtoull(const char *__str, char **__endptr, int __base) + * } + */ + public static long strtoull(MemorySegment __str, MemorySegment __endptr, int __base) { + var mh$ = strtoull.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("strtoull", __str, __endptr, __base); + } + return (long)mh$.invokeExact(__str, __endptr, __base); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class system { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("system"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int system(const char *) asm("_system") + * } + */ + public static FunctionDescriptor system$descriptor() { + return system.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int system(const char *) asm("_system") + * } + */ + public static MethodHandle system$handle() { + return system.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int system(const char *) asm("_system") + * } + */ + public static MemorySegment system$address() { + return system.ADDR; + } + + /** + * {@snippet lang=c : + * int system(const char *) asm("_system") + * } + */ + public static int system(MemorySegment x0) { + var mh$ = system.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("system", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class wcstombs { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("wcstombs"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * size_t wcstombs(char *restrict, const wchar_t *restrict, size_t __n) + * } + */ + public static FunctionDescriptor wcstombs$descriptor() { + return wcstombs.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * size_t wcstombs(char *restrict, const wchar_t *restrict, size_t __n) + * } + */ + public static MethodHandle wcstombs$handle() { + return wcstombs.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * size_t wcstombs(char *restrict, const wchar_t *restrict, size_t __n) + * } + */ + public static MemorySegment wcstombs$address() { + return wcstombs.ADDR; + } + + /** + * {@snippet lang=c : + * size_t wcstombs(char *restrict, const wchar_t *restrict, size_t __n) + * } + */ + public static long wcstombs(MemorySegment x0, MemorySegment x1, long __n) { + var mh$ = wcstombs.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("wcstombs", x0, x1, __n); + } + return (long)mh$.invokeExact(x0, x1, __n); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class wctomb { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("wctomb"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int wctomb(char *, wchar_t) + * } + */ + public static FunctionDescriptor wctomb$descriptor() { + return wctomb.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int wctomb(char *, wchar_t) + * } + */ + public static MethodHandle wctomb$handle() { + return wctomb.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int wctomb(char *, wchar_t) + * } + */ + public static MemorySegment wctomb$address() { + return wctomb.ADDR; + } + + /** + * {@snippet lang=c : + * int wctomb(char *, wchar_t) + * } + */ + public static int wctomb(MemorySegment x0, int x1) { + var mh$ = wctomb.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("wctomb", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class _Exit { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("_Exit"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void _Exit(int) + * } + */ + public static FunctionDescriptor _Exit$descriptor() { + return _Exit.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void _Exit(int) + * } + */ + public static MethodHandle _Exit$handle() { + return _Exit.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void _Exit(int) + * } + */ + public static MemorySegment _Exit$address() { + return _Exit.ADDR; + } + + /** + * {@snippet lang=c : + * void _Exit(int) + * } + */ + public static void _Exit(int x0) { + var mh$ = _Exit.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("_Exit", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class a64l { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("a64l"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long a64l(const char *) + * } + */ + public static FunctionDescriptor a64l$descriptor() { + return a64l.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long a64l(const char *) + * } + */ + public static MethodHandle a64l$handle() { + return a64l.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long a64l(const char *) + * } + */ + public static MemorySegment a64l$address() { + return a64l.ADDR; + } + + /** + * {@snippet lang=c : + * long a64l(const char *) + * } + */ + public static long a64l(MemorySegment x0) { + var mh$ = a64l.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("a64l", x0); + } + return (long)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class drand48 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_DOUBLE ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("drand48"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * double drand48(void) + * } + */ + public static FunctionDescriptor drand48$descriptor() { + return drand48.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * double drand48(void) + * } + */ + public static MethodHandle drand48$handle() { + return drand48.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * double drand48(void) + * } + */ + public static MemorySegment drand48$address() { + return drand48.ADDR; + } + + /** + * {@snippet lang=c : + * double drand48(void) + * } + */ + public static double drand48() { + var mh$ = drand48.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("drand48"); + } + return (double)mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class ecvt { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_DOUBLE, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("ecvt"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *ecvt(double, int, int *restrict, int *restrict) + * } + */ + public static FunctionDescriptor ecvt$descriptor() { + return ecvt.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *ecvt(double, int, int *restrict, int *restrict) + * } + */ + public static MethodHandle ecvt$handle() { + return ecvt.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *ecvt(double, int, int *restrict, int *restrict) + * } + */ + public static MemorySegment ecvt$address() { + return ecvt.ADDR; + } + + /** + * {@snippet lang=c : + * char *ecvt(double, int, int *restrict, int *restrict) + * } + */ + public static MemorySegment ecvt(double x0, int x1, MemorySegment x2, MemorySegment x3) { + var mh$ = ecvt.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("ecvt", x0, x1, x2, x3); + } + return (MemorySegment)mh$.invokeExact(x0, x1, x2, x3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class erand48 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_DOUBLE, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("erand48"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * double erand48(unsigned short[3]) + * } + */ + public static FunctionDescriptor erand48$descriptor() { + return erand48.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * double erand48(unsigned short[3]) + * } + */ + public static MethodHandle erand48$handle() { + return erand48.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * double erand48(unsigned short[3]) + * } + */ + public static MemorySegment erand48$address() { + return erand48.ADDR; + } + + /** + * {@snippet lang=c : + * double erand48(unsigned short[3]) + * } + */ + public static double erand48(MemorySegment x0) { + var mh$ = erand48.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("erand48", x0); + } + return (double)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class fcvt { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_DOUBLE, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("fcvt"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *fcvt(double, int, int *restrict, int *restrict) + * } + */ + public static FunctionDescriptor fcvt$descriptor() { + return fcvt.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *fcvt(double, int, int *restrict, int *restrict) + * } + */ + public static MethodHandle fcvt$handle() { + return fcvt.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *fcvt(double, int, int *restrict, int *restrict) + * } + */ + public static MemorySegment fcvt$address() { + return fcvt.ADDR; + } + + /** + * {@snippet lang=c : + * char *fcvt(double, int, int *restrict, int *restrict) + * } + */ + public static MemorySegment fcvt(double x0, int x1, MemorySegment x2, MemorySegment x3) { + var mh$ = fcvt.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("fcvt", x0, x1, x2, x3); + } + return (MemorySegment)mh$.invokeExact(x0, x1, x2, x3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class gcvt { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_DOUBLE, + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("gcvt"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *gcvt(double, int, char *) + * } + */ + public static FunctionDescriptor gcvt$descriptor() { + return gcvt.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *gcvt(double, int, char *) + * } + */ + public static MethodHandle gcvt$handle() { + return gcvt.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *gcvt(double, int, char *) + * } + */ + public static MemorySegment gcvt$address() { + return gcvt.ADDR; + } + + /** + * {@snippet lang=c : + * char *gcvt(double, int, char *) + * } + */ + public static MemorySegment gcvt(double x0, int x1, MemorySegment x2) { + var mh$ = gcvt.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("gcvt", x0, x1, x2); + } + return (MemorySegment)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getsubopt { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getsubopt"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int getsubopt(char **, char *const *, char **) + * } + */ + public static FunctionDescriptor getsubopt$descriptor() { + return getsubopt.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int getsubopt(char **, char *const *, char **) + * } + */ + public static MethodHandle getsubopt$handle() { + return getsubopt.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int getsubopt(char **, char *const *, char **) + * } + */ + public static MemorySegment getsubopt$address() { + return getsubopt.ADDR; + } + + /** + * {@snippet lang=c : + * int getsubopt(char **, char *const *, char **) + * } + */ + public static int getsubopt(MemorySegment x0, MemorySegment x1, MemorySegment x2) { + var mh$ = getsubopt.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getsubopt", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class grantpt { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("grantpt"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int grantpt(int) + * } + */ + public static FunctionDescriptor grantpt$descriptor() { + return grantpt.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int grantpt(int) + * } + */ + public static MethodHandle grantpt$handle() { + return grantpt.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int grantpt(int) + * } + */ + public static MemorySegment grantpt$address() { + return grantpt.ADDR; + } + + /** + * {@snippet lang=c : + * int grantpt(int) + * } + */ + public static int grantpt(int x0) { + var mh$ = grantpt.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("grantpt", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class initstate { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("initstate"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *initstate(unsigned int, char *, size_t __size) + * } + */ + public static FunctionDescriptor initstate$descriptor() { + return initstate.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *initstate(unsigned int, char *, size_t __size) + * } + */ + public static MethodHandle initstate$handle() { + return initstate.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *initstate(unsigned int, char *, size_t __size) + * } + */ + public static MemorySegment initstate$address() { + return initstate.ADDR; + } + + /** + * {@snippet lang=c : + * char *initstate(unsigned int, char *, size_t __size) + * } + */ + public static MemorySegment initstate(int x0, MemorySegment x1, long __size) { + var mh$ = initstate.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("initstate", x0, x1, __size); + } + return (MemorySegment)mh$.invokeExact(x0, x1, __size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class jrand48 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("jrand48"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long jrand48(unsigned short[3]) + * } + */ + public static FunctionDescriptor jrand48$descriptor() { + return jrand48.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long jrand48(unsigned short[3]) + * } + */ + public static MethodHandle jrand48$handle() { + return jrand48.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long jrand48(unsigned short[3]) + * } + */ + public static MemorySegment jrand48$address() { + return jrand48.ADDR; + } + + /** + * {@snippet lang=c : + * long jrand48(unsigned short[3]) + * } + */ + public static long jrand48(MemorySegment x0) { + var mh$ = jrand48.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("jrand48", x0); + } + return (long)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class l64a { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("l64a"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *l64a(long) + * } + */ + public static FunctionDescriptor l64a$descriptor() { + return l64a.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *l64a(long) + * } + */ + public static MethodHandle l64a$handle() { + return l64a.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *l64a(long) + * } + */ + public static MemorySegment l64a$address() { + return l64a.ADDR; + } + + /** + * {@snippet lang=c : + * char *l64a(long) + * } + */ + public static MemorySegment l64a(long x0) { + var mh$ = l64a.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("l64a", x0); + } + return (MemorySegment)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class lcong48 { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("lcong48"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void lcong48(unsigned short[7]) + * } + */ + public static FunctionDescriptor lcong48$descriptor() { + return lcong48.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void lcong48(unsigned short[7]) + * } + */ + public static MethodHandle lcong48$handle() { + return lcong48.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void lcong48(unsigned short[7]) + * } + */ + public static MemorySegment lcong48$address() { + return lcong48.ADDR; + } + + /** + * {@snippet lang=c : + * void lcong48(unsigned short[7]) + * } + */ + public static void lcong48(MemorySegment x0) { + var mh$ = lcong48.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("lcong48", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class lrand48 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("lrand48"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long lrand48(void) + * } + */ + public static FunctionDescriptor lrand48$descriptor() { + return lrand48.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long lrand48(void) + * } + */ + public static MethodHandle lrand48$handle() { + return lrand48.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long lrand48(void) + * } + */ + public static MemorySegment lrand48$address() { + return lrand48.ADDR; + } + + /** + * {@snippet lang=c : + * long lrand48(void) + * } + */ + public static long lrand48() { + var mh$ = lrand48.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("lrand48"); + } + return (long)mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mktemp { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mktemp"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *mktemp(char *) + * } + */ + public static FunctionDescriptor mktemp$descriptor() { + return mktemp.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *mktemp(char *) + * } + */ + public static MethodHandle mktemp$handle() { + return mktemp.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *mktemp(char *) + * } + */ + public static MemorySegment mktemp$address() { + return mktemp.ADDR; + } + + /** + * {@snippet lang=c : + * char *mktemp(char *) + * } + */ + public static MemorySegment mktemp(MemorySegment x0) { + var mh$ = mktemp.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mktemp", x0); + } + return (MemorySegment)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mkstemp { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mkstemp"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mkstemp(char *) + * } + */ + public static FunctionDescriptor mkstemp$descriptor() { + return mkstemp.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mkstemp(char *) + * } + */ + public static MethodHandle mkstemp$handle() { + return mkstemp.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mkstemp(char *) + * } + */ + public static MemorySegment mkstemp$address() { + return mkstemp.ADDR; + } + + /** + * {@snippet lang=c : + * int mkstemp(char *) + * } + */ + public static int mkstemp(MemorySegment x0) { + var mh$ = mkstemp.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mkstemp", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mrand48 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mrand48"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long mrand48(void) + * } + */ + public static FunctionDescriptor mrand48$descriptor() { + return mrand48.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long mrand48(void) + * } + */ + public static MethodHandle mrand48$handle() { + return mrand48.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long mrand48(void) + * } + */ + public static MemorySegment mrand48$address() { + return mrand48.ADDR; + } + + /** + * {@snippet lang=c : + * long mrand48(void) + * } + */ + public static long mrand48() { + var mh$ = mrand48.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mrand48"); + } + return (long)mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class nrand48 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("nrand48"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long nrand48(unsigned short[3]) + * } + */ + public static FunctionDescriptor nrand48$descriptor() { + return nrand48.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long nrand48(unsigned short[3]) + * } + */ + public static MethodHandle nrand48$handle() { + return nrand48.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long nrand48(unsigned short[3]) + * } + */ + public static MemorySegment nrand48$address() { + return nrand48.ADDR; + } + + /** + * {@snippet lang=c : + * long nrand48(unsigned short[3]) + * } + */ + public static long nrand48(MemorySegment x0) { + var mh$ = nrand48.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("nrand48", x0); + } + return (long)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class posix_openpt { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("posix_openpt"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int posix_openpt(int) + * } + */ + public static FunctionDescriptor posix_openpt$descriptor() { + return posix_openpt.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int posix_openpt(int) + * } + */ + public static MethodHandle posix_openpt$handle() { + return posix_openpt.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int posix_openpt(int) + * } + */ + public static MemorySegment posix_openpt$address() { + return posix_openpt.ADDR; + } + + /** + * {@snippet lang=c : + * int posix_openpt(int) + * } + */ + public static int posix_openpt(int x0) { + var mh$ = posix_openpt.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("posix_openpt", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class ptsname { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("ptsname"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *ptsname(int) + * } + */ + public static FunctionDescriptor ptsname$descriptor() { + return ptsname.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *ptsname(int) + * } + */ + public static MethodHandle ptsname$handle() { + return ptsname.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *ptsname(int) + * } + */ + public static MemorySegment ptsname$address() { + return ptsname.ADDR; + } + + /** + * {@snippet lang=c : + * char *ptsname(int) + * } + */ + public static MemorySegment ptsname(int x0) { + var mh$ = ptsname.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("ptsname", x0); + } + return (MemorySegment)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class ptsname_r { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("ptsname_r"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int ptsname_r(int fildes, char *buffer, size_t buflen) + * } + */ + public static FunctionDescriptor ptsname_r$descriptor() { + return ptsname_r.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int ptsname_r(int fildes, char *buffer, size_t buflen) + * } + */ + public static MethodHandle ptsname_r$handle() { + return ptsname_r.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int ptsname_r(int fildes, char *buffer, size_t buflen) + * } + */ + public static MemorySegment ptsname_r$address() { + return ptsname_r.ADDR; + } + + /** + * {@snippet lang=c : + * int ptsname_r(int fildes, char *buffer, size_t buflen) + * } + */ + public static int ptsname_r(int fildes, MemorySegment buffer, long buflen) { + var mh$ = ptsname_r.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("ptsname_r", fildes, buffer, buflen); + } + return (int)mh$.invokeExact(fildes, buffer, buflen); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class putenv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("putenv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int putenv(char *) asm("_putenv") + * } + */ + public static FunctionDescriptor putenv$descriptor() { + return putenv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int putenv(char *) asm("_putenv") + * } + */ + public static MethodHandle putenv$handle() { + return putenv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int putenv(char *) asm("_putenv") + * } + */ + public static MemorySegment putenv$address() { + return putenv.ADDR; + } + + /** + * {@snippet lang=c : + * int putenv(char *) asm("_putenv") + * } + */ + public static int putenv(MemorySegment x0) { + var mh$ = putenv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("putenv", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class random { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("random"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long random(void) + * } + */ + public static FunctionDescriptor random$descriptor() { + return random.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long random(void) + * } + */ + public static MethodHandle random$handle() { + return random.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long random(void) + * } + */ + public static MemorySegment random$address() { + return random.ADDR; + } + + /** + * {@snippet lang=c : + * long random(void) + * } + */ + public static long random() { + var mh$ = random.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("random"); + } + return (long)mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class rand_r { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("rand_r"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int rand_r(unsigned int *) + * } + */ + public static FunctionDescriptor rand_r$descriptor() { + return rand_r.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int rand_r(unsigned int *) + * } + */ + public static MethodHandle rand_r$handle() { + return rand_r.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int rand_r(unsigned int *) + * } + */ + public static MemorySegment rand_r$address() { + return rand_r.ADDR; + } + + /** + * {@snippet lang=c : + * int rand_r(unsigned int *) + * } + */ + public static int rand_r(MemorySegment x0) { + var mh$ = rand_r.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("rand_r", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class realpath { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("realpath$DARWIN_EXTSN"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *realpath(const char *restrict, char *restrict) asm("_realpath$DARWIN_EXTSN") + * } + */ + public static FunctionDescriptor realpath$descriptor() { + return realpath.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *realpath(const char *restrict, char *restrict) asm("_realpath$DARWIN_EXTSN") + * } + */ + public static MethodHandle realpath$handle() { + return realpath.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *realpath(const char *restrict, char *restrict) asm("_realpath$DARWIN_EXTSN") + * } + */ + public static MemorySegment realpath$address() { + return realpath.ADDR; + } + + /** + * {@snippet lang=c : + * char *realpath(const char *restrict, char *restrict) asm("_realpath$DARWIN_EXTSN") + * } + */ + public static MemorySegment realpath(MemorySegment x0, MemorySegment x1) { + var mh$ = realpath.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("realpath", x0, x1); + } + return (MemorySegment)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class seed48 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("seed48"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * unsigned short *seed48(unsigned short[3]) + * } + */ + public static FunctionDescriptor seed48$descriptor() { + return seed48.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * unsigned short *seed48(unsigned short[3]) + * } + */ + public static MethodHandle seed48$handle() { + return seed48.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * unsigned short *seed48(unsigned short[3]) + * } + */ + public static MemorySegment seed48$address() { + return seed48.ADDR; + } + + /** + * {@snippet lang=c : + * unsigned short *seed48(unsigned short[3]) + * } + */ + public static MemorySegment seed48(MemorySegment x0) { + var mh$ = seed48.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("seed48", x0); + } + return (MemorySegment)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class setenv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("setenv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int setenv(const char *__name, const char *__value, int __overwrite) asm("_setenv") + * } + */ + public static FunctionDescriptor setenv$descriptor() { + return setenv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int setenv(const char *__name, const char *__value, int __overwrite) asm("_setenv") + * } + */ + public static MethodHandle setenv$handle() { + return setenv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int setenv(const char *__name, const char *__value, int __overwrite) asm("_setenv") + * } + */ + public static MemorySegment setenv$address() { + return setenv.ADDR; + } + + /** + * {@snippet lang=c : + * int setenv(const char *__name, const char *__value, int __overwrite) asm("_setenv") + * } + */ + public static int setenv(MemorySegment __name, MemorySegment __value, int __overwrite) { + var mh$ = setenv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("setenv", __name, __value, __overwrite); + } + return (int)mh$.invokeExact(__name, __value, __overwrite); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class setkey { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("setkey"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void setkey(const char *) asm("_setkey") + * } + */ + public static FunctionDescriptor setkey$descriptor() { + return setkey.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void setkey(const char *) asm("_setkey") + * } + */ + public static MethodHandle setkey$handle() { + return setkey.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void setkey(const char *) asm("_setkey") + * } + */ + public static MemorySegment setkey$address() { + return setkey.ADDR; + } + + /** + * {@snippet lang=c : + * void setkey(const char *) asm("_setkey") + * } + */ + public static void setkey(MemorySegment x0) { + var mh$ = setkey.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("setkey", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class setstate { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("setstate"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *setstate(const char *) + * } + */ + public static FunctionDescriptor setstate$descriptor() { + return setstate.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *setstate(const char *) + * } + */ + public static MethodHandle setstate$handle() { + return setstate.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *setstate(const char *) + * } + */ + public static MemorySegment setstate$address() { + return setstate.ADDR; + } + + /** + * {@snippet lang=c : + * char *setstate(const char *) + * } + */ + public static MemorySegment setstate(MemorySegment x0) { + var mh$ = setstate.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("setstate", x0); + } + return (MemorySegment)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class srand48 { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("srand48"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void srand48(long) + * } + */ + public static FunctionDescriptor srand48$descriptor() { + return srand48.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void srand48(long) + * } + */ + public static MethodHandle srand48$handle() { + return srand48.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void srand48(long) + * } + */ + public static MemorySegment srand48$address() { + return srand48.ADDR; + } + + /** + * {@snippet lang=c : + * void srand48(long) + * } + */ + public static void srand48(long x0) { + var mh$ = srand48.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("srand48", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class srandom { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("srandom"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void srandom(unsigned int) + * } + */ + public static FunctionDescriptor srandom$descriptor() { + return srandom.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void srandom(unsigned int) + * } + */ + public static MethodHandle srandom$handle() { + return srandom.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void srandom(unsigned int) + * } + */ + public static MemorySegment srandom$address() { + return srandom.ADDR; + } + + /** + * {@snippet lang=c : + * void srandom(unsigned int) + * } + */ + public static void srandom(int x0) { + var mh$ = srandom.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("srandom", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class unlockpt { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("unlockpt"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int unlockpt(int) + * } + */ + public static FunctionDescriptor unlockpt$descriptor() { + return unlockpt.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int unlockpt(int) + * } + */ + public static MethodHandle unlockpt$handle() { + return unlockpt.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int unlockpt(int) + * } + */ + public static MemorySegment unlockpt$address() { + return unlockpt.ADDR; + } + + /** + * {@snippet lang=c : + * int unlockpt(int) + * } + */ + public static int unlockpt(int x0) { + var mh$ = unlockpt.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("unlockpt", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class unsetenv { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("unsetenv"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int unsetenv(const char *) asm("_unsetenv") + * } + */ + public static FunctionDescriptor unsetenv$descriptor() { + return unsetenv.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int unsetenv(const char *) asm("_unsetenv") + * } + */ + public static MethodHandle unsetenv$handle() { + return unsetenv.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int unsetenv(const char *) asm("_unsetenv") + * } + */ + public static MemorySegment unsetenv$address() { + return unsetenv.ADDR; + } + + /** + * {@snippet lang=c : + * int unsetenv(const char *) asm("_unsetenv") + * } + */ + public static int unsetenv(MemorySegment x0) { + var mh$ = unsetenv.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("unsetenv", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + /** + * {@snippet lang=c : + * typedef __darwin_dev_t dev_t + * } + */ + public static final OfInt dev_t = mlx_h.C_INT; + /** + * {@snippet lang=c : + * typedef __darwin_mode_t mode_t + * } + */ + public static final OfShort mode_t = mlx_h.C_SHORT; + + private static class arc4random { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("arc4random"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * uint32_t arc4random(void) + * } + */ + public static FunctionDescriptor arc4random$descriptor() { + return arc4random.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * uint32_t arc4random(void) + * } + */ + public static MethodHandle arc4random$handle() { + return arc4random.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * uint32_t arc4random(void) + * } + */ + public static MemorySegment arc4random$address() { + return arc4random.ADDR; + } + + /** + * {@snippet lang=c : + * uint32_t arc4random(void) + * } + */ + public static int arc4random() { + var mh$ = arc4random.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("arc4random"); + } + return (int)mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class arc4random_addrandom { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("arc4random_addrandom"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void arc4random_addrandom(unsigned char *, int __datlen) + * } + */ + public static FunctionDescriptor arc4random_addrandom$descriptor() { + return arc4random_addrandom.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void arc4random_addrandom(unsigned char *, int __datlen) + * } + */ + public static MethodHandle arc4random_addrandom$handle() { + return arc4random_addrandom.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void arc4random_addrandom(unsigned char *, int __datlen) + * } + */ + public static MemorySegment arc4random_addrandom$address() { + return arc4random_addrandom.ADDR; + } + + /** + * {@snippet lang=c : + * void arc4random_addrandom(unsigned char *, int __datlen) + * } + */ + public static void arc4random_addrandom(MemorySegment x0, int __datlen) { + var mh$ = arc4random_addrandom.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("arc4random_addrandom", x0, __datlen); + } + mh$.invokeExact(x0, __datlen); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class arc4random_buf { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("arc4random_buf"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void arc4random_buf(void *__buf, size_t __nbytes) + * } + */ + public static FunctionDescriptor arc4random_buf$descriptor() { + return arc4random_buf.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void arc4random_buf(void *__buf, size_t __nbytes) + * } + */ + public static MethodHandle arc4random_buf$handle() { + return arc4random_buf.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void arc4random_buf(void *__buf, size_t __nbytes) + * } + */ + public static MemorySegment arc4random_buf$address() { + return arc4random_buf.ADDR; + } + + /** + * {@snippet lang=c : + * void arc4random_buf(void *__buf, size_t __nbytes) + * } + */ + public static void arc4random_buf(MemorySegment __buf, long __nbytes) { + var mh$ = arc4random_buf.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("arc4random_buf", __buf, __nbytes); + } + mh$.invokeExact(__buf, __nbytes); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class arc4random_stir { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("arc4random_stir"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void arc4random_stir(void) + * } + */ + public static FunctionDescriptor arc4random_stir$descriptor() { + return arc4random_stir.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void arc4random_stir(void) + * } + */ + public static MethodHandle arc4random_stir$handle() { + return arc4random_stir.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void arc4random_stir(void) + * } + */ + public static MemorySegment arc4random_stir$address() { + return arc4random_stir.ADDR; + } + + /** + * {@snippet lang=c : + * void arc4random_stir(void) + * } + */ + public static void arc4random_stir() { + var mh$ = arc4random_stir.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("arc4random_stir"); + } + mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class arc4random_uniform { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("arc4random_uniform"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * uint32_t arc4random_uniform(uint32_t __upper_bound) + * } + */ + public static FunctionDescriptor arc4random_uniform$descriptor() { + return arc4random_uniform.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * uint32_t arc4random_uniform(uint32_t __upper_bound) + * } + */ + public static MethodHandle arc4random_uniform$handle() { + return arc4random_uniform.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * uint32_t arc4random_uniform(uint32_t __upper_bound) + * } + */ + public static MemorySegment arc4random_uniform$address() { + return arc4random_uniform.ADDR; + } + + /** + * {@snippet lang=c : + * uint32_t arc4random_uniform(uint32_t __upper_bound) + * } + */ + public static int arc4random_uniform(int __upper_bound) { + var mh$ = arc4random_uniform.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("arc4random_uniform", __upper_bound); + } + return (int)mh$.invokeExact(__upper_bound); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class atexit_b { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("atexit_b"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int atexit_b(void (^ _Nonnull)(void)) + * } + */ + public static FunctionDescriptor atexit_b$descriptor() { + return atexit_b.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int atexit_b(void (^ _Nonnull)(void)) + * } + */ + public static MethodHandle atexit_b$handle() { + return atexit_b.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int atexit_b(void (^ _Nonnull)(void)) + * } + */ + public static MemorySegment atexit_b$address() { + return atexit_b.ADDR; + } + + /** + * {@snippet lang=c : + * int atexit_b(void (^ _Nonnull)(void)) + * } + */ + public static int atexit_b(MemorySegment x0) { + var mh$ = atexit_b.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("atexit_b", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class bsearch_b { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("bsearch_b"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void *bsearch_b(const void *__key, const void *__base, size_t __nel, size_t __width, __bsearch_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static FunctionDescriptor bsearch_b$descriptor() { + return bsearch_b.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void *bsearch_b(const void *__key, const void *__base, size_t __nel, size_t __width, __bsearch_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static MethodHandle bsearch_b$handle() { + return bsearch_b.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void *bsearch_b(const void *__key, const void *__base, size_t __nel, size_t __width, __bsearch_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static MemorySegment bsearch_b$address() { + return bsearch_b.ADDR; + } + + /** + * {@snippet lang=c : + * void *bsearch_b(const void *__key, const void *__base, size_t __nel, size_t __width, __bsearch_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static MemorySegment bsearch_b(MemorySegment __key, MemorySegment __base, long __nel, long __width, MemorySegment __compar) { + var mh$ = bsearch_b.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("bsearch_b", __key, __base, __nel, __width, __compar); + } + return (MemorySegment)mh$.invokeExact(__key, __base, __nel, __width, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cgetcap { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cgetcap"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *cgetcap(char *, const char *, int) + * } + */ + public static FunctionDescriptor cgetcap$descriptor() { + return cgetcap.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *cgetcap(char *, const char *, int) + * } + */ + public static MethodHandle cgetcap$handle() { + return cgetcap.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *cgetcap(char *, const char *, int) + * } + */ + public static MemorySegment cgetcap$address() { + return cgetcap.ADDR; + } + + /** + * {@snippet lang=c : + * char *cgetcap(char *, const char *, int) + * } + */ + public static MemorySegment cgetcap(MemorySegment x0, MemorySegment x1, int x2) { + var mh$ = cgetcap.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cgetcap", x0, x1, x2); + } + return (MemorySegment)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cgetclose { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cgetclose"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int cgetclose(void) + * } + */ + public static FunctionDescriptor cgetclose$descriptor() { + return cgetclose.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int cgetclose(void) + * } + */ + public static MethodHandle cgetclose$handle() { + return cgetclose.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int cgetclose(void) + * } + */ + public static MemorySegment cgetclose$address() { + return cgetclose.ADDR; + } + + /** + * {@snippet lang=c : + * int cgetclose(void) + * } + */ + public static int cgetclose() { + var mh$ = cgetclose.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cgetclose"); + } + return (int)mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cgetent { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cgetent"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int cgetent(char **, char **, const char *) + * } + */ + public static FunctionDescriptor cgetent$descriptor() { + return cgetent.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int cgetent(char **, char **, const char *) + * } + */ + public static MethodHandle cgetent$handle() { + return cgetent.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int cgetent(char **, char **, const char *) + * } + */ + public static MemorySegment cgetent$address() { + return cgetent.ADDR; + } + + /** + * {@snippet lang=c : + * int cgetent(char **, char **, const char *) + * } + */ + public static int cgetent(MemorySegment x0, MemorySegment x1, MemorySegment x2) { + var mh$ = cgetent.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cgetent", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cgetfirst { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cgetfirst"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int cgetfirst(char **, char **) + * } + */ + public static FunctionDescriptor cgetfirst$descriptor() { + return cgetfirst.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int cgetfirst(char **, char **) + * } + */ + public static MethodHandle cgetfirst$handle() { + return cgetfirst.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int cgetfirst(char **, char **) + * } + */ + public static MemorySegment cgetfirst$address() { + return cgetfirst.ADDR; + } + + /** + * {@snippet lang=c : + * int cgetfirst(char **, char **) + * } + */ + public static int cgetfirst(MemorySegment x0, MemorySegment x1) { + var mh$ = cgetfirst.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cgetfirst", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cgetmatch { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cgetmatch"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int cgetmatch(const char *, const char *) + * } + */ + public static FunctionDescriptor cgetmatch$descriptor() { + return cgetmatch.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int cgetmatch(const char *, const char *) + * } + */ + public static MethodHandle cgetmatch$handle() { + return cgetmatch.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int cgetmatch(const char *, const char *) + * } + */ + public static MemorySegment cgetmatch$address() { + return cgetmatch.ADDR; + } + + /** + * {@snippet lang=c : + * int cgetmatch(const char *, const char *) + * } + */ + public static int cgetmatch(MemorySegment x0, MemorySegment x1) { + var mh$ = cgetmatch.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cgetmatch", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cgetnext { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cgetnext"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int cgetnext(char **, char **) + * } + */ + public static FunctionDescriptor cgetnext$descriptor() { + return cgetnext.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int cgetnext(char **, char **) + * } + */ + public static MethodHandle cgetnext$handle() { + return cgetnext.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int cgetnext(char **, char **) + * } + */ + public static MemorySegment cgetnext$address() { + return cgetnext.ADDR; + } + + /** + * {@snippet lang=c : + * int cgetnext(char **, char **) + * } + */ + public static int cgetnext(MemorySegment x0, MemorySegment x1) { + var mh$ = cgetnext.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cgetnext", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cgetnum { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cgetnum"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int cgetnum(char *, const char *, long *) + * } + */ + public static FunctionDescriptor cgetnum$descriptor() { + return cgetnum.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int cgetnum(char *, const char *, long *) + * } + */ + public static MethodHandle cgetnum$handle() { + return cgetnum.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int cgetnum(char *, const char *, long *) + * } + */ + public static MemorySegment cgetnum$address() { + return cgetnum.ADDR; + } + + /** + * {@snippet lang=c : + * int cgetnum(char *, const char *, long *) + * } + */ + public static int cgetnum(MemorySegment x0, MemorySegment x1, MemorySegment x2) { + var mh$ = cgetnum.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cgetnum", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cgetset { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cgetset"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int cgetset(const char *) + * } + */ + public static FunctionDescriptor cgetset$descriptor() { + return cgetset.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int cgetset(const char *) + * } + */ + public static MethodHandle cgetset$handle() { + return cgetset.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int cgetset(const char *) + * } + */ + public static MemorySegment cgetset$address() { + return cgetset.ADDR; + } + + /** + * {@snippet lang=c : + * int cgetset(const char *) + * } + */ + public static int cgetset(MemorySegment x0) { + var mh$ = cgetset.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cgetset", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cgetstr { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cgetstr"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int cgetstr(char *, const char *, char **) + * } + */ + public static FunctionDescriptor cgetstr$descriptor() { + return cgetstr.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int cgetstr(char *, const char *, char **) + * } + */ + public static MethodHandle cgetstr$handle() { + return cgetstr.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int cgetstr(char *, const char *, char **) + * } + */ + public static MemorySegment cgetstr$address() { + return cgetstr.ADDR; + } + + /** + * {@snippet lang=c : + * int cgetstr(char *, const char *, char **) + * } + */ + public static int cgetstr(MemorySegment x0, MemorySegment x1, MemorySegment x2) { + var mh$ = cgetstr.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cgetstr", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class cgetustr { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("cgetustr"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int cgetustr(char *, const char *, char **) + * } + */ + public static FunctionDescriptor cgetustr$descriptor() { + return cgetustr.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int cgetustr(char *, const char *, char **) + * } + */ + public static MethodHandle cgetustr$handle() { + return cgetustr.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int cgetustr(char *, const char *, char **) + * } + */ + public static MemorySegment cgetustr$address() { + return cgetustr.ADDR; + } + + /** + * {@snippet lang=c : + * int cgetustr(char *, const char *, char **) + * } + */ + public static int cgetustr(MemorySegment x0, MemorySegment x1, MemorySegment x2) { + var mh$ = cgetustr.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("cgetustr", x0, x1, x2); + } + return (int)mh$.invokeExact(x0, x1, x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class daemon { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("daemon"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int daemon(int, int) asm("_daemon") + * } + */ + public static FunctionDescriptor daemon$descriptor() { + return daemon.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int daemon(int, int) asm("_daemon") + * } + */ + public static MethodHandle daemon$handle() { + return daemon.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int daemon(int, int) asm("_daemon") + * } + */ + public static MemorySegment daemon$address() { + return daemon.ADDR; + } + + /** + * {@snippet lang=c : + * int daemon(int, int) asm("_daemon") + * } + */ + public static int daemon(int x0, int x1) { + var mh$ = daemon.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("daemon", x0, x1); + } + return (int)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class devname { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_SHORT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("devname"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *devname(dev_t, mode_t) + * } + */ + public static FunctionDescriptor devname$descriptor() { + return devname.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *devname(dev_t, mode_t) + * } + */ + public static MethodHandle devname$handle() { + return devname.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *devname(dev_t, mode_t) + * } + */ + public static MemorySegment devname$address() { + return devname.ADDR; + } + + /** + * {@snippet lang=c : + * char *devname(dev_t, mode_t) + * } + */ + public static MemorySegment devname(int x0, short x1) { + var mh$ = devname.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("devname", x0, x1); + } + return (MemorySegment)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class devname_r { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_SHORT, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("devname_r"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *devname_r(dev_t, mode_t, char *buf, int len) + * } + */ + public static FunctionDescriptor devname_r$descriptor() { + return devname_r.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *devname_r(dev_t, mode_t, char *buf, int len) + * } + */ + public static MethodHandle devname_r$handle() { + return devname_r.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *devname_r(dev_t, mode_t, char *buf, int len) + * } + */ + public static MemorySegment devname_r$address() { + return devname_r.ADDR; + } + + /** + * {@snippet lang=c : + * char *devname_r(dev_t, mode_t, char *buf, int len) + * } + */ + public static MemorySegment devname_r(int x0, short x1, MemorySegment buf, int len) { + var mh$ = devname_r.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("devname_r", x0, x1, buf, len); + } + return (MemorySegment)mh$.invokeExact(x0, x1, buf, len); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getbsize { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getbsize"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * char *getbsize(int *, long *) + * } + */ + public static FunctionDescriptor getbsize$descriptor() { + return getbsize.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * char *getbsize(int *, long *) + * } + */ + public static MethodHandle getbsize$handle() { + return getbsize.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * char *getbsize(int *, long *) + * } + */ + public static MemorySegment getbsize$address() { + return getbsize.ADDR; + } + + /** + * {@snippet lang=c : + * char *getbsize(int *, long *) + * } + */ + public static MemorySegment getbsize(MemorySegment x0, MemorySegment x1) { + var mh$ = getbsize.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getbsize", x0, x1); + } + return (MemorySegment)mh$.invokeExact(x0, x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getloadavg { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getloadavg"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int getloadavg(double[], int __nelem) + * } + */ + public static FunctionDescriptor getloadavg$descriptor() { + return getloadavg.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int getloadavg(double[], int __nelem) + * } + */ + public static MethodHandle getloadavg$handle() { + return getloadavg.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int getloadavg(double[], int __nelem) + * } + */ + public static MemorySegment getloadavg$address() { + return getloadavg.ADDR; + } + + /** + * {@snippet lang=c : + * int getloadavg(double[], int __nelem) + * } + */ + public static int getloadavg(MemorySegment x0, int __nelem) { + var mh$ = getloadavg.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getloadavg", x0, __nelem); + } + return (int)mh$.invokeExact(x0, __nelem); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class getprogname { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("getprogname"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const char *getprogname(void) + * } + */ + public static FunctionDescriptor getprogname$descriptor() { + return getprogname.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const char *getprogname(void) + * } + */ + public static MethodHandle getprogname$handle() { + return getprogname.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const char *getprogname(void) + * } + */ + public static MemorySegment getprogname$address() { + return getprogname.ADDR; + } + + /** + * {@snippet lang=c : + * const char *getprogname(void) + * } + */ + public static MemorySegment getprogname() { + var mh$ = getprogname.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("getprogname"); + } + return (MemorySegment)mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class setprogname { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("setprogname"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void setprogname(const char *) + * } + */ + public static FunctionDescriptor setprogname$descriptor() { + return setprogname.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void setprogname(const char *) + * } + */ + public static MethodHandle setprogname$handle() { + return setprogname.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void setprogname(const char *) + * } + */ + public static MemorySegment setprogname$address() { + return setprogname.ADDR; + } + + /** + * {@snippet lang=c : + * void setprogname(const char *) + * } + */ + public static void setprogname(MemorySegment x0) { + var mh$ = setprogname.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("setprogname", x0); + } + mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class heapsort { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("heapsort"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int heapsort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static FunctionDescriptor heapsort$descriptor() { + return heapsort.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int heapsort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static MethodHandle heapsort$handle() { + return heapsort.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int heapsort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static MemorySegment heapsort$address() { + return heapsort.ADDR; + } + + /** + * {@snippet lang=c : + * int heapsort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static int heapsort(MemorySegment __base, long __nel, long __width, MemorySegment __compar) { + var mh$ = heapsort.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("heapsort", __base, __nel, __width, __compar); + } + return (int)mh$.invokeExact(__base, __nel, __width, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class heapsort_b { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("heapsort_b"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int heapsort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static FunctionDescriptor heapsort_b$descriptor() { + return heapsort_b.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int heapsort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static MethodHandle heapsort_b$handle() { + return heapsort_b.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int heapsort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static MemorySegment heapsort_b$address() { + return heapsort_b.ADDR; + } + + /** + * {@snippet lang=c : + * int heapsort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static int heapsort_b(MemorySegment __base, long __nel, long __width, MemorySegment __compar) { + var mh$ = heapsort_b.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("heapsort_b", __base, __nel, __width, __compar); + } + return (int)mh$.invokeExact(__base, __nel, __width, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mergesort { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mergesort"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mergesort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static FunctionDescriptor mergesort$descriptor() { + return mergesort.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mergesort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static MethodHandle mergesort$handle() { + return mergesort.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mergesort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static MemorySegment mergesort$address() { + return mergesort.ADDR; + } + + /** + * {@snippet lang=c : + * int mergesort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static int mergesort(MemorySegment __base, long __nel, long __width, MemorySegment __compar) { + var mh$ = mergesort.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mergesort", __base, __nel, __width, __compar); + } + return (int)mh$.invokeExact(__base, __nel, __width, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mergesort_b { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mergesort_b"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mergesort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static FunctionDescriptor mergesort_b$descriptor() { + return mergesort_b.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mergesort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static MethodHandle mergesort_b$handle() { + return mergesort_b.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mergesort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static MemorySegment mergesort_b$address() { + return mergesort_b.ADDR; + } + + /** + * {@snippet lang=c : + * int mergesort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static int mergesort_b(MemorySegment __base, long __nel, long __width, MemorySegment __compar) { + var mh$ = mergesort_b.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mergesort_b", __base, __nel, __width, __compar); + } + return (int)mh$.invokeExact(__base, __nel, __width, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class psort { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("psort"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void psort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static FunctionDescriptor psort$descriptor() { + return psort.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void psort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static MethodHandle psort$handle() { + return psort.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void psort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static MemorySegment psort$address() { + return psort.ADDR; + } + + /** + * {@snippet lang=c : + * void psort(void *__base, size_t __nel, size_t __width, int (* _Nonnull __compar)(const void *, const void *)) + * } + */ + public static void psort(MemorySegment __base, long __nel, long __width, MemorySegment __compar) { + var mh$ = psort.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("psort", __base, __nel, __width, __compar); + } + mh$.invokeExact(__base, __nel, __width, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class psort_b { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("psort_b"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void psort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static FunctionDescriptor psort_b$descriptor() { + return psort_b.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void psort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static MethodHandle psort_b$handle() { + return psort_b.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void psort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static MemorySegment psort_b$address() { + return psort_b.ADDR; + } + + /** + * {@snippet lang=c : + * void psort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static void psort_b(MemorySegment __base, long __nel, long __width, MemorySegment __compar) { + var mh$ = psort_b.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("psort_b", __base, __nel, __width, __compar); + } + mh$.invokeExact(__base, __nel, __width, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class psort_r { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("psort_r"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void psort_r(void *__base, size_t __nel, size_t __width, void *, int (* _Nonnull __compar)(void *, const void *, const void *)) + * } + */ + public static FunctionDescriptor psort_r$descriptor() { + return psort_r.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void psort_r(void *__base, size_t __nel, size_t __width, void *, int (* _Nonnull __compar)(void *, const void *, const void *)) + * } + */ + public static MethodHandle psort_r$handle() { + return psort_r.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void psort_r(void *__base, size_t __nel, size_t __width, void *, int (* _Nonnull __compar)(void *, const void *, const void *)) + * } + */ + public static MemorySegment psort_r$address() { + return psort_r.ADDR; + } + + /** + * {@snippet lang=c : + * void psort_r(void *__base, size_t __nel, size_t __width, void *, int (* _Nonnull __compar)(void *, const void *, const void *)) + * } + */ + public static void psort_r(MemorySegment __base, long __nel, long __width, MemorySegment x3, MemorySegment __compar) { + var mh$ = psort_r.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("psort_r", __base, __nel, __width, x3, __compar); + } + mh$.invokeExact(__base, __nel, __width, x3, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class qsort_b { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("qsort_b"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void qsort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static FunctionDescriptor qsort_b$descriptor() { + return qsort_b.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void qsort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static MethodHandle qsort_b$handle() { + return qsort_b.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void qsort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static MemorySegment qsort_b$address() { + return qsort_b.ADDR; + } + + /** + * {@snippet lang=c : + * void qsort_b(void *__base, size_t __nel, size_t __width, __sort_noescape int (^__compar)(const void *, const void *)) + * } + */ + public static void qsort_b(MemorySegment __base, long __nel, long __width, MemorySegment __compar) { + var mh$ = qsort_b.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("qsort_b", __base, __nel, __width, __compar); + } + mh$.invokeExact(__base, __nel, __width, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class qsort_r { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("qsort_r"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void qsort_r(void *__base, size_t __nel, size_t __width, void *, int (* _Nonnull __compar)(void *, const void *, const void *)) + * } + */ + public static FunctionDescriptor qsort_r$descriptor() { + return qsort_r.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void qsort_r(void *__base, size_t __nel, size_t __width, void *, int (* _Nonnull __compar)(void *, const void *, const void *)) + * } + */ + public static MethodHandle qsort_r$handle() { + return qsort_r.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void qsort_r(void *__base, size_t __nel, size_t __width, void *, int (* _Nonnull __compar)(void *, const void *, const void *)) + * } + */ + public static MemorySegment qsort_r$address() { + return qsort_r.ADDR; + } + + /** + * {@snippet lang=c : + * void qsort_r(void *__base, size_t __nel, size_t __width, void *, int (* _Nonnull __compar)(void *, const void *, const void *)) + * } + */ + public static void qsort_r(MemorySegment __base, long __nel, long __width, MemorySegment x3, MemorySegment __compar) { + var mh$ = qsort_r.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("qsort_r", __base, __nel, __width, x3, __compar); + } + mh$.invokeExact(__base, __nel, __width, x3, __compar); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class radixsort { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("radixsort"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table, unsigned int __endbyte) + * } + */ + public static FunctionDescriptor radixsort$descriptor() { + return radixsort.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table, unsigned int __endbyte) + * } + */ + public static MethodHandle radixsort$handle() { + return radixsort.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table, unsigned int __endbyte) + * } + */ + public static MemorySegment radixsort$address() { + return radixsort.ADDR; + } + + /** + * {@snippet lang=c : + * int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table, unsigned int __endbyte) + * } + */ + public static int radixsort(MemorySegment __base, int __nel, MemorySegment __table, int __endbyte) { + var mh$ = radixsort.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("radixsort", __base, __nel, __table, __endbyte); + } + return (int)mh$.invokeExact(__base, __nel, __table, __endbyte); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class rpmatch { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("rpmatch"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int rpmatch(const char *) + * } + */ + public static FunctionDescriptor rpmatch$descriptor() { + return rpmatch.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int rpmatch(const char *) + * } + */ + public static MethodHandle rpmatch$handle() { + return rpmatch.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int rpmatch(const char *) + * } + */ + public static MemorySegment rpmatch$address() { + return rpmatch.ADDR; + } + + /** + * {@snippet lang=c : + * int rpmatch(const char *) + * } + */ + public static int rpmatch(MemorySegment x0) { + var mh$ = rpmatch.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("rpmatch", x0); + } + return (int)mh$.invokeExact(x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class sradixsort { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("sradixsort"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table, unsigned int __endbyte) + * } + */ + public static FunctionDescriptor sradixsort$descriptor() { + return sradixsort.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table, unsigned int __endbyte) + * } + */ + public static MethodHandle sradixsort$handle() { + return sradixsort.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table, unsigned int __endbyte) + * } + */ + public static MemorySegment sradixsort$address() { + return sradixsort.ADDR; + } + + /** + * {@snippet lang=c : + * int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table, unsigned int __endbyte) + * } + */ + public static int sradixsort(MemorySegment __base, int __nel, MemorySegment __table, int __endbyte) { + var mh$ = sradixsort.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("sradixsort", __base, __nel, __table, __endbyte); + } + return (int)mh$.invokeExact(__base, __nel, __table, __endbyte); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class sranddev { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("sranddev"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void sranddev(void) + * } + */ + public static FunctionDescriptor sranddev$descriptor() { + return sranddev.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void sranddev(void) + * } + */ + public static MethodHandle sranddev$handle() { + return sranddev.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void sranddev(void) + * } + */ + public static MemorySegment sranddev$address() { + return sranddev.ADDR; + } + + /** + * {@snippet lang=c : + * void sranddev(void) + * } + */ + public static void sranddev() { + var mh$ = sranddev.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("sranddev"); + } + mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class srandomdev { + public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("srandomdev"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * void srandomdev(void) + * } + */ + public static FunctionDescriptor srandomdev$descriptor() { + return srandomdev.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * void srandomdev(void) + * } + */ + public static MethodHandle srandomdev$handle() { + return srandomdev.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * void srandomdev(void) + * } + */ + public static MemorySegment srandomdev$address() { + return srandomdev.ADDR; + } + + /** + * {@snippet lang=c : + * void srandomdev(void) + * } + */ + public static void srandomdev() { + var mh$ = srandomdev.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("srandomdev"); + } + mh$.invokeExact(); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class strtonum { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG_LONG, + mlx_h.C_POINTER, + mlx_h.C_LONG_LONG, + mlx_h.C_LONG_LONG, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("strtonum"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long long strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp) + * } + */ + public static FunctionDescriptor strtonum$descriptor() { + return strtonum.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long long strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp) + * } + */ + public static MethodHandle strtonum$handle() { + return strtonum.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long long strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp) + * } + */ + public static MemorySegment strtonum$address() { + return strtonum.ADDR; + } + + /** + * {@snippet lang=c : + * long long strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp) + * } + */ + public static long strtonum(MemorySegment __numstr, long __minval, long __maxval, MemorySegment __errstrp) { + var mh$ = strtonum.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("strtonum", __numstr, __minval, __maxval, __errstrp); + } + return (long)mh$.invokeExact(__numstr, __minval, __maxval, __errstrp); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class strtoq { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("strtoq"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * long long strtoq(const char *__str, char **__endptr, int __base) + * } + */ + public static FunctionDescriptor strtoq$descriptor() { + return strtoq.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * long long strtoq(const char *__str, char **__endptr, int __base) + * } + */ + public static MethodHandle strtoq$handle() { + return strtoq.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * long long strtoq(const char *__str, char **__endptr, int __base) + * } + */ + public static MemorySegment strtoq$address() { + return strtoq.ADDR; + } + + /** + * {@snippet lang=c : + * long long strtoq(const char *__str, char **__endptr, int __base) + * } + */ + public static long strtoq(MemorySegment __str, MemorySegment __endptr, int __base) { + var mh$ = strtoq.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("strtoq", __str, __endptr, __base); + } + return (long)mh$.invokeExact(__str, __endptr, __base); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class strtouq { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG_LONG, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("strtouq"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * unsigned long long strtouq(const char *__str, char **__endptr, int __base) + * } + */ + public static FunctionDescriptor strtouq$descriptor() { + return strtouq.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * unsigned long long strtouq(const char *__str, char **__endptr, int __base) + * } + */ + public static MethodHandle strtouq$handle() { + return strtouq.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * unsigned long long strtouq(const char *__str, char **__endptr, int __base) + * } + */ + public static MemorySegment strtouq$address() { + return strtouq.ADDR; + } + + /** + * {@snippet lang=c : + * unsigned long long strtouq(const char *__str, char **__endptr, int __base) + * } + */ + public static long strtouq(MemorySegment __str, MemorySegment __endptr, int __base) { + var mh$ = strtouq.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("strtouq", __str, __endptr, __base); + } + return (long)mh$.invokeExact(__str, __endptr, __base); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class suboptarg$constants { + public static final AddressLayout LAYOUT = mlx_h.C_POINTER; + public static final MemorySegment SEGMENT = SYMBOL_LOOKUP.findOrThrow("suboptarg").reinterpret(LAYOUT.byteSize()); + } + + /** + * Layout for variable: + * {@snippet lang=c : + * extern char *suboptarg + * } + */ + public static AddressLayout suboptarg$layout() { + return suboptarg$constants.LAYOUT; + } + + /** + * Segment for variable: + * {@snippet lang=c : + * extern char *suboptarg + * } + */ + public static MemorySegment suboptarg$segment() { + return suboptarg$constants.SEGMENT; + } + + /** + * Getter for variable: + * {@snippet lang=c : + * extern char *suboptarg + * } + */ + public static MemorySegment suboptarg() { + return suboptarg$constants.SEGMENT.get(suboptarg$constants.LAYOUT, 0L); + } + + /** + * Setter for variable: + * {@snippet lang=c : + * extern char *suboptarg + * } + */ + public static void suboptarg(MemorySegment varValue) { + suboptarg$constants.SEGMENT.set(suboptarg$constants.LAYOUT, 0L, varValue); + } + private static final int MLX_BOOL = (int)0L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_BOOL = 0 + * } + */ + public static int MLX_BOOL() { + return MLX_BOOL; + } + private static final int MLX_UINT8 = (int)1L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_UINT8 = 1 + * } + */ + public static int MLX_UINT8() { + return MLX_UINT8; + } + private static final int MLX_UINT16 = (int)2L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_UINT16 = 2 + * } + */ + public static int MLX_UINT16() { + return MLX_UINT16; + } + private static final int MLX_UINT32 = (int)3L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_UINT32 = 3 + * } + */ + public static int MLX_UINT32() { + return MLX_UINT32; + } + private static final int MLX_UINT64 = (int)4L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_UINT64 = 4 + * } + */ + public static int MLX_UINT64() { + return MLX_UINT64; + } + private static final int MLX_INT8 = (int)5L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_INT8 = 5 + * } + */ + public static int MLX_INT8() { + return MLX_INT8; + } + private static final int MLX_INT16 = (int)6L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_INT16 = 6 + * } + */ + public static int MLX_INT16() { + return MLX_INT16; + } + private static final int MLX_INT32 = (int)7L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_INT32 = 7 + * } + */ + public static int MLX_INT32() { + return MLX_INT32; + } + private static final int MLX_INT64 = (int)8L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_INT64 = 8 + * } + */ + public static int MLX_INT64() { + return MLX_INT64; + } + private static final int MLX_FLOAT16 = (int)9L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_FLOAT16 = 9 + * } + */ + public static int MLX_FLOAT16() { + return MLX_FLOAT16; + } + private static final int MLX_FLOAT32 = (int)10L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_FLOAT32 = 10 + * } + */ + public static int MLX_FLOAT32() { + return MLX_FLOAT32; + } + private static final int MLX_FLOAT64 = (int)11L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_FLOAT64 = 11 + * } + */ + public static int MLX_FLOAT64() { + return MLX_FLOAT64; + } + private static final int MLX_BFLOAT16 = (int)12L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_BFLOAT16 = 12 + * } + */ + public static int MLX_BFLOAT16() { + return MLX_BFLOAT16; + } + private static final int MLX_COMPLEX64 = (int)13L; + /** + * {@snippet lang=c : + * enum mlx_dtype_.MLX_COMPLEX64 = 13 + * } + */ + public static int MLX_COMPLEX64() { + return MLX_COMPLEX64; + } + + private static class mlx_dtype_size { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_dtype_size"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * size_t mlx_dtype_size(mlx_dtype dtype) + * } + */ + public static FunctionDescriptor mlx_dtype_size$descriptor() { + return mlx_dtype_size.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * size_t mlx_dtype_size(mlx_dtype dtype) + * } + */ + public static MethodHandle mlx_dtype_size$handle() { + return mlx_dtype_size.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * size_t mlx_dtype_size(mlx_dtype dtype) + * } + */ + public static MemorySegment mlx_dtype_size$address() { + return mlx_dtype_size.ADDR; + } + + /** + * {@snippet lang=c : + * size_t mlx_dtype_size(mlx_dtype dtype) + * } + */ + public static long mlx_dtype_size(int dtype) { + var mh$ = mlx_dtype_size.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_dtype_size", dtype); + } + return (long)mh$.invokeExact(dtype); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_tostring { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_tostring"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_tostring(mlx_string *str, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_tostring$descriptor() { + return mlx_array_tostring.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_tostring(mlx_string *str, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_tostring$handle() { + return mlx_array_tostring.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_tostring(mlx_string *str, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_tostring$address() { + return mlx_array_tostring.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_tostring(mlx_string *str, const mlx_array arr) + * } + */ + public static int mlx_array_tostring(MemorySegment str, MemorySegment arr) { + var mh$ = mlx_array_tostring.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_tostring", str, arr); + } + return (int)mh$.invokeExact(str, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_array mlx_array_new() + * } + */ + public static class mlx_array_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_array_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_array_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_array mlx_array_new() + * } + */ + public static mlx_array_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_array_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_array_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_free(mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_free$descriptor() { + return mlx_array_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_free(mlx_array arr) + * } + */ + public static MethodHandle mlx_array_free$handle() { + return mlx_array_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_free(mlx_array arr) + * } + */ + public static MemorySegment mlx_array_free$address() { + return mlx_array_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_free(mlx_array arr) + * } + */ + public static int mlx_array_free(MemorySegment arr) { + var mh$ = mlx_array_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_free", arr); + } + return (int)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_new_bool { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_array_.layout(), + mlx_h.C_BOOL + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_new_bool"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_array mlx_array_new_bool(bool val) + * } + */ + public static FunctionDescriptor mlx_array_new_bool$descriptor() { + return mlx_array_new_bool.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_array mlx_array_new_bool(bool val) + * } + */ + public static MethodHandle mlx_array_new_bool$handle() { + return mlx_array_new_bool.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_array mlx_array_new_bool(bool val) + * } + */ + public static MemorySegment mlx_array_new_bool$address() { + return mlx_array_new_bool.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_array mlx_array_new_bool(bool val) + * } + */ + public static MemorySegment mlx_array_new_bool(SegmentAllocator allocator, boolean val) { + var mh$ = mlx_array_new_bool.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_new_bool", allocator, val); + } + return (MemorySegment)mh$.invokeExact(allocator, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_new_int { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_array_.layout(), + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_new_int"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_array mlx_array_new_int(int val) + * } + */ + public static FunctionDescriptor mlx_array_new_int$descriptor() { + return mlx_array_new_int.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_array mlx_array_new_int(int val) + * } + */ + public static MethodHandle mlx_array_new_int$handle() { + return mlx_array_new_int.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_array mlx_array_new_int(int val) + * } + */ + public static MemorySegment mlx_array_new_int$address() { + return mlx_array_new_int.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_array mlx_array_new_int(int val) + * } + */ + public static MemorySegment mlx_array_new_int(SegmentAllocator allocator, int val) { + var mh$ = mlx_array_new_int.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_new_int", allocator, val); + } + return (MemorySegment)mh$.invokeExact(allocator, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_new_float32 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_array_.layout(), + mlx_h.C_FLOAT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_new_float32"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_array mlx_array_new_float32(float val) + * } + */ + public static FunctionDescriptor mlx_array_new_float32$descriptor() { + return mlx_array_new_float32.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_array mlx_array_new_float32(float val) + * } + */ + public static MethodHandle mlx_array_new_float32$handle() { + return mlx_array_new_float32.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_array mlx_array_new_float32(float val) + * } + */ + public static MemorySegment mlx_array_new_float32$address() { + return mlx_array_new_float32.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_array mlx_array_new_float32(float val) + * } + */ + public static MemorySegment mlx_array_new_float32(SegmentAllocator allocator, float val) { + var mh$ = mlx_array_new_float32.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_new_float32", allocator, val); + } + return (MemorySegment)mh$.invokeExact(allocator, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_new_float { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_array_.layout(), + mlx_h.C_FLOAT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_new_float"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_array mlx_array_new_float(float val) + * } + */ + public static FunctionDescriptor mlx_array_new_float$descriptor() { + return mlx_array_new_float.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_array mlx_array_new_float(float val) + * } + */ + public static MethodHandle mlx_array_new_float$handle() { + return mlx_array_new_float.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_array mlx_array_new_float(float val) + * } + */ + public static MemorySegment mlx_array_new_float$address() { + return mlx_array_new_float.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_array mlx_array_new_float(float val) + * } + */ + public static MemorySegment mlx_array_new_float(SegmentAllocator allocator, float val) { + var mh$ = mlx_array_new_float.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_new_float", allocator, val); + } + return (MemorySegment)mh$.invokeExact(allocator, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_new_float64 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_array_.layout(), + mlx_h.C_DOUBLE + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_new_float64"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_array mlx_array_new_float64(double val) + * } + */ + public static FunctionDescriptor mlx_array_new_float64$descriptor() { + return mlx_array_new_float64.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_array mlx_array_new_float64(double val) + * } + */ + public static MethodHandle mlx_array_new_float64$handle() { + return mlx_array_new_float64.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_array mlx_array_new_float64(double val) + * } + */ + public static MemorySegment mlx_array_new_float64$address() { + return mlx_array_new_float64.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_array mlx_array_new_float64(double val) + * } + */ + public static MemorySegment mlx_array_new_float64(SegmentAllocator allocator, double val) { + var mh$ = mlx_array_new_float64.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_new_float64", allocator, val); + } + return (MemorySegment)mh$.invokeExact(allocator, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_new_double { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_array_.layout(), + mlx_h.C_DOUBLE + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_new_double"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_array mlx_array_new_double(double val) + * } + */ + public static FunctionDescriptor mlx_array_new_double$descriptor() { + return mlx_array_new_double.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_array mlx_array_new_double(double val) + * } + */ + public static MethodHandle mlx_array_new_double$handle() { + return mlx_array_new_double.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_array mlx_array_new_double(double val) + * } + */ + public static MemorySegment mlx_array_new_double$address() { + return mlx_array_new_double.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_array mlx_array_new_double(double val) + * } + */ + public static MemorySegment mlx_array_new_double(SegmentAllocator allocator, double val) { + var mh$ = mlx_array_new_double.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_new_double", allocator, val); + } + return (MemorySegment)mh$.invokeExact(allocator, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_new_complex { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_array_.layout(), + mlx_h.C_FLOAT, + mlx_h.C_FLOAT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_new_complex"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_array mlx_array_new_complex(float real_val, float imag_val) + * } + */ + public static FunctionDescriptor mlx_array_new_complex$descriptor() { + return mlx_array_new_complex.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_array mlx_array_new_complex(float real_val, float imag_val) + * } + */ + public static MethodHandle mlx_array_new_complex$handle() { + return mlx_array_new_complex.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_array mlx_array_new_complex(float real_val, float imag_val) + * } + */ + public static MemorySegment mlx_array_new_complex$address() { + return mlx_array_new_complex.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_array mlx_array_new_complex(float real_val, float imag_val) + * } + */ + public static MemorySegment mlx_array_new_complex(SegmentAllocator allocator, float real_val, float imag_val) { + var mh$ = mlx_array_new_complex.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_new_complex", allocator, real_val, imag_val); + } + return (MemorySegment)mh$.invokeExact(allocator, real_val, imag_val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_new_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_new_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_array mlx_array_new_data(const void *data, const int *shape, int dim, mlx_dtype dtype) + * } + */ + public static FunctionDescriptor mlx_array_new_data$descriptor() { + return mlx_array_new_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_array mlx_array_new_data(const void *data, const int *shape, int dim, mlx_dtype dtype) + * } + */ + public static MethodHandle mlx_array_new_data$handle() { + return mlx_array_new_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_array mlx_array_new_data(const void *data, const int *shape, int dim, mlx_dtype dtype) + * } + */ + public static MemorySegment mlx_array_new_data$address() { + return mlx_array_new_data.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_array mlx_array_new_data(const void *data, const int *shape, int dim, mlx_dtype dtype) + * } + */ + public static MemorySegment mlx_array_new_data(SegmentAllocator allocator, MemorySegment data, MemorySegment shape, int dim, int dtype) { + var mh$ = mlx_array_new_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_new_data", allocator, data, shape, dim, dtype); + } + return (MemorySegment)mh$.invokeExact(allocator, data, shape, dim, dtype); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_set(mlx_array *arr, const mlx_array src) + * } + */ + public static FunctionDescriptor mlx_array_set$descriptor() { + return mlx_array_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_set(mlx_array *arr, const mlx_array src) + * } + */ + public static MethodHandle mlx_array_set$handle() { + return mlx_array_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_set(mlx_array *arr, const mlx_array src) + * } + */ + public static MemorySegment mlx_array_set$address() { + return mlx_array_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_set(mlx_array *arr, const mlx_array src) + * } + */ + public static int mlx_array_set(MemorySegment arr, MemorySegment src) { + var mh$ = mlx_array_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_set", arr, src); + } + return (int)mh$.invokeExact(arr, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_set_bool { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_BOOL + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_set_bool"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_set_bool(mlx_array *arr, bool val) + * } + */ + public static FunctionDescriptor mlx_array_set_bool$descriptor() { + return mlx_array_set_bool.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_set_bool(mlx_array *arr, bool val) + * } + */ + public static MethodHandle mlx_array_set_bool$handle() { + return mlx_array_set_bool.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_set_bool(mlx_array *arr, bool val) + * } + */ + public static MemorySegment mlx_array_set_bool$address() { + return mlx_array_set_bool.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_set_bool(mlx_array *arr, bool val) + * } + */ + public static int mlx_array_set_bool(MemorySegment arr, boolean val) { + var mh$ = mlx_array_set_bool.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_set_bool", arr, val); + } + return (int)mh$.invokeExact(arr, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_set_int { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_set_int"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_set_int(mlx_array *arr, int val) + * } + */ + public static FunctionDescriptor mlx_array_set_int$descriptor() { + return mlx_array_set_int.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_set_int(mlx_array *arr, int val) + * } + */ + public static MethodHandle mlx_array_set_int$handle() { + return mlx_array_set_int.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_set_int(mlx_array *arr, int val) + * } + */ + public static MemorySegment mlx_array_set_int$address() { + return mlx_array_set_int.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_set_int(mlx_array *arr, int val) + * } + */ + public static int mlx_array_set_int(MemorySegment arr, int val) { + var mh$ = mlx_array_set_int.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_set_int", arr, val); + } + return (int)mh$.invokeExact(arr, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_set_float32 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_FLOAT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_set_float32"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_set_float32(mlx_array *arr, float val) + * } + */ + public static FunctionDescriptor mlx_array_set_float32$descriptor() { + return mlx_array_set_float32.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_set_float32(mlx_array *arr, float val) + * } + */ + public static MethodHandle mlx_array_set_float32$handle() { + return mlx_array_set_float32.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_set_float32(mlx_array *arr, float val) + * } + */ + public static MemorySegment mlx_array_set_float32$address() { + return mlx_array_set_float32.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_set_float32(mlx_array *arr, float val) + * } + */ + public static int mlx_array_set_float32(MemorySegment arr, float val) { + var mh$ = mlx_array_set_float32.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_set_float32", arr, val); + } + return (int)mh$.invokeExact(arr, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_set_float { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_FLOAT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_set_float"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_set_float(mlx_array *arr, float val) + * } + */ + public static FunctionDescriptor mlx_array_set_float$descriptor() { + return mlx_array_set_float.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_set_float(mlx_array *arr, float val) + * } + */ + public static MethodHandle mlx_array_set_float$handle() { + return mlx_array_set_float.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_set_float(mlx_array *arr, float val) + * } + */ + public static MemorySegment mlx_array_set_float$address() { + return mlx_array_set_float.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_set_float(mlx_array *arr, float val) + * } + */ + public static int mlx_array_set_float(MemorySegment arr, float val) { + var mh$ = mlx_array_set_float.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_set_float", arr, val); + } + return (int)mh$.invokeExact(arr, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_set_float64 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_DOUBLE + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_set_float64"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_set_float64(mlx_array *arr, double val) + * } + */ + public static FunctionDescriptor mlx_array_set_float64$descriptor() { + return mlx_array_set_float64.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_set_float64(mlx_array *arr, double val) + * } + */ + public static MethodHandle mlx_array_set_float64$handle() { + return mlx_array_set_float64.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_set_float64(mlx_array *arr, double val) + * } + */ + public static MemorySegment mlx_array_set_float64$address() { + return mlx_array_set_float64.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_set_float64(mlx_array *arr, double val) + * } + */ + public static int mlx_array_set_float64(MemorySegment arr, double val) { + var mh$ = mlx_array_set_float64.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_set_float64", arr, val); + } + return (int)mh$.invokeExact(arr, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_set_double { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_DOUBLE + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_set_double"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_set_double(mlx_array *arr, double val) + * } + */ + public static FunctionDescriptor mlx_array_set_double$descriptor() { + return mlx_array_set_double.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_set_double(mlx_array *arr, double val) + * } + */ + public static MethodHandle mlx_array_set_double$handle() { + return mlx_array_set_double.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_set_double(mlx_array *arr, double val) + * } + */ + public static MemorySegment mlx_array_set_double$address() { + return mlx_array_set_double.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_set_double(mlx_array *arr, double val) + * } + */ + public static int mlx_array_set_double(MemorySegment arr, double val) { + var mh$ = mlx_array_set_double.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_set_double", arr, val); + } + return (int)mh$.invokeExact(arr, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_set_complex { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_FLOAT, + mlx_h.C_FLOAT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_set_complex"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_set_complex(mlx_array *arr, float real_val, float imag_val) + * } + */ + public static FunctionDescriptor mlx_array_set_complex$descriptor() { + return mlx_array_set_complex.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_set_complex(mlx_array *arr, float real_val, float imag_val) + * } + */ + public static MethodHandle mlx_array_set_complex$handle() { + return mlx_array_set_complex.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_set_complex(mlx_array *arr, float real_val, float imag_val) + * } + */ + public static MemorySegment mlx_array_set_complex$address() { + return mlx_array_set_complex.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_set_complex(mlx_array *arr, float real_val, float imag_val) + * } + */ + public static int mlx_array_set_complex(MemorySegment arr, float real_val, float imag_val) { + var mh$ = mlx_array_set_complex.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_set_complex", arr, real_val, imag_val); + } + return (int)mh$.invokeExact(arr, real_val, imag_val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_set_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_set_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_set_data(mlx_array *arr, const void *data, const int *shape, int dim, mlx_dtype dtype) + * } + */ + public static FunctionDescriptor mlx_array_set_data$descriptor() { + return mlx_array_set_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_set_data(mlx_array *arr, const void *data, const int *shape, int dim, mlx_dtype dtype) + * } + */ + public static MethodHandle mlx_array_set_data$handle() { + return mlx_array_set_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_set_data(mlx_array *arr, const void *data, const int *shape, int dim, mlx_dtype dtype) + * } + */ + public static MemorySegment mlx_array_set_data$address() { + return mlx_array_set_data.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_set_data(mlx_array *arr, const void *data, const int *shape, int dim, mlx_dtype dtype) + * } + */ + public static int mlx_array_set_data(MemorySegment arr, MemorySegment data, MemorySegment shape, int dim, int dtype) { + var mh$ = mlx_array_set_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_set_data", arr, data, shape, dim, dtype); + } + return (int)mh$.invokeExact(arr, data, shape, dim, dtype); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_itemsize { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_itemsize"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * size_t mlx_array_itemsize(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_itemsize$descriptor() { + return mlx_array_itemsize.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * size_t mlx_array_itemsize(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_itemsize$handle() { + return mlx_array_itemsize.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * size_t mlx_array_itemsize(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_itemsize$address() { + return mlx_array_itemsize.ADDR; + } + + /** + * {@snippet lang=c : + * size_t mlx_array_itemsize(const mlx_array arr) + * } + */ + public static long mlx_array_itemsize(MemorySegment arr) { + var mh$ = mlx_array_itemsize.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_itemsize", arr); + } + return (long)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_size { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_size"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * size_t mlx_array_size(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_size$descriptor() { + return mlx_array_size.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * size_t mlx_array_size(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_size$handle() { + return mlx_array_size.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * size_t mlx_array_size(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_size$address() { + return mlx_array_size.ADDR; + } + + /** + * {@snippet lang=c : + * size_t mlx_array_size(const mlx_array arr) + * } + */ + public static long mlx_array_size(MemorySegment arr) { + var mh$ = mlx_array_size.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_size", arr); + } + return (long)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_nbytes { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_nbytes"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * size_t mlx_array_nbytes(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_nbytes$descriptor() { + return mlx_array_nbytes.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * size_t mlx_array_nbytes(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_nbytes$handle() { + return mlx_array_nbytes.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * size_t mlx_array_nbytes(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_nbytes$address() { + return mlx_array_nbytes.ADDR; + } + + /** + * {@snippet lang=c : + * size_t mlx_array_nbytes(const mlx_array arr) + * } + */ + public static long mlx_array_nbytes(MemorySegment arr) { + var mh$ = mlx_array_nbytes.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_nbytes", arr); + } + return (long)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_ndim { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_ndim"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * size_t mlx_array_ndim(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_ndim$descriptor() { + return mlx_array_ndim.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * size_t mlx_array_ndim(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_ndim$handle() { + return mlx_array_ndim.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * size_t mlx_array_ndim(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_ndim$address() { + return mlx_array_ndim.ADDR; + } + + /** + * {@snippet lang=c : + * size_t mlx_array_ndim(const mlx_array arr) + * } + */ + public static long mlx_array_ndim(MemorySegment arr) { + var mh$ = mlx_array_ndim.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_ndim", arr); + } + return (long)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_shape { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_shape"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const int *mlx_array_shape(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_shape$descriptor() { + return mlx_array_shape.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const int *mlx_array_shape(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_shape$handle() { + return mlx_array_shape.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const int *mlx_array_shape(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_shape$address() { + return mlx_array_shape.ADDR; + } + + /** + * {@snippet lang=c : + * const int *mlx_array_shape(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_shape(MemorySegment arr) { + var mh$ = mlx_array_shape.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_shape", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_strides { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_strides"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const size_t *mlx_array_strides(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_strides$descriptor() { + return mlx_array_strides.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const size_t *mlx_array_strides(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_strides$handle() { + return mlx_array_strides.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const size_t *mlx_array_strides(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_strides$address() { + return mlx_array_strides.ADDR; + } + + /** + * {@snippet lang=c : + * const size_t *mlx_array_strides(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_strides(MemorySegment arr) { + var mh$ = mlx_array_strides.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_strides", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_dim { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_array_.layout(), + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_dim"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_dim(const mlx_array arr, int dim) + * } + */ + public static FunctionDescriptor mlx_array_dim$descriptor() { + return mlx_array_dim.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_dim(const mlx_array arr, int dim) + * } + */ + public static MethodHandle mlx_array_dim$handle() { + return mlx_array_dim.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_dim(const mlx_array arr, int dim) + * } + */ + public static MemorySegment mlx_array_dim$address() { + return mlx_array_dim.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_dim(const mlx_array arr, int dim) + * } + */ + public static int mlx_array_dim(MemorySegment arr, int dim) { + var mh$ = mlx_array_dim.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_dim", arr, dim); + } + return (int)mh$.invokeExact(arr, dim); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_dtype { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_dtype"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_dtype mlx_array_dtype(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_dtype$descriptor() { + return mlx_array_dtype.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_dtype mlx_array_dtype(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_dtype$handle() { + return mlx_array_dtype.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_dtype mlx_array_dtype(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_dtype$address() { + return mlx_array_dtype.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_dtype mlx_array_dtype(const mlx_array arr) + * } + */ + public static int mlx_array_dtype(MemorySegment arr) { + var mh$ = mlx_array_dtype.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_dtype", arr); + } + return (int)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_eval { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_eval"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_eval(mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_eval$descriptor() { + return mlx_array_eval.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_eval(mlx_array arr) + * } + */ + public static MethodHandle mlx_array_eval$handle() { + return mlx_array_eval.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_eval(mlx_array arr) + * } + */ + public static MemorySegment mlx_array_eval$address() { + return mlx_array_eval.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_eval(mlx_array arr) + * } + */ + public static int mlx_array_eval(MemorySegment arr) { + var mh$ = mlx_array_eval.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_eval", arr); + } + return (int)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_bool { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_bool"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_bool(bool *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_bool$descriptor() { + return mlx_array_item_bool.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_bool(bool *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_bool$handle() { + return mlx_array_item_bool.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_bool(bool *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_bool$address() { + return mlx_array_item_bool.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_bool(bool *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_bool(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_bool.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_bool", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_uint8 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_uint8"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_uint8(uint8_t *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_uint8$descriptor() { + return mlx_array_item_uint8.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_uint8(uint8_t *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_uint8$handle() { + return mlx_array_item_uint8.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_uint8(uint8_t *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_uint8$address() { + return mlx_array_item_uint8.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_uint8(uint8_t *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_uint8(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_uint8.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_uint8", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_uint16 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_uint16"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_uint16(uint16_t *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_uint16$descriptor() { + return mlx_array_item_uint16.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_uint16(uint16_t *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_uint16$handle() { + return mlx_array_item_uint16.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_uint16(uint16_t *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_uint16$address() { + return mlx_array_item_uint16.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_uint16(uint16_t *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_uint16(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_uint16.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_uint16", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_uint32 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_uint32"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_uint32(uint32_t *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_uint32$descriptor() { + return mlx_array_item_uint32.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_uint32(uint32_t *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_uint32$handle() { + return mlx_array_item_uint32.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_uint32(uint32_t *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_uint32$address() { + return mlx_array_item_uint32.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_uint32(uint32_t *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_uint32(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_uint32.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_uint32", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_uint64 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_uint64"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_uint64(uint64_t *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_uint64$descriptor() { + return mlx_array_item_uint64.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_uint64(uint64_t *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_uint64$handle() { + return mlx_array_item_uint64.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_uint64(uint64_t *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_uint64$address() { + return mlx_array_item_uint64.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_uint64(uint64_t *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_uint64(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_uint64.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_uint64", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_int8 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_int8"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_int8(int8_t *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_int8$descriptor() { + return mlx_array_item_int8.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_int8(int8_t *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_int8$handle() { + return mlx_array_item_int8.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_int8(int8_t *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_int8$address() { + return mlx_array_item_int8.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_int8(int8_t *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_int8(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_int8.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_int8", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_int16 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_int16"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_int16(int16_t *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_int16$descriptor() { + return mlx_array_item_int16.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_int16(int16_t *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_int16$handle() { + return mlx_array_item_int16.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_int16(int16_t *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_int16$address() { + return mlx_array_item_int16.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_int16(int16_t *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_int16(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_int16.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_int16", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_int32 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_int32"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_int32(int32_t *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_int32$descriptor() { + return mlx_array_item_int32.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_int32(int32_t *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_int32$handle() { + return mlx_array_item_int32.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_int32(int32_t *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_int32$address() { + return mlx_array_item_int32.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_int32(int32_t *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_int32(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_int32.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_int32", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_int64 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_int64"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_int64(int64_t *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_int64$descriptor() { + return mlx_array_item_int64.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_int64(int64_t *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_int64$handle() { + return mlx_array_item_int64.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_int64(int64_t *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_int64$address() { + return mlx_array_item_int64.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_int64(int64_t *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_int64(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_int64.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_int64", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_float32 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_float32"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_float32(float *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_float32$descriptor() { + return mlx_array_item_float32.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_float32(float *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_float32$handle() { + return mlx_array_item_float32.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_float32(float *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_float32$address() { + return mlx_array_item_float32.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_float32(float *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_float32(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_float32.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_float32", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_float64 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_float64"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_float64(double *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_float64$descriptor() { + return mlx_array_item_float64.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_float64(double *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_float64$handle() { + return mlx_array_item_float64.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_float64(double *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_float64$address() { + return mlx_array_item_float64.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_float64(double *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_float64(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_float64.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_float64", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_complex64 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_complex64"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_complex64(_Complex float *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_complex64$descriptor() { + return mlx_array_item_complex64.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_complex64(_Complex float *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_complex64$handle() { + return mlx_array_item_complex64.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_complex64(_Complex float *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_complex64$address() { + return mlx_array_item_complex64.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_complex64(_Complex float *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_complex64(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_complex64.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_complex64", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_float16 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_float16"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_float16(float16_t *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_float16$descriptor() { + return mlx_array_item_float16.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_float16(float16_t *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_float16$handle() { + return mlx_array_item_float16.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_float16(float16_t *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_float16$address() { + return mlx_array_item_float16.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_float16(float16_t *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_float16(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_float16.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_float16", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_item_bfloat16 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_item_bfloat16"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_array_item_bfloat16(bfloat16_t *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_item_bfloat16$descriptor() { + return mlx_array_item_bfloat16.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_array_item_bfloat16(bfloat16_t *res, const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_item_bfloat16$handle() { + return mlx_array_item_bfloat16.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_array_item_bfloat16(bfloat16_t *res, const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_item_bfloat16$address() { + return mlx_array_item_bfloat16.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_array_item_bfloat16(bfloat16_t *res, const mlx_array arr) + * } + */ + public static int mlx_array_item_bfloat16(MemorySegment res, MemorySegment arr) { + var mh$ = mlx_array_item_bfloat16.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_item_bfloat16", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_bool { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_bool"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const bool *mlx_array_data_bool(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_bool$descriptor() { + return mlx_array_data_bool.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const bool *mlx_array_data_bool(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_bool$handle() { + return mlx_array_data_bool.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const bool *mlx_array_data_bool(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_bool$address() { + return mlx_array_data_bool.ADDR; + } + + /** + * {@snippet lang=c : + * const bool *mlx_array_data_bool(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_bool(MemorySegment arr) { + var mh$ = mlx_array_data_bool.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_bool", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_uint8 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_uint8"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const uint8_t *mlx_array_data_uint8(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_uint8$descriptor() { + return mlx_array_data_uint8.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const uint8_t *mlx_array_data_uint8(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_uint8$handle() { + return mlx_array_data_uint8.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const uint8_t *mlx_array_data_uint8(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_uint8$address() { + return mlx_array_data_uint8.ADDR; + } + + /** + * {@snippet lang=c : + * const uint8_t *mlx_array_data_uint8(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_uint8(MemorySegment arr) { + var mh$ = mlx_array_data_uint8.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_uint8", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_uint16 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_uint16"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const uint16_t *mlx_array_data_uint16(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_uint16$descriptor() { + return mlx_array_data_uint16.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const uint16_t *mlx_array_data_uint16(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_uint16$handle() { + return mlx_array_data_uint16.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const uint16_t *mlx_array_data_uint16(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_uint16$address() { + return mlx_array_data_uint16.ADDR; + } + + /** + * {@snippet lang=c : + * const uint16_t *mlx_array_data_uint16(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_uint16(MemorySegment arr) { + var mh$ = mlx_array_data_uint16.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_uint16", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_uint32 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_uint32"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const uint32_t *mlx_array_data_uint32(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_uint32$descriptor() { + return mlx_array_data_uint32.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const uint32_t *mlx_array_data_uint32(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_uint32$handle() { + return mlx_array_data_uint32.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const uint32_t *mlx_array_data_uint32(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_uint32$address() { + return mlx_array_data_uint32.ADDR; + } + + /** + * {@snippet lang=c : + * const uint32_t *mlx_array_data_uint32(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_uint32(MemorySegment arr) { + var mh$ = mlx_array_data_uint32.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_uint32", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_uint64 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_uint64"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const uint64_t *mlx_array_data_uint64(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_uint64$descriptor() { + return mlx_array_data_uint64.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const uint64_t *mlx_array_data_uint64(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_uint64$handle() { + return mlx_array_data_uint64.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const uint64_t *mlx_array_data_uint64(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_uint64$address() { + return mlx_array_data_uint64.ADDR; + } + + /** + * {@snippet lang=c : + * const uint64_t *mlx_array_data_uint64(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_uint64(MemorySegment arr) { + var mh$ = mlx_array_data_uint64.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_uint64", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_int8 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_int8"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const int8_t *mlx_array_data_int8(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_int8$descriptor() { + return mlx_array_data_int8.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const int8_t *mlx_array_data_int8(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_int8$handle() { + return mlx_array_data_int8.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const int8_t *mlx_array_data_int8(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_int8$address() { + return mlx_array_data_int8.ADDR; + } + + /** + * {@snippet lang=c : + * const int8_t *mlx_array_data_int8(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_int8(MemorySegment arr) { + var mh$ = mlx_array_data_int8.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_int8", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_int16 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_int16"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const int16_t *mlx_array_data_int16(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_int16$descriptor() { + return mlx_array_data_int16.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const int16_t *mlx_array_data_int16(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_int16$handle() { + return mlx_array_data_int16.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const int16_t *mlx_array_data_int16(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_int16$address() { + return mlx_array_data_int16.ADDR; + } + + /** + * {@snippet lang=c : + * const int16_t *mlx_array_data_int16(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_int16(MemorySegment arr) { + var mh$ = mlx_array_data_int16.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_int16", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_int32 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_int32"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const int32_t *mlx_array_data_int32(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_int32$descriptor() { + return mlx_array_data_int32.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const int32_t *mlx_array_data_int32(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_int32$handle() { + return mlx_array_data_int32.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const int32_t *mlx_array_data_int32(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_int32$address() { + return mlx_array_data_int32.ADDR; + } + + /** + * {@snippet lang=c : + * const int32_t *mlx_array_data_int32(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_int32(MemorySegment arr) { + var mh$ = mlx_array_data_int32.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_int32", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_int64 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_int64"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const int64_t *mlx_array_data_int64(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_int64$descriptor() { + return mlx_array_data_int64.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const int64_t *mlx_array_data_int64(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_int64$handle() { + return mlx_array_data_int64.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const int64_t *mlx_array_data_int64(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_int64$address() { + return mlx_array_data_int64.ADDR; + } + + /** + * {@snippet lang=c : + * const int64_t *mlx_array_data_int64(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_int64(MemorySegment arr) { + var mh$ = mlx_array_data_int64.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_int64", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_float32 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_float32"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const float *mlx_array_data_float32(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_float32$descriptor() { + return mlx_array_data_float32.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const float *mlx_array_data_float32(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_float32$handle() { + return mlx_array_data_float32.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const float *mlx_array_data_float32(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_float32$address() { + return mlx_array_data_float32.ADDR; + } + + /** + * {@snippet lang=c : + * const float *mlx_array_data_float32(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_float32(MemorySegment arr) { + var mh$ = mlx_array_data_float32.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_float32", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_float64 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_float64"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const double *mlx_array_data_float64(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_float64$descriptor() { + return mlx_array_data_float64.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const double *mlx_array_data_float64(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_float64$handle() { + return mlx_array_data_float64.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const double *mlx_array_data_float64(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_float64$address() { + return mlx_array_data_float64.ADDR; + } + + /** + * {@snippet lang=c : + * const double *mlx_array_data_float64(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_float64(MemorySegment arr) { + var mh$ = mlx_array_data_float64.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_float64", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_complex64 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_complex64"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const _Complex float *mlx_array_data_complex64(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_complex64$descriptor() { + return mlx_array_data_complex64.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const _Complex float *mlx_array_data_complex64(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_complex64$handle() { + return mlx_array_data_complex64.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const _Complex float *mlx_array_data_complex64(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_complex64$address() { + return mlx_array_data_complex64.ADDR; + } + + /** + * {@snippet lang=c : + * const _Complex float *mlx_array_data_complex64(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_complex64(MemorySegment arr) { + var mh$ = mlx_array_data_complex64.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_complex64", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_float16 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_float16"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const float16_t *mlx_array_data_float16(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_float16$descriptor() { + return mlx_array_data_float16.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const float16_t *mlx_array_data_float16(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_float16$handle() { + return mlx_array_data_float16.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const float16_t *mlx_array_data_float16(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_float16$address() { + return mlx_array_data_float16.ADDR; + } + + /** + * {@snippet lang=c : + * const float16_t *mlx_array_data_float16(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_float16(MemorySegment arr) { + var mh$ = mlx_array_data_float16.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_float16", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_array_data_bfloat16 { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_array_data_bfloat16"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * const bfloat16_t *mlx_array_data_bfloat16(const mlx_array arr) + * } + */ + public static FunctionDescriptor mlx_array_data_bfloat16$descriptor() { + return mlx_array_data_bfloat16.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * const bfloat16_t *mlx_array_data_bfloat16(const mlx_array arr) + * } + */ + public static MethodHandle mlx_array_data_bfloat16$handle() { + return mlx_array_data_bfloat16.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * const bfloat16_t *mlx_array_data_bfloat16(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_bfloat16$address() { + return mlx_array_data_bfloat16.ADDR; + } + + /** + * {@snippet lang=c : + * const bfloat16_t *mlx_array_data_bfloat16(const mlx_array arr) + * } + */ + public static MemorySegment mlx_array_data_bfloat16(MemorySegment arr) { + var mh$ = mlx_array_data_bfloat16.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_array_data_bfloat16", arr); + } + return (MemorySegment)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class _mlx_array_is_available { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("_mlx_array_is_available"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int _mlx_array_is_available(bool *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor _mlx_array_is_available$descriptor() { + return _mlx_array_is_available.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int _mlx_array_is_available(bool *res, const mlx_array arr) + * } + */ + public static MethodHandle _mlx_array_is_available$handle() { + return _mlx_array_is_available.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int _mlx_array_is_available(bool *res, const mlx_array arr) + * } + */ + public static MemorySegment _mlx_array_is_available$address() { + return _mlx_array_is_available.ADDR; + } + + /** + * {@snippet lang=c : + * int _mlx_array_is_available(bool *res, const mlx_array arr) + * } + */ + public static int _mlx_array_is_available(MemorySegment res, MemorySegment arr) { + var mh$ = _mlx_array_is_available.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("_mlx_array_is_available", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class _mlx_array_wait { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("_mlx_array_wait"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int _mlx_array_wait(const mlx_array arr) + * } + */ + public static FunctionDescriptor _mlx_array_wait$descriptor() { + return _mlx_array_wait.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int _mlx_array_wait(const mlx_array arr) + * } + */ + public static MethodHandle _mlx_array_wait$handle() { + return _mlx_array_wait.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int _mlx_array_wait(const mlx_array arr) + * } + */ + public static MemorySegment _mlx_array_wait$address() { + return _mlx_array_wait.ADDR; + } + + /** + * {@snippet lang=c : + * int _mlx_array_wait(const mlx_array arr) + * } + */ + public static int _mlx_array_wait(MemorySegment arr) { + var mh$ = _mlx_array_wait.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("_mlx_array_wait", arr); + } + return (int)mh$.invokeExact(arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class _mlx_array_is_contiguous { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("_mlx_array_is_contiguous"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int _mlx_array_is_contiguous(bool *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor _mlx_array_is_contiguous$descriptor() { + return _mlx_array_is_contiguous.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int _mlx_array_is_contiguous(bool *res, const mlx_array arr) + * } + */ + public static MethodHandle _mlx_array_is_contiguous$handle() { + return _mlx_array_is_contiguous.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int _mlx_array_is_contiguous(bool *res, const mlx_array arr) + * } + */ + public static MemorySegment _mlx_array_is_contiguous$address() { + return _mlx_array_is_contiguous.ADDR; + } + + /** + * {@snippet lang=c : + * int _mlx_array_is_contiguous(bool *res, const mlx_array arr) + * } + */ + public static int _mlx_array_is_contiguous(MemorySegment res, MemorySegment arr) { + var mh$ = _mlx_array_is_contiguous.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("_mlx_array_is_contiguous", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class _mlx_array_is_row_contiguous { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("_mlx_array_is_row_contiguous"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int _mlx_array_is_row_contiguous(bool *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor _mlx_array_is_row_contiguous$descriptor() { + return _mlx_array_is_row_contiguous.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int _mlx_array_is_row_contiguous(bool *res, const mlx_array arr) + * } + */ + public static MethodHandle _mlx_array_is_row_contiguous$handle() { + return _mlx_array_is_row_contiguous.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int _mlx_array_is_row_contiguous(bool *res, const mlx_array arr) + * } + */ + public static MemorySegment _mlx_array_is_row_contiguous$address() { + return _mlx_array_is_row_contiguous.ADDR; + } + + /** + * {@snippet lang=c : + * int _mlx_array_is_row_contiguous(bool *res, const mlx_array arr) + * } + */ + public static int _mlx_array_is_row_contiguous(MemorySegment res, MemorySegment arr) { + var mh$ = _mlx_array_is_row_contiguous.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("_mlx_array_is_row_contiguous", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class _mlx_array_is_col_contiguous { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("_mlx_array_is_col_contiguous"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int _mlx_array_is_col_contiguous(bool *res, const mlx_array arr) + * } + */ + public static FunctionDescriptor _mlx_array_is_col_contiguous$descriptor() { + return _mlx_array_is_col_contiguous.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int _mlx_array_is_col_contiguous(bool *res, const mlx_array arr) + * } + */ + public static MethodHandle _mlx_array_is_col_contiguous$handle() { + return _mlx_array_is_col_contiguous.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int _mlx_array_is_col_contiguous(bool *res, const mlx_array arr) + * } + */ + public static MemorySegment _mlx_array_is_col_contiguous$address() { + return _mlx_array_is_col_contiguous.ADDR; + } + + /** + * {@snippet lang=c : + * int _mlx_array_is_col_contiguous(bool *res, const mlx_array arr) + * } + */ + public static int _mlx_array_is_col_contiguous(MemorySegment res, MemorySegment arr) { + var mh$ = _mlx_array_is_col_contiguous.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("_mlx_array_is_col_contiguous", res, arr); + } + return (int)mh$.invokeExact(res, arr); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_array_new { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_map_string_to_array_.layout() ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_array_new"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_map_string_to_array mlx_map_string_to_array_new(void) + * } + */ + public static FunctionDescriptor mlx_map_string_to_array_new$descriptor() { + return mlx_map_string_to_array_new.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_map_string_to_array mlx_map_string_to_array_new(void) + * } + */ + public static MethodHandle mlx_map_string_to_array_new$handle() { + return mlx_map_string_to_array_new.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_map_string_to_array mlx_map_string_to_array_new(void) + * } + */ + public static MemorySegment mlx_map_string_to_array_new$address() { + return mlx_map_string_to_array_new.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_map_string_to_array mlx_map_string_to_array_new(void) + * } + */ + public static MemorySegment mlx_map_string_to_array_new(SegmentAllocator allocator) { + var mh$ = mlx_map_string_to_array_new.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_array_new", allocator); + } + return (MemorySegment)mh$.invokeExact(allocator); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_array_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_map_string_to_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_array_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_array_set(mlx_map_string_to_array *map, const mlx_map_string_to_array src) + * } + */ + public static FunctionDescriptor mlx_map_string_to_array_set$descriptor() { + return mlx_map_string_to_array_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_array_set(mlx_map_string_to_array *map, const mlx_map_string_to_array src) + * } + */ + public static MethodHandle mlx_map_string_to_array_set$handle() { + return mlx_map_string_to_array_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_array_set(mlx_map_string_to_array *map, const mlx_map_string_to_array src) + * } + */ + public static MemorySegment mlx_map_string_to_array_set$address() { + return mlx_map_string_to_array_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_array_set(mlx_map_string_to_array *map, const mlx_map_string_to_array src) + * } + */ + public static int mlx_map_string_to_array_set(MemorySegment map, MemorySegment src) { + var mh$ = mlx_map_string_to_array_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_array_set", map, src); + } + return (int)mh$.invokeExact(map, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_array_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_map_string_to_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_array_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_array_free(mlx_map_string_to_array map) + * } + */ + public static FunctionDescriptor mlx_map_string_to_array_free$descriptor() { + return mlx_map_string_to_array_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_array_free(mlx_map_string_to_array map) + * } + */ + public static MethodHandle mlx_map_string_to_array_free$handle() { + return mlx_map_string_to_array_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_array_free(mlx_map_string_to_array map) + * } + */ + public static MemorySegment mlx_map_string_to_array_free$address() { + return mlx_map_string_to_array_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_array_free(mlx_map_string_to_array map) + * } + */ + public static int mlx_map_string_to_array_free(MemorySegment map) { + var mh$ = mlx_map_string_to_array_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_array_free", map); + } + return (int)mh$.invokeExact(map); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_array_insert { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_map_string_to_array_.layout(), + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_array_insert"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_array_insert(mlx_map_string_to_array map, const char *key, const mlx_array value) + * } + */ + public static FunctionDescriptor mlx_map_string_to_array_insert$descriptor() { + return mlx_map_string_to_array_insert.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_array_insert(mlx_map_string_to_array map, const char *key, const mlx_array value) + * } + */ + public static MethodHandle mlx_map_string_to_array_insert$handle() { + return mlx_map_string_to_array_insert.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_array_insert(mlx_map_string_to_array map, const char *key, const mlx_array value) + * } + */ + public static MemorySegment mlx_map_string_to_array_insert$address() { + return mlx_map_string_to_array_insert.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_array_insert(mlx_map_string_to_array map, const char *key, const mlx_array value) + * } + */ + public static int mlx_map_string_to_array_insert(MemorySegment map, MemorySegment key, MemorySegment value) { + var mh$ = mlx_map_string_to_array_insert.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_array_insert", map, key, value); + } + return (int)mh$.invokeExact(map, key, value); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_array_get { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_map_string_to_array_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_array_get"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_array_get(mlx_array *value, const mlx_map_string_to_array map, const char *key) + * } + */ + public static FunctionDescriptor mlx_map_string_to_array_get$descriptor() { + return mlx_map_string_to_array_get.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_array_get(mlx_array *value, const mlx_map_string_to_array map, const char *key) + * } + */ + public static MethodHandle mlx_map_string_to_array_get$handle() { + return mlx_map_string_to_array_get.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_array_get(mlx_array *value, const mlx_map_string_to_array map, const char *key) + * } + */ + public static MemorySegment mlx_map_string_to_array_get$address() { + return mlx_map_string_to_array_get.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_array_get(mlx_array *value, const mlx_map_string_to_array map, const char *key) + * } + */ + public static int mlx_map_string_to_array_get(MemorySegment value, MemorySegment map, MemorySegment key) { + var mh$ = mlx_map_string_to_array_get.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_array_get", value, map, key); + } + return (int)mh$.invokeExact(value, map, key); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_array_iterator_new { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_map_string_to_array_iterator_.layout(), + mlx_map_string_to_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_array_iterator_new"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_map_string_to_array_iterator mlx_map_string_to_array_iterator_new(mlx_map_string_to_array map) + * } + */ + public static FunctionDescriptor mlx_map_string_to_array_iterator_new$descriptor() { + return mlx_map_string_to_array_iterator_new.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_map_string_to_array_iterator mlx_map_string_to_array_iterator_new(mlx_map_string_to_array map) + * } + */ + public static MethodHandle mlx_map_string_to_array_iterator_new$handle() { + return mlx_map_string_to_array_iterator_new.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_map_string_to_array_iterator mlx_map_string_to_array_iterator_new(mlx_map_string_to_array map) + * } + */ + public static MemorySegment mlx_map_string_to_array_iterator_new$address() { + return mlx_map_string_to_array_iterator_new.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_map_string_to_array_iterator mlx_map_string_to_array_iterator_new(mlx_map_string_to_array map) + * } + */ + public static MemorySegment mlx_map_string_to_array_iterator_new(SegmentAllocator allocator, MemorySegment map) { + var mh$ = mlx_map_string_to_array_iterator_new.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_array_iterator_new", allocator, map); + } + return (MemorySegment)mh$.invokeExact(allocator, map); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_array_iterator_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_map_string_to_array_iterator_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_array_iterator_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_array_iterator_free(mlx_map_string_to_array_iterator it) + * } + */ + public static FunctionDescriptor mlx_map_string_to_array_iterator_free$descriptor() { + return mlx_map_string_to_array_iterator_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_array_iterator_free(mlx_map_string_to_array_iterator it) + * } + */ + public static MethodHandle mlx_map_string_to_array_iterator_free$handle() { + return mlx_map_string_to_array_iterator_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_array_iterator_free(mlx_map_string_to_array_iterator it) + * } + */ + public static MemorySegment mlx_map_string_to_array_iterator_free$address() { + return mlx_map_string_to_array_iterator_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_array_iterator_free(mlx_map_string_to_array_iterator it) + * } + */ + public static int mlx_map_string_to_array_iterator_free(MemorySegment it) { + var mh$ = mlx_map_string_to_array_iterator_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_array_iterator_free", it); + } + return (int)mh$.invokeExact(it); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_array_iterator_next { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_map_string_to_array_iterator_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_array_iterator_next"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_array_iterator_next(const char **key, mlx_array *value, mlx_map_string_to_array_iterator it) + * } + */ + public static FunctionDescriptor mlx_map_string_to_array_iterator_next$descriptor() { + return mlx_map_string_to_array_iterator_next.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_array_iterator_next(const char **key, mlx_array *value, mlx_map_string_to_array_iterator it) + * } + */ + public static MethodHandle mlx_map_string_to_array_iterator_next$handle() { + return mlx_map_string_to_array_iterator_next.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_array_iterator_next(const char **key, mlx_array *value, mlx_map_string_to_array_iterator it) + * } + */ + public static MemorySegment mlx_map_string_to_array_iterator_next$address() { + return mlx_map_string_to_array_iterator_next.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_array_iterator_next(const char **key, mlx_array *value, mlx_map_string_to_array_iterator it) + * } + */ + public static int mlx_map_string_to_array_iterator_next(MemorySegment key, MemorySegment value, MemorySegment it) { + var mh$ = mlx_map_string_to_array_iterator_next.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_array_iterator_next", key, value, it); + } + return (int)mh$.invokeExact(key, value, it); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_string_new { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_map_string_to_string_.layout() ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_string_new"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_map_string_to_string mlx_map_string_to_string_new(void) + * } + */ + public static FunctionDescriptor mlx_map_string_to_string_new$descriptor() { + return mlx_map_string_to_string_new.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_map_string_to_string mlx_map_string_to_string_new(void) + * } + */ + public static MethodHandle mlx_map_string_to_string_new$handle() { + return mlx_map_string_to_string_new.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_map_string_to_string mlx_map_string_to_string_new(void) + * } + */ + public static MemorySegment mlx_map_string_to_string_new$address() { + return mlx_map_string_to_string_new.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_map_string_to_string mlx_map_string_to_string_new(void) + * } + */ + public static MemorySegment mlx_map_string_to_string_new(SegmentAllocator allocator) { + var mh$ = mlx_map_string_to_string_new.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_string_new", allocator); + } + return (MemorySegment)mh$.invokeExact(allocator); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_string_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_map_string_to_string_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_string_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_string_set(mlx_map_string_to_string *map, const mlx_map_string_to_string src) + * } + */ + public static FunctionDescriptor mlx_map_string_to_string_set$descriptor() { + return mlx_map_string_to_string_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_string_set(mlx_map_string_to_string *map, const mlx_map_string_to_string src) + * } + */ + public static MethodHandle mlx_map_string_to_string_set$handle() { + return mlx_map_string_to_string_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_string_set(mlx_map_string_to_string *map, const mlx_map_string_to_string src) + * } + */ + public static MemorySegment mlx_map_string_to_string_set$address() { + return mlx_map_string_to_string_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_string_set(mlx_map_string_to_string *map, const mlx_map_string_to_string src) + * } + */ + public static int mlx_map_string_to_string_set(MemorySegment map, MemorySegment src) { + var mh$ = mlx_map_string_to_string_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_string_set", map, src); + } + return (int)mh$.invokeExact(map, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_string_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_map_string_to_string_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_string_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_string_free(mlx_map_string_to_string map) + * } + */ + public static FunctionDescriptor mlx_map_string_to_string_free$descriptor() { + return mlx_map_string_to_string_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_string_free(mlx_map_string_to_string map) + * } + */ + public static MethodHandle mlx_map_string_to_string_free$handle() { + return mlx_map_string_to_string_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_string_free(mlx_map_string_to_string map) + * } + */ + public static MemorySegment mlx_map_string_to_string_free$address() { + return mlx_map_string_to_string_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_string_free(mlx_map_string_to_string map) + * } + */ + public static int mlx_map_string_to_string_free(MemorySegment map) { + var mh$ = mlx_map_string_to_string_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_string_free", map); + } + return (int)mh$.invokeExact(map); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_string_insert { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_map_string_to_string_.layout(), + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_string_insert"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_string_insert(mlx_map_string_to_string map, const char *key, const char *value) + * } + */ + public static FunctionDescriptor mlx_map_string_to_string_insert$descriptor() { + return mlx_map_string_to_string_insert.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_string_insert(mlx_map_string_to_string map, const char *key, const char *value) + * } + */ + public static MethodHandle mlx_map_string_to_string_insert$handle() { + return mlx_map_string_to_string_insert.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_string_insert(mlx_map_string_to_string map, const char *key, const char *value) + * } + */ + public static MemorySegment mlx_map_string_to_string_insert$address() { + return mlx_map_string_to_string_insert.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_string_insert(mlx_map_string_to_string map, const char *key, const char *value) + * } + */ + public static int mlx_map_string_to_string_insert(MemorySegment map, MemorySegment key, MemorySegment value) { + var mh$ = mlx_map_string_to_string_insert.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_string_insert", map, key, value); + } + return (int)mh$.invokeExact(map, key, value); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_string_get { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_map_string_to_string_.layout(), + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_string_get"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_string_get(const char **value, const mlx_map_string_to_string map, const char *key) + * } + */ + public static FunctionDescriptor mlx_map_string_to_string_get$descriptor() { + return mlx_map_string_to_string_get.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_string_get(const char **value, const mlx_map_string_to_string map, const char *key) + * } + */ + public static MethodHandle mlx_map_string_to_string_get$handle() { + return mlx_map_string_to_string_get.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_string_get(const char **value, const mlx_map_string_to_string map, const char *key) + * } + */ + public static MemorySegment mlx_map_string_to_string_get$address() { + return mlx_map_string_to_string_get.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_string_get(const char **value, const mlx_map_string_to_string map, const char *key) + * } + */ + public static int mlx_map_string_to_string_get(MemorySegment value, MemorySegment map, MemorySegment key) { + var mh$ = mlx_map_string_to_string_get.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_string_get", value, map, key); + } + return (int)mh$.invokeExact(value, map, key); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_string_iterator_new { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_map_string_to_string_iterator_.layout(), + mlx_map_string_to_string_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_string_iterator_new"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_map_string_to_string_iterator mlx_map_string_to_string_iterator_new(mlx_map_string_to_string map) + * } + */ + public static FunctionDescriptor mlx_map_string_to_string_iterator_new$descriptor() { + return mlx_map_string_to_string_iterator_new.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_map_string_to_string_iterator mlx_map_string_to_string_iterator_new(mlx_map_string_to_string map) + * } + */ + public static MethodHandle mlx_map_string_to_string_iterator_new$handle() { + return mlx_map_string_to_string_iterator_new.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_map_string_to_string_iterator mlx_map_string_to_string_iterator_new(mlx_map_string_to_string map) + * } + */ + public static MemorySegment mlx_map_string_to_string_iterator_new$address() { + return mlx_map_string_to_string_iterator_new.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_map_string_to_string_iterator mlx_map_string_to_string_iterator_new(mlx_map_string_to_string map) + * } + */ + public static MemorySegment mlx_map_string_to_string_iterator_new(SegmentAllocator allocator, MemorySegment map) { + var mh$ = mlx_map_string_to_string_iterator_new.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_string_iterator_new", allocator, map); + } + return (MemorySegment)mh$.invokeExact(allocator, map); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_string_iterator_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_map_string_to_string_iterator_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_string_iterator_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_string_iterator_free(mlx_map_string_to_string_iterator it) + * } + */ + public static FunctionDescriptor mlx_map_string_to_string_iterator_free$descriptor() { + return mlx_map_string_to_string_iterator_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_string_iterator_free(mlx_map_string_to_string_iterator it) + * } + */ + public static MethodHandle mlx_map_string_to_string_iterator_free$handle() { + return mlx_map_string_to_string_iterator_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_string_iterator_free(mlx_map_string_to_string_iterator it) + * } + */ + public static MemorySegment mlx_map_string_to_string_iterator_free$address() { + return mlx_map_string_to_string_iterator_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_string_iterator_free(mlx_map_string_to_string_iterator it) + * } + */ + public static int mlx_map_string_to_string_iterator_free(MemorySegment it) { + var mh$ = mlx_map_string_to_string_iterator_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_string_iterator_free", it); + } + return (int)mh$.invokeExact(it); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_map_string_to_string_iterator_next { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_map_string_to_string_iterator_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_map_string_to_string_iterator_next"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_map_string_to_string_iterator_next(const char **key, const char **value, mlx_map_string_to_string_iterator it) + * } + */ + public static FunctionDescriptor mlx_map_string_to_string_iterator_next$descriptor() { + return mlx_map_string_to_string_iterator_next.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_map_string_to_string_iterator_next(const char **key, const char **value, mlx_map_string_to_string_iterator it) + * } + */ + public static MethodHandle mlx_map_string_to_string_iterator_next$handle() { + return mlx_map_string_to_string_iterator_next.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_map_string_to_string_iterator_next(const char **key, const char **value, mlx_map_string_to_string_iterator it) + * } + */ + public static MemorySegment mlx_map_string_to_string_iterator_next$address() { + return mlx_map_string_to_string_iterator_next.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_map_string_to_string_iterator_next(const char **key, const char **value, mlx_map_string_to_string_iterator it) + * } + */ + public static int mlx_map_string_to_string_iterator_next(MemorySegment key, MemorySegment value, MemorySegment it) { + var mh$ = mlx_map_string_to_string_iterator_next.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_map_string_to_string_iterator_next", key, value, it); + } + return (int)mh$.invokeExact(key, value, it); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + private static final int MLX_CPU = (int)0L; + /** + * {@snippet lang=c : + * enum mlx_device_type_.MLX_CPU = 0 + * } + */ + public static int MLX_CPU() { + return MLX_CPU; + } + private static final int MLX_GPU = (int)1L; + /** + * {@snippet lang=c : + * enum mlx_device_type_.MLX_GPU = 1 + * } + */ + public static int MLX_GPU() { + return MLX_GPU; + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_device mlx_device_new() + * } + */ + public static class mlx_device_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_device_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_device_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_device_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_device mlx_device_new() + * } + */ + public static mlx_device_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_device_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_device_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_device_new_type { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_device_.layout(), + mlx_h.C_INT, + mlx_h.C_INT + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_device_new_type"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_device mlx_device_new_type(mlx_device_type type, int index) + * } + */ + public static FunctionDescriptor mlx_device_new_type$descriptor() { + return mlx_device_new_type.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_device mlx_device_new_type(mlx_device_type type, int index) + * } + */ + public static MethodHandle mlx_device_new_type$handle() { + return mlx_device_new_type.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_device mlx_device_new_type(mlx_device_type type, int index) + * } + */ + public static MemorySegment mlx_device_new_type$address() { + return mlx_device_new_type.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_device mlx_device_new_type(mlx_device_type type, int index) + * } + */ + public static MemorySegment mlx_device_new_type(SegmentAllocator allocator, int type, int index) { + var mh$ = mlx_device_new_type.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_device_new_type", allocator, type, index); + } + return (MemorySegment)mh$.invokeExact(allocator, type, index); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_device_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_device_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_device_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_device_free(mlx_device dev) + * } + */ + public static FunctionDescriptor mlx_device_free$descriptor() { + return mlx_device_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_device_free(mlx_device dev) + * } + */ + public static MethodHandle mlx_device_free$handle() { + return mlx_device_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_device_free(mlx_device dev) + * } + */ + public static MemorySegment mlx_device_free$address() { + return mlx_device_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_device_free(mlx_device dev) + * } + */ + public static int mlx_device_free(MemorySegment dev) { + var mh$ = mlx_device_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_device_free", dev); + } + return (int)mh$.invokeExact(dev); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_device_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_device_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_device_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_device_set(mlx_device *dev, const mlx_device src) + * } + */ + public static FunctionDescriptor mlx_device_set$descriptor() { + return mlx_device_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_device_set(mlx_device *dev, const mlx_device src) + * } + */ + public static MethodHandle mlx_device_set$handle() { + return mlx_device_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_device_set(mlx_device *dev, const mlx_device src) + * } + */ + public static MemorySegment mlx_device_set$address() { + return mlx_device_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_device_set(mlx_device *dev, const mlx_device src) + * } + */ + public static int mlx_device_set(MemorySegment dev, MemorySegment src) { + var mh$ = mlx_device_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_device_set", dev, src); + } + return (int)mh$.invokeExact(dev, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_device_tostring { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_device_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_device_tostring"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_device_tostring(mlx_string *str, mlx_device dev) + * } + */ + public static FunctionDescriptor mlx_device_tostring$descriptor() { + return mlx_device_tostring.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_device_tostring(mlx_string *str, mlx_device dev) + * } + */ + public static MethodHandle mlx_device_tostring$handle() { + return mlx_device_tostring.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_device_tostring(mlx_string *str, mlx_device dev) + * } + */ + public static MemorySegment mlx_device_tostring$address() { + return mlx_device_tostring.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_device_tostring(mlx_string *str, mlx_device dev) + * } + */ + public static int mlx_device_tostring(MemorySegment str, MemorySegment dev) { + var mh$ = mlx_device_tostring.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_device_tostring", str, dev); + } + return (int)mh$.invokeExact(str, dev); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_device_equal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_BOOL, + mlx_device_.layout(), + mlx_device_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_device_equal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * bool mlx_device_equal(mlx_device lhs, mlx_device rhs) + * } + */ + public static FunctionDescriptor mlx_device_equal$descriptor() { + return mlx_device_equal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * bool mlx_device_equal(mlx_device lhs, mlx_device rhs) + * } + */ + public static MethodHandle mlx_device_equal$handle() { + return mlx_device_equal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * bool mlx_device_equal(mlx_device lhs, mlx_device rhs) + * } + */ + public static MemorySegment mlx_device_equal$address() { + return mlx_device_equal.ADDR; + } + + /** + * {@snippet lang=c : + * bool mlx_device_equal(mlx_device lhs, mlx_device rhs) + * } + */ + public static boolean mlx_device_equal(MemorySegment lhs, MemorySegment rhs) { + var mh$ = mlx_device_equal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_device_equal", lhs, rhs); + } + return (boolean)mh$.invokeExact(lhs, rhs); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_device_get_index { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_device_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_device_get_index"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_device_get_index(int *index, mlx_device dev) + * } + */ + public static FunctionDescriptor mlx_device_get_index$descriptor() { + return mlx_device_get_index.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_device_get_index(int *index, mlx_device dev) + * } + */ + public static MethodHandle mlx_device_get_index$handle() { + return mlx_device_get_index.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_device_get_index(int *index, mlx_device dev) + * } + */ + public static MemorySegment mlx_device_get_index$address() { + return mlx_device_get_index.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_device_get_index(int *index, mlx_device dev) + * } + */ + public static int mlx_device_get_index(MemorySegment index, MemorySegment dev) { + var mh$ = mlx_device_get_index.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_device_get_index", index, dev); + } + return (int)mh$.invokeExact(index, dev); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_device_get_type { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_device_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_device_get_type"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_device_get_type(mlx_device_type *type, mlx_device dev) + * } + */ + public static FunctionDescriptor mlx_device_get_type$descriptor() { + return mlx_device_get_type.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_device_get_type(mlx_device_type *type, mlx_device dev) + * } + */ + public static MethodHandle mlx_device_get_type$handle() { + return mlx_device_get_type.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_device_get_type(mlx_device_type *type, mlx_device dev) + * } + */ + public static MemorySegment mlx_device_get_type$address() { + return mlx_device_get_type.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_device_get_type(mlx_device_type *type, mlx_device dev) + * } + */ + public static int mlx_device_get_type(MemorySegment type, MemorySegment dev) { + var mh$ = mlx_device_get_type.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_device_get_type", type, dev); + } + return (int)mh$.invokeExact(type, dev); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_get_default_device { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_get_default_device"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_get_default_device(mlx_device *dev) + * } + */ + public static FunctionDescriptor mlx_get_default_device$descriptor() { + return mlx_get_default_device.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_get_default_device(mlx_device *dev) + * } + */ + public static MethodHandle mlx_get_default_device$handle() { + return mlx_get_default_device.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_get_default_device(mlx_device *dev) + * } + */ + public static MemorySegment mlx_get_default_device$address() { + return mlx_get_default_device.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_get_default_device(mlx_device *dev) + * } + */ + public static int mlx_get_default_device(MemorySegment dev) { + var mh$ = mlx_get_default_device.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_get_default_device", dev); + } + return (int)mh$.invokeExact(dev); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_set_default_device { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_device_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_set_default_device"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_set_default_device(mlx_device dev) + * } + */ + public static FunctionDescriptor mlx_set_default_device$descriptor() { + return mlx_set_default_device.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_set_default_device(mlx_device dev) + * } + */ + public static MethodHandle mlx_set_default_device$handle() { + return mlx_set_default_device.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_set_default_device(mlx_device dev) + * } + */ + public static MemorySegment mlx_set_default_device$address() { + return mlx_set_default_device.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_set_default_device(mlx_device dev) + * } + */ + public static int mlx_set_default_device(MemorySegment dev) { + var mh$ = mlx_set_default_device.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_set_default_device", dev); + } + return (int)mh$.invokeExact(dev); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_stream mlx_stream_new() + * } + */ + public static class mlx_stream_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_stream_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_stream_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_stream_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_stream mlx_stream_new() + * } + */ + public static mlx_stream_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_stream_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_stream_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_stream_new_device { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_stream_.layout(), + mlx_device_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_stream_new_device"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_stream mlx_stream_new_device(mlx_device dev) + * } + */ + public static FunctionDescriptor mlx_stream_new_device$descriptor() { + return mlx_stream_new_device.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_stream mlx_stream_new_device(mlx_device dev) + * } + */ + public static MethodHandle mlx_stream_new_device$handle() { + return mlx_stream_new_device.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_stream mlx_stream_new_device(mlx_device dev) + * } + */ + public static MemorySegment mlx_stream_new_device$address() { + return mlx_stream_new_device.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_stream mlx_stream_new_device(mlx_device dev) + * } + */ + public static MemorySegment mlx_stream_new_device(SegmentAllocator allocator, MemorySegment dev) { + var mh$ = mlx_stream_new_device.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_stream_new_device", allocator, dev); + } + return (MemorySegment)mh$.invokeExact(allocator, dev); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_stream_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_stream_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_stream_set(mlx_stream *stream, const mlx_stream src) + * } + */ + public static FunctionDescriptor mlx_stream_set$descriptor() { + return mlx_stream_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_stream_set(mlx_stream *stream, const mlx_stream src) + * } + */ + public static MethodHandle mlx_stream_set$handle() { + return mlx_stream_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_stream_set(mlx_stream *stream, const mlx_stream src) + * } + */ + public static MemorySegment mlx_stream_set$address() { + return mlx_stream_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_stream_set(mlx_stream *stream, const mlx_stream src) + * } + */ + public static int mlx_stream_set(MemorySegment stream, MemorySegment src) { + var mh$ = mlx_stream_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_stream_set", stream, src); + } + return (int)mh$.invokeExact(stream, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_stream_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_stream_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_stream_free(mlx_stream stream) + * } + */ + public static FunctionDescriptor mlx_stream_free$descriptor() { + return mlx_stream_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_stream_free(mlx_stream stream) + * } + */ + public static MethodHandle mlx_stream_free$handle() { + return mlx_stream_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_stream_free(mlx_stream stream) + * } + */ + public static MemorySegment mlx_stream_free$address() { + return mlx_stream_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_stream_free(mlx_stream stream) + * } + */ + public static int mlx_stream_free(MemorySegment stream) { + var mh$ = mlx_stream_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_stream_free", stream); + } + return (int)mh$.invokeExact(stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_stream_tostring { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_stream_tostring"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_stream_tostring(mlx_string *str, mlx_stream stream) + * } + */ + public static FunctionDescriptor mlx_stream_tostring$descriptor() { + return mlx_stream_tostring.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_stream_tostring(mlx_string *str, mlx_stream stream) + * } + */ + public static MethodHandle mlx_stream_tostring$handle() { + return mlx_stream_tostring.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_stream_tostring(mlx_string *str, mlx_stream stream) + * } + */ + public static MemorySegment mlx_stream_tostring$address() { + return mlx_stream_tostring.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_stream_tostring(mlx_string *str, mlx_stream stream) + * } + */ + public static int mlx_stream_tostring(MemorySegment str, MemorySegment stream) { + var mh$ = mlx_stream_tostring.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_stream_tostring", str, stream); + } + return (int)mh$.invokeExact(str, stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_stream_equal { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_BOOL, + mlx_stream_.layout(), + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_stream_equal"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * bool mlx_stream_equal(mlx_stream lhs, mlx_stream rhs) + * } + */ + public static FunctionDescriptor mlx_stream_equal$descriptor() { + return mlx_stream_equal.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * bool mlx_stream_equal(mlx_stream lhs, mlx_stream rhs) + * } + */ + public static MethodHandle mlx_stream_equal$handle() { + return mlx_stream_equal.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * bool mlx_stream_equal(mlx_stream lhs, mlx_stream rhs) + * } + */ + public static MemorySegment mlx_stream_equal$address() { + return mlx_stream_equal.ADDR; + } + + /** + * {@snippet lang=c : + * bool mlx_stream_equal(mlx_stream lhs, mlx_stream rhs) + * } + */ + public static boolean mlx_stream_equal(MemorySegment lhs, MemorySegment rhs) { + var mh$ = mlx_stream_equal.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_stream_equal", lhs, rhs); + } + return (boolean)mh$.invokeExact(lhs, rhs); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_stream_get_device { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_stream_get_device"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_stream_get_device(mlx_device *dev, mlx_stream stream) + * } + */ + public static FunctionDescriptor mlx_stream_get_device$descriptor() { + return mlx_stream_get_device.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_stream_get_device(mlx_device *dev, mlx_stream stream) + * } + */ + public static MethodHandle mlx_stream_get_device$handle() { + return mlx_stream_get_device.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_stream_get_device(mlx_device *dev, mlx_stream stream) + * } + */ + public static MemorySegment mlx_stream_get_device$address() { + return mlx_stream_get_device.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_stream_get_device(mlx_device *dev, mlx_stream stream) + * } + */ + public static int mlx_stream_get_device(MemorySegment dev, MemorySegment stream) { + var mh$ = mlx_stream_get_device.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_stream_get_device", dev, stream); + } + return (int)mh$.invokeExact(dev, stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_stream_get_index { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_stream_get_index"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_stream_get_index(int *index, mlx_stream stream) + * } + */ + public static FunctionDescriptor mlx_stream_get_index$descriptor() { + return mlx_stream_get_index.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_stream_get_index(int *index, mlx_stream stream) + * } + */ + public static MethodHandle mlx_stream_get_index$handle() { + return mlx_stream_get_index.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_stream_get_index(int *index, mlx_stream stream) + * } + */ + public static MemorySegment mlx_stream_get_index$address() { + return mlx_stream_get_index.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_stream_get_index(int *index, mlx_stream stream) + * } + */ + public static int mlx_stream_get_index(MemorySegment index, MemorySegment stream) { + var mh$ = mlx_stream_get_index.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_stream_get_index", index, stream); + } + return (int)mh$.invokeExact(index, stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_synchronize { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_synchronize"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_synchronize(mlx_stream stream) + * } + */ + public static FunctionDescriptor mlx_synchronize$descriptor() { + return mlx_synchronize.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_synchronize(mlx_stream stream) + * } + */ + public static MethodHandle mlx_synchronize$handle() { + return mlx_synchronize.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_synchronize(mlx_stream stream) + * } + */ + public static MemorySegment mlx_synchronize$address() { + return mlx_synchronize.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_synchronize(mlx_stream stream) + * } + */ + public static int mlx_synchronize(MemorySegment stream) { + var mh$ = mlx_synchronize.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_synchronize", stream); + } + return (int)mh$.invokeExact(stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_get_default_stream { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_device_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_get_default_stream"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_get_default_stream(mlx_stream *stream, mlx_device dev) + * } + */ + public static FunctionDescriptor mlx_get_default_stream$descriptor() { + return mlx_get_default_stream.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_get_default_stream(mlx_stream *stream, mlx_device dev) + * } + */ + public static MethodHandle mlx_get_default_stream$handle() { + return mlx_get_default_stream.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_get_default_stream(mlx_stream *stream, mlx_device dev) + * } + */ + public static MemorySegment mlx_get_default_stream$address() { + return mlx_get_default_stream.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_get_default_stream(mlx_stream *stream, mlx_device dev) + * } + */ + public static int mlx_get_default_stream(MemorySegment stream, MemorySegment dev) { + var mh$ = mlx_get_default_stream.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_get_default_stream", stream, dev); + } + return (int)mh$.invokeExact(stream, dev); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_set_default_stream { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_stream_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_set_default_stream"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_set_default_stream(mlx_stream stream) + * } + */ + public static FunctionDescriptor mlx_set_default_stream$descriptor() { + return mlx_set_default_stream.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_set_default_stream(mlx_stream stream) + * } + */ + public static MethodHandle mlx_set_default_stream$handle() { + return mlx_set_default_stream.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_set_default_stream(mlx_stream stream) + * } + */ + public static MemorySegment mlx_set_default_stream$address() { + return mlx_set_default_stream.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_set_default_stream(mlx_stream stream) + * } + */ + public static int mlx_set_default_stream(MemorySegment stream) { + var mh$ = mlx_set_default_stream.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_set_default_stream", stream); + } + return (int)mh$.invokeExact(stream); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_stream mlx_default_cpu_stream_new() + * } + */ + public static class mlx_default_cpu_stream_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_stream_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_default_cpu_stream_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_default_cpu_stream_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_stream mlx_default_cpu_stream_new() + * } + */ + public static mlx_default_cpu_stream_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_default_cpu_stream_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_default_cpu_stream_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_stream mlx_default_gpu_stream_new() + * } + */ + public static class mlx_default_gpu_stream_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_stream_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_default_gpu_stream_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_default_gpu_stream_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_stream mlx_default_gpu_stream_new() + * } + */ + public static mlx_default_gpu_stream_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_default_gpu_stream_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_default_gpu_stream_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_vector_array mlx_vector_array_new() + * } + */ + public static class mlx_vector_array_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_vector_array_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_array_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_vector_array_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_vector_array mlx_vector_array_new() + * } + */ + public static mlx_vector_array_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_vector_array_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_array_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_vector_array_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_array_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_array_set(mlx_vector_array *vec, const mlx_vector_array src) + * } + */ + public static FunctionDescriptor mlx_vector_array_set$descriptor() { + return mlx_vector_array_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_array_set(mlx_vector_array *vec, const mlx_vector_array src) + * } + */ + public static MethodHandle mlx_vector_array_set$handle() { + return mlx_vector_array_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_array_set(mlx_vector_array *vec, const mlx_vector_array src) + * } + */ + public static MemorySegment mlx_vector_array_set$address() { + return mlx_vector_array_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_array_set(mlx_vector_array *vec, const mlx_vector_array src) + * } + */ + public static int mlx_vector_array_set(MemorySegment vec, MemorySegment src) { + var mh$ = mlx_vector_array_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_array_set", vec, src); + } + return (int)mh$.invokeExact(vec, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_array_free { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_array_free"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_array_free(mlx_vector_array vec) + * } + */ + public static FunctionDescriptor mlx_vector_array_free$descriptor() { + return mlx_vector_array_free.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_array_free(mlx_vector_array vec) + * } + */ + public static MethodHandle mlx_vector_array_free$handle() { + return mlx_vector_array_free.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_array_free(mlx_vector_array vec) + * } + */ + public static MemorySegment mlx_vector_array_free$address() { + return mlx_vector_array_free.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_array_free(mlx_vector_array vec) + * } + */ + public static int mlx_vector_array_free(MemorySegment vec) { + var mh$ = mlx_vector_array_free.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_array_free", vec); + } + return (int)mh$.invokeExact(vec); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_array_new_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_array_new_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_vector_array mlx_vector_array_new_data(const mlx_array *data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_array_new_data$descriptor() { + return mlx_vector_array_new_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_vector_array mlx_vector_array_new_data(const mlx_array *data, size_t size) + * } + */ + public static MethodHandle mlx_vector_array_new_data$handle() { + return mlx_vector_array_new_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_vector_array mlx_vector_array_new_data(const mlx_array *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_array_new_data$address() { + return mlx_vector_array_new_data.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_vector_array mlx_vector_array_new_data(const mlx_array *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_array_new_data(SegmentAllocator allocator, MemorySegment data, long size) { + var mh$ = mlx_vector_array_new_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_array_new_data", allocator, data, size); + } + return (MemorySegment)mh$.invokeExact(allocator, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_array_new_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_vector_array_.layout(), + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_array_new_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * mlx_vector_array mlx_vector_array_new_value(const mlx_array val) + * } + */ + public static FunctionDescriptor mlx_vector_array_new_value$descriptor() { + return mlx_vector_array_new_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * mlx_vector_array mlx_vector_array_new_value(const mlx_array val) + * } + */ + public static MethodHandle mlx_vector_array_new_value$handle() { + return mlx_vector_array_new_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * mlx_vector_array mlx_vector_array_new_value(const mlx_array val) + * } + */ + public static MemorySegment mlx_vector_array_new_value$address() { + return mlx_vector_array_new_value.ADDR; + } + + /** + * {@snippet lang=c : + * mlx_vector_array mlx_vector_array_new_value(const mlx_array val) + * } + */ + public static MemorySegment mlx_vector_array_new_value(SegmentAllocator allocator, MemorySegment val) { + var mh$ = mlx_vector_array_new_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_array_new_value", allocator, val); + } + return (MemorySegment)mh$.invokeExact(allocator, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_array_set_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_array_set_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_array_set_data(mlx_vector_array *vec, const mlx_array *data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_array_set_data$descriptor() { + return mlx_vector_array_set_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_array_set_data(mlx_vector_array *vec, const mlx_array *data, size_t size) + * } + */ + public static MethodHandle mlx_vector_array_set_data$handle() { + return mlx_vector_array_set_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_array_set_data(mlx_vector_array *vec, const mlx_array *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_array_set_data$address() { + return mlx_vector_array_set_data.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_array_set_data(mlx_vector_array *vec, const mlx_array *data, size_t size) + * } + */ + public static int mlx_vector_array_set_data(MemorySegment vec, MemorySegment data, long size) { + var mh$ = mlx_vector_array_set_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_array_set_data", vec, data, size); + } + return (int)mh$.invokeExact(vec, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_array_set_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_array_set_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_array_set_value(mlx_vector_array *vec, const mlx_array val) + * } + */ + public static FunctionDescriptor mlx_vector_array_set_value$descriptor() { + return mlx_vector_array_set_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_array_set_value(mlx_vector_array *vec, const mlx_array val) + * } + */ + public static MethodHandle mlx_vector_array_set_value$handle() { + return mlx_vector_array_set_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_array_set_value(mlx_vector_array *vec, const mlx_array val) + * } + */ + public static MemorySegment mlx_vector_array_set_value$address() { + return mlx_vector_array_set_value.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_array_set_value(mlx_vector_array *vec, const mlx_array val) + * } + */ + public static int mlx_vector_array_set_value(MemorySegment vec, MemorySegment val) { + var mh$ = mlx_vector_array_set_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_array_set_value", vec, val); + } + return (int)mh$.invokeExact(vec, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_array_append_data { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_array_.layout(), + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_array_append_data"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_array_append_data(mlx_vector_array vec, const mlx_array *data, size_t size) + * } + */ + public static FunctionDescriptor mlx_vector_array_append_data$descriptor() { + return mlx_vector_array_append_data.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_array_append_data(mlx_vector_array vec, const mlx_array *data, size_t size) + * } + */ + public static MethodHandle mlx_vector_array_append_data$handle() { + return mlx_vector_array_append_data.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_array_append_data(mlx_vector_array vec, const mlx_array *data, size_t size) + * } + */ + public static MemorySegment mlx_vector_array_append_data$address() { + return mlx_vector_array_append_data.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_array_append_data(mlx_vector_array vec, const mlx_array *data, size_t size) + * } + */ + public static int mlx_vector_array_append_data(MemorySegment vec, MemorySegment data, long size) { + var mh$ = mlx_vector_array_append_data.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_array_append_data", vec, data, size); + } + return (int)mh$.invokeExact(vec, data, size); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_array_append_value { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_vector_array_.layout(), + mlx_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_array_append_value"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_array_append_value(mlx_vector_array vec, const mlx_array val) + * } + */ + public static FunctionDescriptor mlx_vector_array_append_value$descriptor() { + return mlx_vector_array_append_value.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_array_append_value(mlx_vector_array vec, const mlx_array val) + * } + */ + public static MethodHandle mlx_vector_array_append_value$handle() { + return mlx_vector_array_append_value.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_array_append_value(mlx_vector_array vec, const mlx_array val) + * } + */ + public static MemorySegment mlx_vector_array_append_value$address() { + return mlx_vector_array_append_value.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_array_append_value(mlx_vector_array vec, const mlx_array val) + * } + */ + public static int mlx_vector_array_append_value(MemorySegment vec, MemorySegment val) { + var mh$ = mlx_vector_array_append_value.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_array_append_value", vec, val); + } + return (int)mh$.invokeExact(vec, val); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_array_size { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_array_size"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * size_t mlx_vector_array_size(mlx_vector_array vec) + * } + */ + public static FunctionDescriptor mlx_vector_array_size$descriptor() { + return mlx_vector_array_size.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * size_t mlx_vector_array_size(mlx_vector_array vec) + * } + */ + public static MethodHandle mlx_vector_array_size$handle() { + return mlx_vector_array_size.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * size_t mlx_vector_array_size(mlx_vector_array vec) + * } + */ + public static MemorySegment mlx_vector_array_size$address() { + return mlx_vector_array_size.ADDR; + } + + /** + * {@snippet lang=c : + * size_t mlx_vector_array_size(mlx_vector_array vec) + * } + */ + public static long mlx_vector_array_size(MemorySegment vec) { + var mh$ = mlx_vector_array_size.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_array_size", vec); + } + return (long)mh$.invokeExact(vec); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + private static class mlx_vector_array_get { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_array_.layout(), + mlx_h.C_LONG + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_array_get"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_array_get(mlx_array *res, const mlx_vector_array vec, size_t idx) + * } + */ + public static FunctionDescriptor mlx_vector_array_get$descriptor() { + return mlx_vector_array_get.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_array_get(mlx_array *res, const mlx_vector_array vec, size_t idx) + * } + */ + public static MethodHandle mlx_vector_array_get$handle() { + return mlx_vector_array_get.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_array_get(mlx_array *res, const mlx_vector_array vec, size_t idx) + * } + */ + public static MemorySegment mlx_vector_array_get$address() { + return mlx_vector_array_get.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_array_get(mlx_array *res, const mlx_vector_array vec, size_t idx) + * } + */ + public static int mlx_vector_array_get(MemorySegment res, MemorySegment vec, long idx) { + var mh$ = mlx_vector_array_get.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_array_get", res, vec, idx); + } + return (int)mh$.invokeExact(res, vec, idx); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + + /** + * Variadic invoker class for: + * {@snippet lang=c : + * mlx_vector_vector_array mlx_vector_vector_array_new() + * } + */ + public static class mlx_vector_vector_array_new { + private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of( + mlx_vector_vector_array_.layout() ); + private static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_vector_array_new"); + + private final MethodHandle handle; + private final FunctionDescriptor descriptor; + private final MethodHandle spreader; + + private mlx_vector_vector_array_new(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) { + this.handle = handle; + this.descriptor = descriptor; + this.spreader = spreader; + } + + /** + * Variadic invoker factory for: + * {@snippet lang=c : + * mlx_vector_vector_array mlx_vector_vector_array_new() + * } + */ + public static mlx_vector_vector_array_new makeInvoker(MemoryLayout... layouts) { + FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts); + Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size()); + var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$); + var spreader$ = mh$.asSpreader(Object[].class, layouts.length); + return new mlx_vector_vector_array_new(mh$, desc$, spreader$); + } + + /** + * {@return the address} + */ + public static MemorySegment address() { + return ADDR; + } + + /** + * {@return the specialized method handle} + */ + public MethodHandle handle() { + return handle; + } + + /** + * {@return the specialized descriptor} + */ + public FunctionDescriptor descriptor() { + return descriptor; + } + + public MemorySegment apply(SegmentAllocator allocator, Object... x0) { + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_vector_array_new", allocator, x0); + } + return (MemorySegment) spreader.invokeExact(allocator, x0); + } catch(IllegalArgumentException | ClassCastException ex$) { + throw ex$; // rethrow IAE from passing wrong number/type of args + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static class mlx_vector_vector_array_set { + public static final FunctionDescriptor DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_vector_vector_array_.layout() + ); + + public static final MemorySegment ADDR = SYMBOL_LOOKUP.findOrThrow("mlx_vector_vector_array_set"); + + public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC); + } + + /** + * Function descriptor for: + * {@snippet lang=c : + * int mlx_vector_vector_array_set(mlx_vector_vector_array *vec, const mlx_vector_vector_array src) + * } + */ + public static FunctionDescriptor mlx_vector_vector_array_set$descriptor() { + return mlx_vector_vector_array_set.DESC; + } + + /** + * Downcall method handle for: + * {@snippet lang=c : + * int mlx_vector_vector_array_set(mlx_vector_vector_array *vec, const mlx_vector_vector_array src) + * } + */ + public static MethodHandle mlx_vector_vector_array_set$handle() { + return mlx_vector_vector_array_set.HANDLE; + } + + /** + * Address for: + * {@snippet lang=c : + * int mlx_vector_vector_array_set(mlx_vector_vector_array *vec, const mlx_vector_vector_array src) + * } + */ + public static MemorySegment mlx_vector_vector_array_set$address() { + return mlx_vector_vector_array_set.ADDR; + } + + /** + * {@snippet lang=c : + * int mlx_vector_vector_array_set(mlx_vector_vector_array *vec, const mlx_vector_vector_array src) + * } + */ + public static int mlx_vector_vector_array_set(MemorySegment vec, MemorySegment src) { + var mh$ = mlx_vector_vector_array_set.HANDLE; + try { + if (TRACE_DOWNCALLS) { + traceDowncall("mlx_vector_vector_array_set", vec, src); + } + return (int)mh$.invokeExact(vec, src); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_h_shared.java b/generated/src/mlx/mlx_h_shared.java new file mode 100644 index 00000000..6e484908 --- /dev/null +++ b/generated/src/mlx/mlx_h_shared.java @@ -0,0 +1,63 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +public class mlx_h_shared { + + mlx_h_shared() { + // Should not be called directly + } + + public static final ValueLayout.OfBoolean C_BOOL = (ValueLayout.OfBoolean) Linker.nativeLinker().canonicalLayouts().get("bool"); + public static final ValueLayout.OfByte C_CHAR =(ValueLayout.OfByte)Linker.nativeLinker().canonicalLayouts().get("char"); + public static final ValueLayout.OfShort C_SHORT = (ValueLayout.OfShort) Linker.nativeLinker().canonicalLayouts().get("short"); + public static final ValueLayout.OfInt C_INT = (ValueLayout.OfInt) Linker.nativeLinker().canonicalLayouts().get("int"); + public static final ValueLayout.OfLong C_LONG_LONG = (ValueLayout.OfLong) Linker.nativeLinker().canonicalLayouts().get("long long"); + public static final ValueLayout.OfFloat C_FLOAT = (ValueLayout.OfFloat) Linker.nativeLinker().canonicalLayouts().get("float"); + public static final ValueLayout.OfDouble C_DOUBLE = (ValueLayout.OfDouble) Linker.nativeLinker().canonicalLayouts().get("double"); + public static final AddressLayout C_POINTER = ((AddressLayout) Linker.nativeLinker().canonicalLayouts().get("void*")) + .withTargetLayout(MemoryLayout.sequenceLayout(java.lang.Long.MAX_VALUE, C_CHAR)); + public static final ValueLayout.OfLong C_LONG = (ValueLayout.OfLong) Linker.nativeLinker().canonicalLayouts().get("long"); + + static final boolean TRACE_DOWNCALLS = Boolean.getBoolean("jextract.trace.downcalls"); + + static void traceDowncall(String name, Object... args) { + String traceArgs = Arrays.stream(args) + .map(Object::toString) + .collect(Collectors.joining(", ")); + System.out.printf("%s(%s)\n", name, traceArgs); + } + + static MethodHandle upcallHandle(Class fi, String name, FunctionDescriptor fdesc) { + try { + return MethodHandles.lookup().findVirtual(fi, name, fdesc.toMethodType()); + } catch (ReflectiveOperationException ex) { + throw new AssertionError(ex); + } + } + + static MemoryLayout align(MemoryLayout layout, long align) { + return switch (layout) { + case PaddingLayout p -> p; + case ValueLayout v -> v.withByteAlignment(align); + case GroupLayout g -> { + MemoryLayout[] alignedMembers = g.memberLayouts().stream() + .map(m -> align(m, align)).toArray(MemoryLayout[]::new); + yield g instanceof StructLayout ? + MemoryLayout.structLayout(alignedMembers) : MemoryLayout.unionLayout(alignedMembers); + } + case SequenceLayout s -> MemoryLayout.sequenceLayout(s.elementCount(), align(s.elementLayout(), align)); + }; + } +} + diff --git a/generated/src/mlx/mlx_imported_function.java b/generated/src/mlx/mlx_imported_function.java new file mode 100644 index 00000000..4ea93681 --- /dev/null +++ b/generated/src/mlx/mlx_imported_function.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_imported_function_ { + * void *ctx; + * } mlx_imported_function + * } + */ +public class mlx_imported_function extends mlx_imported_function_ { + + mlx_imported_function() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_imported_function_.java b/generated/src/mlx/mlx_imported_function_.java new file mode 100644 index 00000000..8446f47e --- /dev/null +++ b/generated/src/mlx/mlx_imported_function_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_imported_function_ { + * void *ctx; + * } + * } + */ +public class mlx_imported_function_ { + + mlx_imported_function_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_imported_function_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_io_reader.java b/generated/src/mlx/mlx_io_reader.java new file mode 100644 index 00000000..85ebc412 --- /dev/null +++ b/generated/src/mlx/mlx_io_reader.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_io_reader_ { + * void *ctx; + * } mlx_io_reader + * } + */ +public class mlx_io_reader extends mlx_io_reader_ { + + mlx_io_reader() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_io_reader_.java b/generated/src/mlx/mlx_io_reader_.java new file mode 100644 index 00000000..811f36af --- /dev/null +++ b/generated/src/mlx/mlx_io_reader_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_io_reader_ { + * void *ctx; + * } + * } + */ +public class mlx_io_reader_ { + + mlx_io_reader_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_io_reader_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_io_vtable.java b/generated/src/mlx/mlx_io_vtable.java new file mode 100644 index 00000000..f292c2c8 --- /dev/null +++ b/generated/src/mlx/mlx_io_vtable.java @@ -0,0 +1,36 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_io_vtable_ { + * bool (*is_open)(void *); + * bool (*good)(void *); + * size_t (*tell)(void *); + * void (*seek)(void *, int64_t, int); + * void (*read)(void *, char *, size_t); + * void (*read_at_offset)(void *, char *, size_t, size_t); + * void (*write)(void *, const char *, size_t); + * const char *(*label)(void *); + * void (*free)(void *); + * } mlx_io_vtable + * } + */ +public class mlx_io_vtable extends mlx_io_vtable_ { + + mlx_io_vtable() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_io_vtable_.java b/generated/src/mlx/mlx_io_vtable_.java new file mode 100644 index 00000000..e661aad4 --- /dev/null +++ b/generated/src/mlx/mlx_io_vtable_.java @@ -0,0 +1,1003 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_io_vtable_ { + * bool (*is_open)(void *); + * bool (*good)(void *); + * size_t (*tell)(void *); + * void (*seek)(void *, int64_t, int); + * void (*read)(void *, char *, size_t); + * void (*read_at_offset)(void *, char *, size_t, size_t); + * void (*write)(void *, const char *, size_t); + * const char *(*label)(void *); + * void (*free)(void *); + * } + * } + */ +public class mlx_io_vtable_ { + + mlx_io_vtable_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("is_open"), + mlx_h.C_POINTER.withName("good"), + mlx_h.C_POINTER.withName("tell"), + mlx_h.C_POINTER.withName("seek"), + mlx_h.C_POINTER.withName("read"), + mlx_h.C_POINTER.withName("read_at_offset"), + mlx_h.C_POINTER.withName("write"), + mlx_h.C_POINTER.withName("label"), + mlx_h.C_POINTER.withName("free") + ).withName("mlx_io_vtable_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + /** + * {@snippet lang=c : + * bool (*is_open)(void *) + * } + */ + public final static class is_open { + + private is_open() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + boolean apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_BOOL, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(is_open.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(is_open.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static boolean invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + return (boolean) DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout is_open$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("is_open")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool (*is_open)(void *) + * } + */ + public static final AddressLayout is_open$layout() { + return is_open$LAYOUT; + } + + private static final long is_open$OFFSET = $LAYOUT.byteOffset(groupElement("is_open")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool (*is_open)(void *) + * } + */ + public static final long is_open$offset() { + return is_open$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool (*is_open)(void *) + * } + */ + public static MemorySegment is_open(MemorySegment struct) { + return struct.get(is_open$LAYOUT, is_open$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool (*is_open)(void *) + * } + */ + public static void is_open(MemorySegment struct, MemorySegment fieldValue) { + struct.set(is_open$LAYOUT, is_open$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * bool (*good)(void *) + * } + */ + public final static class good { + + private good() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + boolean apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_BOOL, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(good.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(good.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static boolean invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + return (boolean) DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout good$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("good")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool (*good)(void *) + * } + */ + public static final AddressLayout good$layout() { + return good$LAYOUT; + } + + private static final long good$OFFSET = $LAYOUT.byteOffset(groupElement("good")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool (*good)(void *) + * } + */ + public static final long good$offset() { + return good$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool (*good)(void *) + * } + */ + public static MemorySegment good(MemorySegment struct) { + return struct.get(good$LAYOUT, good$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool (*good)(void *) + * } + */ + public static void good(MemorySegment struct, MemorySegment fieldValue) { + struct.set(good$LAYOUT, good$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * size_t (*tell)(void *) + * } + */ + public final static class tell { + + private tell() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + long apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_LONG, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(tell.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(tell.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static long invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + return (long) DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout tell$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("tell")); + + /** + * Layout for field: + * {@snippet lang=c : + * size_t (*tell)(void *) + * } + */ + public static final AddressLayout tell$layout() { + return tell$LAYOUT; + } + + private static final long tell$OFFSET = $LAYOUT.byteOffset(groupElement("tell")); + + /** + * Offset for field: + * {@snippet lang=c : + * size_t (*tell)(void *) + * } + */ + public static final long tell$offset() { + return tell$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * size_t (*tell)(void *) + * } + */ + public static MemorySegment tell(MemorySegment struct) { + return struct.get(tell$LAYOUT, tell$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * size_t (*tell)(void *) + * } + */ + public static void tell(MemorySegment struct, MemorySegment fieldValue) { + struct.set(tell$LAYOUT, tell$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * void (*seek)(void *, int64_t, int) + * } + */ + public final static class seek { + + private seek() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0, long _x1, int _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_LONG_LONG, + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(seek.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(seek.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0, long _x1, int _x2) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout seek$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("seek")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*seek)(void *, int64_t, int) + * } + */ + public static final AddressLayout seek$layout() { + return seek$LAYOUT; + } + + private static final long seek$OFFSET = $LAYOUT.byteOffset(groupElement("seek")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*seek)(void *, int64_t, int) + * } + */ + public static final long seek$offset() { + return seek$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*seek)(void *, int64_t, int) + * } + */ + public static MemorySegment seek(MemorySegment struct) { + return struct.get(seek$LAYOUT, seek$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*seek)(void *, int64_t, int) + * } + */ + public static void seek(MemorySegment struct, MemorySegment fieldValue) { + struct.set(seek$LAYOUT, seek$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * void (*read)(void *, char *, size_t) + * } + */ + public final static class read { + + private read() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0, MemorySegment _x1, long _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(read.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(read.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, long _x2) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout read$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("read")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*read)(void *, char *, size_t) + * } + */ + public static final AddressLayout read$layout() { + return read$LAYOUT; + } + + private static final long read$OFFSET = $LAYOUT.byteOffset(groupElement("read")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*read)(void *, char *, size_t) + * } + */ + public static final long read$offset() { + return read$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*read)(void *, char *, size_t) + * } + */ + public static MemorySegment read(MemorySegment struct) { + return struct.get(read$LAYOUT, read$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*read)(void *, char *, size_t) + * } + */ + public static void read(MemorySegment struct, MemorySegment fieldValue) { + struct.set(read$LAYOUT, read$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * void (*read_at_offset)(void *, char *, size_t, size_t) + * } + */ + public final static class read_at_offset { + + private read_at_offset() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0, MemorySegment _x1, long _x2, long _x3); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG, + mlx_h.C_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(read_at_offset.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(read_at_offset.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, long _x2, long _x3) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2, _x3); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout read_at_offset$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("read_at_offset")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*read_at_offset)(void *, char *, size_t, size_t) + * } + */ + public static final AddressLayout read_at_offset$layout() { + return read_at_offset$LAYOUT; + } + + private static final long read_at_offset$OFFSET = $LAYOUT.byteOffset(groupElement("read_at_offset")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*read_at_offset)(void *, char *, size_t, size_t) + * } + */ + public static final long read_at_offset$offset() { + return read_at_offset$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*read_at_offset)(void *, char *, size_t, size_t) + * } + */ + public static MemorySegment read_at_offset(MemorySegment struct) { + return struct.get(read_at_offset$LAYOUT, read_at_offset$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*read_at_offset)(void *, char *, size_t, size_t) + * } + */ + public static void read_at_offset(MemorySegment struct, MemorySegment fieldValue) { + struct.set(read_at_offset$LAYOUT, read_at_offset$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * void (*write)(void *, const char *, size_t) + * } + */ + public final static class write { + + private write() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0, MemorySegment _x1, long _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_LONG + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(write.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(write.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, long _x2) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout write$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("write")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*write)(void *, const char *, size_t) + * } + */ + public static final AddressLayout write$layout() { + return write$LAYOUT; + } + + private static final long write$OFFSET = $LAYOUT.byteOffset(groupElement("write")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*write)(void *, const char *, size_t) + * } + */ + public static final long write$offset() { + return write$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*write)(void *, const char *, size_t) + * } + */ + public static MemorySegment write(MemorySegment struct) { + return struct.get(write$LAYOUT, write$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*write)(void *, const char *, size_t) + * } + */ + public static void write(MemorySegment struct, MemorySegment fieldValue) { + struct.set(write$LAYOUT, write$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * const char *(*label)(void *) + * } + */ + public final static class label { + + private label() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + MemorySegment apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(label.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(label.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static MemorySegment invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + return (MemorySegment) DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout label$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("label")); + + /** + * Layout for field: + * {@snippet lang=c : + * const char *(*label)(void *) + * } + */ + public static final AddressLayout label$layout() { + return label$LAYOUT; + } + + private static final long label$OFFSET = $LAYOUT.byteOffset(groupElement("label")); + + /** + * Offset for field: + * {@snippet lang=c : + * const char *(*label)(void *) + * } + */ + public static final long label$offset() { + return label$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * const char *(*label)(void *) + * } + */ + public static MemorySegment label(MemorySegment struct) { + return struct.get(label$LAYOUT, label$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * const char *(*label)(void *) + * } + */ + public static void label(MemorySegment struct, MemorySegment fieldValue) { + struct.set(label$LAYOUT, label$OFFSET, fieldValue); + } + + /** + * {@snippet lang=c : + * void (*free)(void *) + * } + */ + public final static class free { + + private free() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(free.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(free.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout free$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("free")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*free)(void *) + * } + */ + public static final AddressLayout free$layout() { + return free$LAYOUT; + } + + private static final long free$OFFSET = $LAYOUT.byteOffset(groupElement("free")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*free)(void *) + * } + */ + public static final long free$offset() { + return free$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*free)(void *) + * } + */ + public static MemorySegment free(MemorySegment struct) { + return struct.get(free$LAYOUT, free$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*free)(void *) + * } + */ + public static void free(MemorySegment struct, MemorySegment fieldValue) { + struct.set(free$LAYOUT, free$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_io_writer.java b/generated/src/mlx/mlx_io_writer.java new file mode 100644 index 00000000..50ad9445 --- /dev/null +++ b/generated/src/mlx/mlx_io_writer.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_io_writer_ { + * void *ctx; + * } mlx_io_writer + * } + */ +public class mlx_io_writer extends mlx_io_writer_ { + + mlx_io_writer() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_io_writer_.java b/generated/src/mlx/mlx_io_writer_.java new file mode 100644 index 00000000..2e842a33 --- /dev/null +++ b/generated/src/mlx/mlx_io_writer_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_io_writer_ { + * void *ctx; + * } + * } + */ +public class mlx_io_writer_ { + + mlx_io_writer_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_io_writer_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_map_string_to_array.java b/generated/src/mlx/mlx_map_string_to_array.java new file mode 100644 index 00000000..1b552be1 --- /dev/null +++ b/generated/src/mlx/mlx_map_string_to_array.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_map_string_to_array_ { + * void *ctx; + * } mlx_map_string_to_array + * } + */ +public class mlx_map_string_to_array extends mlx_map_string_to_array_ { + + mlx_map_string_to_array() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_map_string_to_array_.java b/generated/src/mlx/mlx_map_string_to_array_.java new file mode 100644 index 00000000..c44c1491 --- /dev/null +++ b/generated/src/mlx/mlx_map_string_to_array_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_map_string_to_array_ { + * void *ctx; + * } + * } + */ +public class mlx_map_string_to_array_ { + + mlx_map_string_to_array_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_map_string_to_array_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_map_string_to_array_iterator.java b/generated/src/mlx/mlx_map_string_to_array_iterator.java new file mode 100644 index 00000000..e7b8773c --- /dev/null +++ b/generated/src/mlx/mlx_map_string_to_array_iterator.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_map_string_to_array_iterator_ { + * void *ctx; + * void *map_ctx; + * } mlx_map_string_to_array_iterator + * } + */ +public class mlx_map_string_to_array_iterator extends mlx_map_string_to_array_iterator_ { + + mlx_map_string_to_array_iterator() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_map_string_to_array_iterator_.java b/generated/src/mlx/mlx_map_string_to_array_iterator_.java new file mode 100644 index 00000000..bcea3cc7 --- /dev/null +++ b/generated/src/mlx/mlx_map_string_to_array_iterator_.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_map_string_to_array_iterator_ { + * void *ctx; + * void *map_ctx; + * } + * } + */ +public class mlx_map_string_to_array_iterator_ { + + mlx_map_string_to_array_iterator_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx"), + mlx_h.C_POINTER.withName("map_ctx") + ).withName("mlx_map_string_to_array_iterator_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + private static final AddressLayout map_ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("map_ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *map_ctx + * } + */ + public static final AddressLayout map_ctx$layout() { + return map_ctx$LAYOUT; + } + + private static final long map_ctx$OFFSET = $LAYOUT.byteOffset(groupElement("map_ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *map_ctx + * } + */ + public static final long map_ctx$offset() { + return map_ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *map_ctx + * } + */ + public static MemorySegment map_ctx(MemorySegment struct) { + return struct.get(map_ctx$LAYOUT, map_ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *map_ctx + * } + */ + public static void map_ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(map_ctx$LAYOUT, map_ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_map_string_to_string.java b/generated/src/mlx/mlx_map_string_to_string.java new file mode 100644 index 00000000..a3be287d --- /dev/null +++ b/generated/src/mlx/mlx_map_string_to_string.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_map_string_to_string_ { + * void *ctx; + * } mlx_map_string_to_string + * } + */ +public class mlx_map_string_to_string extends mlx_map_string_to_string_ { + + mlx_map_string_to_string() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_map_string_to_string_.java b/generated/src/mlx/mlx_map_string_to_string_.java new file mode 100644 index 00000000..10709c08 --- /dev/null +++ b/generated/src/mlx/mlx_map_string_to_string_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_map_string_to_string_ { + * void *ctx; + * } + * } + */ +public class mlx_map_string_to_string_ { + + mlx_map_string_to_string_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_map_string_to_string_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_map_string_to_string_iterator.java b/generated/src/mlx/mlx_map_string_to_string_iterator.java new file mode 100644 index 00000000..78a0c4bd --- /dev/null +++ b/generated/src/mlx/mlx_map_string_to_string_iterator.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_map_string_to_string_iterator_ { + * void *ctx; + * void *map_ctx; + * } mlx_map_string_to_string_iterator + * } + */ +public class mlx_map_string_to_string_iterator extends mlx_map_string_to_string_iterator_ { + + mlx_map_string_to_string_iterator() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_map_string_to_string_iterator_.java b/generated/src/mlx/mlx_map_string_to_string_iterator_.java new file mode 100644 index 00000000..496ae7d2 --- /dev/null +++ b/generated/src/mlx/mlx_map_string_to_string_iterator_.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_map_string_to_string_iterator_ { + * void *ctx; + * void *map_ctx; + * } + * } + */ +public class mlx_map_string_to_string_iterator_ { + + mlx_map_string_to_string_iterator_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx"), + mlx_h.C_POINTER.withName("map_ctx") + ).withName("mlx_map_string_to_string_iterator_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + private static final AddressLayout map_ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("map_ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *map_ctx + * } + */ + public static final AddressLayout map_ctx$layout() { + return map_ctx$LAYOUT; + } + + private static final long map_ctx$OFFSET = $LAYOUT.byteOffset(groupElement("map_ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *map_ctx + * } + */ + public static final long map_ctx$offset() { + return map_ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *map_ctx + * } + */ + public static MemorySegment map_ctx(MemorySegment struct) { + return struct.get(map_ctx$LAYOUT, map_ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *map_ctx + * } + */ + public static void map_ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(map_ctx$LAYOUT, map_ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_metal_device_info_t.java b/generated/src/mlx/mlx_metal_device_info_t.java new file mode 100644 index 00000000..9a6a46b2 --- /dev/null +++ b/generated/src/mlx/mlx_metal_device_info_t.java @@ -0,0 +1,31 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_metal_device_info_t_ { + * char architecture[256]; + * size_t max_buffer_length; + * size_t max_recommended_working_set_size; + * size_t memory_size; + * } mlx_metal_device_info_t + * } + */ +public class mlx_metal_device_info_t extends mlx_metal_device_info_t_ { + + mlx_metal_device_info_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_metal_device_info_t_.java b/generated/src/mlx/mlx_metal_device_info_t_.java new file mode 100644 index 00000000..4cdb5836 --- /dev/null +++ b/generated/src/mlx/mlx_metal_device_info_t_.java @@ -0,0 +1,298 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_metal_device_info_t_ { + * char architecture[256]; + * size_t max_buffer_length; + * size_t max_recommended_working_set_size; + * size_t memory_size; + * } + * } + */ +public class mlx_metal_device_info_t_ { + + mlx_metal_device_info_t_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(256, mlx_h.C_CHAR).withName("architecture"), + mlx_h.C_LONG.withName("max_buffer_length"), + mlx_h.C_LONG.withName("max_recommended_working_set_size"), + mlx_h.C_LONG.withName("memory_size") + ).withName("mlx_metal_device_info_t_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout architecture$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("architecture")); + + /** + * Layout for field: + * {@snippet lang=c : + * char architecture[256] + * } + */ + public static final SequenceLayout architecture$layout() { + return architecture$LAYOUT; + } + + private static final long architecture$OFFSET = $LAYOUT.byteOffset(groupElement("architecture")); + + /** + * Offset for field: + * {@snippet lang=c : + * char architecture[256] + * } + */ + public static final long architecture$offset() { + return architecture$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char architecture[256] + * } + */ + public static MemorySegment architecture(MemorySegment struct) { + return struct.asSlice(architecture$OFFSET, architecture$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char architecture[256] + * } + */ + public static void architecture(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, architecture$OFFSET, architecture$LAYOUT.byteSize()); + } + + private static long[] architecture$DIMS = { 256 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * char architecture[256] + * } + */ + public static long[] architecture$dimensions() { + return architecture$DIMS; + } + private static final VarHandle architecture$ELEM_HANDLE = architecture$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * char architecture[256] + * } + */ + public static byte architecture(MemorySegment struct, long index0) { + return (byte)architecture$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * char architecture[256] + * } + */ + public static void architecture(MemorySegment struct, long index0, byte fieldValue) { + architecture$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong max_buffer_length$LAYOUT = (OfLong)$LAYOUT.select(groupElement("max_buffer_length")); + + /** + * Layout for field: + * {@snippet lang=c : + * size_t max_buffer_length + * } + */ + public static final OfLong max_buffer_length$layout() { + return max_buffer_length$LAYOUT; + } + + private static final long max_buffer_length$OFFSET = $LAYOUT.byteOffset(groupElement("max_buffer_length")); + + /** + * Offset for field: + * {@snippet lang=c : + * size_t max_buffer_length + * } + */ + public static final long max_buffer_length$offset() { + return max_buffer_length$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * size_t max_buffer_length + * } + */ + public static long max_buffer_length(MemorySegment struct) { + return struct.get(max_buffer_length$LAYOUT, max_buffer_length$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * size_t max_buffer_length + * } + */ + public static void max_buffer_length(MemorySegment struct, long fieldValue) { + struct.set(max_buffer_length$LAYOUT, max_buffer_length$OFFSET, fieldValue); + } + + private static final OfLong max_recommended_working_set_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("max_recommended_working_set_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * size_t max_recommended_working_set_size + * } + */ + public static final OfLong max_recommended_working_set_size$layout() { + return max_recommended_working_set_size$LAYOUT; + } + + private static final long max_recommended_working_set_size$OFFSET = $LAYOUT.byteOffset(groupElement("max_recommended_working_set_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * size_t max_recommended_working_set_size + * } + */ + public static final long max_recommended_working_set_size$offset() { + return max_recommended_working_set_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * size_t max_recommended_working_set_size + * } + */ + public static long max_recommended_working_set_size(MemorySegment struct) { + return struct.get(max_recommended_working_set_size$LAYOUT, max_recommended_working_set_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * size_t max_recommended_working_set_size + * } + */ + public static void max_recommended_working_set_size(MemorySegment struct, long fieldValue) { + struct.set(max_recommended_working_set_size$LAYOUT, max_recommended_working_set_size$OFFSET, fieldValue); + } + + private static final OfLong memory_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("memory_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * size_t memory_size + * } + */ + public static final OfLong memory_size$layout() { + return memory_size$LAYOUT; + } + + private static final long memory_size$OFFSET = $LAYOUT.byteOffset(groupElement("memory_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * size_t memory_size + * } + */ + public static final long memory_size$offset() { + return memory_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * size_t memory_size + * } + */ + public static long memory_size(MemorySegment struct) { + return struct.get(memory_size$LAYOUT, memory_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * size_t memory_size + * } + */ + public static void memory_size(MemorySegment struct, long fieldValue) { + struct.set(memory_size$LAYOUT, memory_size$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_optional_float.java b/generated/src/mlx/mlx_optional_float.java new file mode 100644 index 00000000..eb308973 --- /dev/null +++ b/generated/src/mlx/mlx_optional_float.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_optional_float_ { + * float value; + * bool has_value; + * } mlx_optional_float + * } + */ +public class mlx_optional_float extends mlx_optional_float_ { + + mlx_optional_float() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_optional_float_.java b/generated/src/mlx/mlx_optional_float_.java new file mode 100644 index 00000000..ab2a430b --- /dev/null +++ b/generated/src/mlx/mlx_optional_float_.java @@ -0,0 +1,174 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_optional_float_ { + * float value; + * bool has_value; + * } + * } + */ +public class mlx_optional_float_ { + + mlx_optional_float_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_FLOAT.withName("value"), + mlx_h.C_BOOL.withName("has_value"), + MemoryLayout.paddingLayout(3) + ).withName("mlx_optional_float_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfFloat value$LAYOUT = (OfFloat)$LAYOUT.select(groupElement("value")); + + /** + * Layout for field: + * {@snippet lang=c : + * float value + * } + */ + public static final OfFloat value$layout() { + return value$LAYOUT; + } + + private static final long value$OFFSET = $LAYOUT.byteOffset(groupElement("value")); + + /** + * Offset for field: + * {@snippet lang=c : + * float value + * } + */ + public static final long value$offset() { + return value$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * float value + * } + */ + public static float value(MemorySegment struct) { + return struct.get(value$LAYOUT, value$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * float value + * } + */ + public static void value(MemorySegment struct, float fieldValue) { + struct.set(value$LAYOUT, value$OFFSET, fieldValue); + } + + private static final OfBoolean has_value$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("has_value")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool has_value + * } + */ + public static final OfBoolean has_value$layout() { + return has_value$LAYOUT; + } + + private static final long has_value$OFFSET = $LAYOUT.byteOffset(groupElement("has_value")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool has_value + * } + */ + public static final long has_value$offset() { + return has_value$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool has_value + * } + */ + public static boolean has_value(MemorySegment struct) { + return struct.get(has_value$LAYOUT, has_value$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool has_value + * } + */ + public static void has_value(MemorySegment struct, boolean fieldValue) { + struct.set(has_value$LAYOUT, has_value$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_optional_int.java b/generated/src/mlx/mlx_optional_int.java new file mode 100644 index 00000000..85865608 --- /dev/null +++ b/generated/src/mlx/mlx_optional_int.java @@ -0,0 +1,29 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_optional_int_ { + * int value; + * bool has_value; + * } mlx_optional_int + * } + */ +public class mlx_optional_int extends mlx_optional_int_ { + + mlx_optional_int() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_optional_int_.java b/generated/src/mlx/mlx_optional_int_.java new file mode 100644 index 00000000..006fb529 --- /dev/null +++ b/generated/src/mlx/mlx_optional_int_.java @@ -0,0 +1,174 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_optional_int_ { + * int value; + * bool has_value; + * } + * } + */ +public class mlx_optional_int_ { + + mlx_optional_int_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_INT.withName("value"), + mlx_h.C_BOOL.withName("has_value"), + MemoryLayout.paddingLayout(3) + ).withName("mlx_optional_int_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt value$LAYOUT = (OfInt)$LAYOUT.select(groupElement("value")); + + /** + * Layout for field: + * {@snippet lang=c : + * int value + * } + */ + public static final OfInt value$layout() { + return value$LAYOUT; + } + + private static final long value$OFFSET = $LAYOUT.byteOffset(groupElement("value")); + + /** + * Offset for field: + * {@snippet lang=c : + * int value + * } + */ + public static final long value$offset() { + return value$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int value + * } + */ + public static int value(MemorySegment struct) { + return struct.get(value$LAYOUT, value$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int value + * } + */ + public static void value(MemorySegment struct, int fieldValue) { + struct.set(value$LAYOUT, value$OFFSET, fieldValue); + } + + private static final OfBoolean has_value$LAYOUT = (OfBoolean)$LAYOUT.select(groupElement("has_value")); + + /** + * Layout for field: + * {@snippet lang=c : + * bool has_value + * } + */ + public static final OfBoolean has_value$layout() { + return has_value$LAYOUT; + } + + private static final long has_value$OFFSET = $LAYOUT.byteOffset(groupElement("has_value")); + + /** + * Offset for field: + * {@snippet lang=c : + * bool has_value + * } + */ + public static final long has_value$offset() { + return has_value$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * bool has_value + * } + */ + public static boolean has_value(MemorySegment struct) { + return struct.get(has_value$LAYOUT, has_value$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * bool has_value + * } + */ + public static void has_value(MemorySegment struct, boolean fieldValue) { + struct.set(has_value$LAYOUT, has_value$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_set_error_handler$dtor.java b/generated/src/mlx/mlx_set_error_handler$dtor.java new file mode 100644 index 00000000..76c5afed --- /dev/null +++ b/generated/src/mlx/mlx_set_error_handler$dtor.java @@ -0,0 +1,69 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (*dtor)(void *) + * } + */ +public final class mlx_set_error_handler$dtor { + + private mlx_set_error_handler$dtor() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_set_error_handler$dtor.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_set_error_handler$dtor.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_set_error_handler$handler.java b/generated/src/mlx/mlx_set_error_handler$handler.java new file mode 100644 index 00000000..40d4ee78 --- /dev/null +++ b/generated/src/mlx/mlx_set_error_handler$handler.java @@ -0,0 +1,70 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * mlx_error_handler_func handler + * } + */ +public final class mlx_set_error_handler$handler { + + private mlx_set_error_handler$handler() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(mlx_set_error_handler$handler.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(mlx_set_error_handler$handler.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/mlx_stream.java b/generated/src/mlx/mlx_stream.java new file mode 100644 index 00000000..530e5b54 --- /dev/null +++ b/generated/src/mlx/mlx_stream.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_stream_ { + * void *ctx; + * } mlx_stream + * } + */ +public class mlx_stream extends mlx_stream_ { + + mlx_stream() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_stream_.java b/generated/src/mlx/mlx_stream_.java new file mode 100644 index 00000000..8ab829a5 --- /dev/null +++ b/generated/src/mlx/mlx_stream_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_stream_ { + * void *ctx; + * } + * } + */ +public class mlx_stream_ { + + mlx_stream_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_stream_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_string.java b/generated/src/mlx/mlx_string.java new file mode 100644 index 00000000..6777f4f3 --- /dev/null +++ b/generated/src/mlx/mlx_string.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_string_ { + * void *ctx; + * } mlx_string + * } + */ +public class mlx_string extends mlx_string_ { + + mlx_string() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_string_.java b/generated/src/mlx/mlx_string_.java new file mode 100644 index 00000000..812d5e3b --- /dev/null +++ b/generated/src/mlx/mlx_string_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_string_ { + * void *ctx; + * } + * } + */ +public class mlx_string_ { + + mlx_string_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_string_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_vector_array.java b/generated/src/mlx/mlx_vector_array.java new file mode 100644 index 00000000..28ed0039 --- /dev/null +++ b/generated/src/mlx/mlx_vector_array.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_vector_array_ { + * void *ctx; + * } mlx_vector_array + * } + */ +public class mlx_vector_array extends mlx_vector_array_ { + + mlx_vector_array() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_vector_array_.java b/generated/src/mlx/mlx_vector_array_.java new file mode 100644 index 00000000..71c49f57 --- /dev/null +++ b/generated/src/mlx/mlx_vector_array_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_vector_array_ { + * void *ctx; + * } + * } + */ +public class mlx_vector_array_ { + + mlx_vector_array_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_vector_array_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_vector_int.java b/generated/src/mlx/mlx_vector_int.java new file mode 100644 index 00000000..165cd81a --- /dev/null +++ b/generated/src/mlx/mlx_vector_int.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_vector_int_ { + * void *ctx; + * } mlx_vector_int + * } + */ +public class mlx_vector_int extends mlx_vector_int_ { + + mlx_vector_int() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_vector_int_.java b/generated/src/mlx/mlx_vector_int_.java new file mode 100644 index 00000000..dac24865 --- /dev/null +++ b/generated/src/mlx/mlx_vector_int_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_vector_int_ { + * void *ctx; + * } + * } + */ +public class mlx_vector_int_ { + + mlx_vector_int_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_vector_int_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_vector_string.java b/generated/src/mlx/mlx_vector_string.java new file mode 100644 index 00000000..7c045a2b --- /dev/null +++ b/generated/src/mlx/mlx_vector_string.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_vector_string_ { + * void *ctx; + * } mlx_vector_string + * } + */ +public class mlx_vector_string extends mlx_vector_string_ { + + mlx_vector_string() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_vector_string_.java b/generated/src/mlx/mlx_vector_string_.java new file mode 100644 index 00000000..26669c59 --- /dev/null +++ b/generated/src/mlx/mlx_vector_string_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_vector_string_ { + * void *ctx; + * } + * } + */ +public class mlx_vector_string_ { + + mlx_vector_string_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_vector_string_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/mlx_vector_vector_array.java b/generated/src/mlx/mlx_vector_vector_array.java new file mode 100644 index 00000000..29e6e943 --- /dev/null +++ b/generated/src/mlx/mlx_vector_vector_array.java @@ -0,0 +1,28 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct mlx_vector_vector_array_ { + * void *ctx; + * } mlx_vector_vector_array + * } + */ +public class mlx_vector_vector_array extends mlx_vector_vector_array_ { + + mlx_vector_vector_array() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/mlx_vector_vector_array_.java b/generated/src/mlx/mlx_vector_vector_array_.java new file mode 100644 index 00000000..578d17f2 --- /dev/null +++ b/generated/src/mlx/mlx_vector_vector_array_.java @@ -0,0 +1,127 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct mlx_vector_vector_array_ { + * void *ctx; + * } + * } + */ +public class mlx_vector_vector_array_ { + + mlx_vector_vector_array_() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ctx") + ).withName("mlx_vector_vector_array_"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ctx$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ctx")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final AddressLayout ctx$layout() { + return ctx$LAYOUT; + } + + private static final long ctx$OFFSET = $LAYOUT.byteOffset(groupElement("ctx")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static final long ctx$offset() { + return ctx$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static MemorySegment ctx(MemorySegment struct) { + return struct.get(ctx$LAYOUT, ctx$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *ctx + * } + */ + public static void ctx(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ctx$LAYOUT, ctx$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/proc_rlimit_control_wakeupmon.java b/generated/src/mlx/proc_rlimit_control_wakeupmon.java new file mode 100644 index 00000000..8a419d93 --- /dev/null +++ b/generated/src/mlx/proc_rlimit_control_wakeupmon.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct proc_rlimit_control_wakeupmon { + * uint32_t wm_flags; + * int32_t wm_rate; + * } + * } + */ +public class proc_rlimit_control_wakeupmon { + + proc_rlimit_control_wakeupmon() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_INT.withName("wm_flags"), + mlx_h.C_INT.withName("wm_rate") + ).withName("proc_rlimit_control_wakeupmon"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt wm_flags$LAYOUT = (OfInt)$LAYOUT.select(groupElement("wm_flags")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint32_t wm_flags + * } + */ + public static final OfInt wm_flags$layout() { + return wm_flags$LAYOUT; + } + + private static final long wm_flags$OFFSET = $LAYOUT.byteOffset(groupElement("wm_flags")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint32_t wm_flags + * } + */ + public static final long wm_flags$offset() { + return wm_flags$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint32_t wm_flags + * } + */ + public static int wm_flags(MemorySegment struct) { + return struct.get(wm_flags$LAYOUT, wm_flags$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint32_t wm_flags + * } + */ + public static void wm_flags(MemorySegment struct, int fieldValue) { + struct.set(wm_flags$LAYOUT, wm_flags$OFFSET, fieldValue); + } + + private static final OfInt wm_rate$LAYOUT = (OfInt)$LAYOUT.select(groupElement("wm_rate")); + + /** + * Layout for field: + * {@snippet lang=c : + * int32_t wm_rate + * } + */ + public static final OfInt wm_rate$layout() { + return wm_rate$LAYOUT; + } + + private static final long wm_rate$OFFSET = $LAYOUT.byteOffset(groupElement("wm_rate")); + + /** + * Offset for field: + * {@snippet lang=c : + * int32_t wm_rate + * } + */ + public static final long wm_rate$offset() { + return wm_rate$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int32_t wm_rate + * } + */ + public static int wm_rate(MemorySegment struct) { + return struct.get(wm_rate$LAYOUT, wm_rate$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int32_t wm_rate + * } + */ + public static void wm_rate(MemorySegment struct, int fieldValue) { + struct.set(wm_rate$LAYOUT, wm_rate$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/psort$__compar.java b/generated/src/mlx/psort$__compar.java new file mode 100644 index 00000000..92c729bd --- /dev/null +++ b/generated/src/mlx/psort$__compar.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (* _Nonnull __compar)(const void *, const void *) + * } + */ +public final class psort$__compar { + + private psort$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(psort$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(psort$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/psort_b$__compar.java b/generated/src/mlx/psort_b$__compar.java new file mode 100644 index 00000000..7645a416 --- /dev/null +++ b/generated/src/mlx/psort_b$__compar.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * __sort_noescape int (^__compar)(const void *, const void *) + * } + */ +public final class psort_b$__compar { + + private psort_b$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(psort_b$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(psort_b$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/psort_r$__compar.java b/generated/src/mlx/psort_r$__compar.java new file mode 100644 index 00000000..ab5dd144 --- /dev/null +++ b/generated/src/mlx/psort_r$__compar.java @@ -0,0 +1,72 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (* _Nonnull __compar)(void *, const void *, const void *) + * } + */ +public final class psort_r$__compar { + + private psort_r$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(psort_r$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(psort_r$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/pthread_attr_t.java b/generated/src/mlx/pthread_attr_t.java new file mode 100644 index 00000000..24a84d1f --- /dev/null +++ b/generated/src/mlx/pthread_attr_t.java @@ -0,0 +1,26 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef __darwin_pthread_attr_t pthread_attr_t + * } + */ +public class pthread_attr_t extends _opaque_pthread_attr_t { + + pthread_attr_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/qsort$__compar.java b/generated/src/mlx/qsort$__compar.java new file mode 100644 index 00000000..4c12dd68 --- /dev/null +++ b/generated/src/mlx/qsort$__compar.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (* _Nonnull __compar)(const void *, const void *) + * } + */ +public final class qsort$__compar { + + private qsort$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(qsort$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(qsort$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/qsort_b$__compar.java b/generated/src/mlx/qsort_b$__compar.java new file mode 100644 index 00000000..0cb294b7 --- /dev/null +++ b/generated/src/mlx/qsort_b$__compar.java @@ -0,0 +1,71 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * __sort_noescape int (^__compar)(const void *, const void *) + * } + */ +public final class qsort_b$__compar { + + private qsort_b$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(qsort_b$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(qsort_b$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/qsort_r$__compar.java b/generated/src/mlx/qsort_r$__compar.java new file mode 100644 index 00000000..8e8237b9 --- /dev/null +++ b/generated/src/mlx/qsort_r$__compar.java @@ -0,0 +1,72 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * int (* _Nonnull __compar)(void *, const void *, const void *) + * } + */ +public final class qsort_r$__compar { + + private qsort_r$__compar() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + int apply(MemorySegment _x0, MemorySegment _x1, MemorySegment _x2); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.of( + mlx_h.C_INT, + mlx_h.C_POINTER, + mlx_h.C_POINTER, + mlx_h.C_POINTER + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(qsort_r$__compar.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(qsort_r$__compar.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static int invoke(MemorySegment funcPtr, MemorySegment _x0, MemorySegment _x1, MemorySegment _x2) { + try { + return (int) DOWN$MH.invokeExact(funcPtr, _x0, _x1, _x2); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/rlimit.java b/generated/src/mlx/rlimit.java new file mode 100644 index 00000000..9ca88d79 --- /dev/null +++ b/generated/src/mlx/rlimit.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct rlimit { + * rlim_t rlim_cur; + * rlim_t rlim_max; + * } + * } + */ +public class rlimit { + + rlimit() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG_LONG.withName("rlim_cur"), + mlx_h.C_LONG_LONG.withName("rlim_max") + ).withName("rlimit"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong rlim_cur$LAYOUT = (OfLong)$LAYOUT.select(groupElement("rlim_cur")); + + /** + * Layout for field: + * {@snippet lang=c : + * rlim_t rlim_cur + * } + */ + public static final OfLong rlim_cur$layout() { + return rlim_cur$LAYOUT; + } + + private static final long rlim_cur$OFFSET = $LAYOUT.byteOffset(groupElement("rlim_cur")); + + /** + * Offset for field: + * {@snippet lang=c : + * rlim_t rlim_cur + * } + */ + public static final long rlim_cur$offset() { + return rlim_cur$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * rlim_t rlim_cur + * } + */ + public static long rlim_cur(MemorySegment struct) { + return struct.get(rlim_cur$LAYOUT, rlim_cur$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * rlim_t rlim_cur + * } + */ + public static void rlim_cur(MemorySegment struct, long fieldValue) { + struct.set(rlim_cur$LAYOUT, rlim_cur$OFFSET, fieldValue); + } + + private static final OfLong rlim_max$LAYOUT = (OfLong)$LAYOUT.select(groupElement("rlim_max")); + + /** + * Layout for field: + * {@snippet lang=c : + * rlim_t rlim_max + * } + */ + public static final OfLong rlim_max$layout() { + return rlim_max$LAYOUT; + } + + private static final long rlim_max$OFFSET = $LAYOUT.byteOffset(groupElement("rlim_max")); + + /** + * Offset for field: + * {@snippet lang=c : + * rlim_t rlim_max + * } + */ + public static final long rlim_max$offset() { + return rlim_max$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * rlim_t rlim_max + * } + */ + public static long rlim_max(MemorySegment struct) { + return struct.get(rlim_max$LAYOUT, rlim_max$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * rlim_t rlim_max + * } + */ + public static void rlim_max(MemorySegment struct, long fieldValue) { + struct.set(rlim_max$LAYOUT, rlim_max$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/rusage.java b/generated/src/mlx/rusage.java new file mode 100644 index 00000000..48d33bfe --- /dev/null +++ b/generated/src/mlx/rusage.java @@ -0,0 +1,817 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct rusage { + * struct timeval ru_utime; + * struct timeval ru_stime; + * long ru_maxrss; + * long ru_ixrss; + * long ru_idrss; + * long ru_isrss; + * long ru_minflt; + * long ru_majflt; + * long ru_nswap; + * long ru_inblock; + * long ru_oublock; + * long ru_msgsnd; + * long ru_msgrcv; + * long ru_nsignals; + * long ru_nvcsw; + * long ru_nivcsw; + * } + * } + */ +public class rusage { + + rusage() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + timeval.layout().withName("ru_utime"), + timeval.layout().withName("ru_stime"), + mlx_h.C_LONG.withName("ru_maxrss"), + mlx_h.C_LONG.withName("ru_ixrss"), + mlx_h.C_LONG.withName("ru_idrss"), + mlx_h.C_LONG.withName("ru_isrss"), + mlx_h.C_LONG.withName("ru_minflt"), + mlx_h.C_LONG.withName("ru_majflt"), + mlx_h.C_LONG.withName("ru_nswap"), + mlx_h.C_LONG.withName("ru_inblock"), + mlx_h.C_LONG.withName("ru_oublock"), + mlx_h.C_LONG.withName("ru_msgsnd"), + mlx_h.C_LONG.withName("ru_msgrcv"), + mlx_h.C_LONG.withName("ru_nsignals"), + mlx_h.C_LONG.withName("ru_nvcsw"), + mlx_h.C_LONG.withName("ru_nivcsw") + ).withName("rusage"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout ru_utime$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("ru_utime")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct timeval ru_utime + * } + */ + public static final GroupLayout ru_utime$layout() { + return ru_utime$LAYOUT; + } + + private static final long ru_utime$OFFSET = $LAYOUT.byteOffset(groupElement("ru_utime")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct timeval ru_utime + * } + */ + public static final long ru_utime$offset() { + return ru_utime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct timeval ru_utime + * } + */ + public static MemorySegment ru_utime(MemorySegment struct) { + return struct.asSlice(ru_utime$OFFSET, ru_utime$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct timeval ru_utime + * } + */ + public static void ru_utime(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ru_utime$OFFSET, ru_utime$LAYOUT.byteSize()); + } + + private static final GroupLayout ru_stime$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("ru_stime")); + + /** + * Layout for field: + * {@snippet lang=c : + * struct timeval ru_stime + * } + */ + public static final GroupLayout ru_stime$layout() { + return ru_stime$LAYOUT; + } + + private static final long ru_stime$OFFSET = $LAYOUT.byteOffset(groupElement("ru_stime")); + + /** + * Offset for field: + * {@snippet lang=c : + * struct timeval ru_stime + * } + */ + public static final long ru_stime$offset() { + return ru_stime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * struct timeval ru_stime + * } + */ + public static MemorySegment ru_stime(MemorySegment struct) { + return struct.asSlice(ru_stime$OFFSET, ru_stime$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * struct timeval ru_stime + * } + */ + public static void ru_stime(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ru_stime$OFFSET, ru_stime$LAYOUT.byteSize()); + } + + private static final OfLong ru_maxrss$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_maxrss")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_maxrss + * } + */ + public static final OfLong ru_maxrss$layout() { + return ru_maxrss$LAYOUT; + } + + private static final long ru_maxrss$OFFSET = $LAYOUT.byteOffset(groupElement("ru_maxrss")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_maxrss + * } + */ + public static final long ru_maxrss$offset() { + return ru_maxrss$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_maxrss + * } + */ + public static long ru_maxrss(MemorySegment struct) { + return struct.get(ru_maxrss$LAYOUT, ru_maxrss$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_maxrss + * } + */ + public static void ru_maxrss(MemorySegment struct, long fieldValue) { + struct.set(ru_maxrss$LAYOUT, ru_maxrss$OFFSET, fieldValue); + } + + private static final OfLong ru_ixrss$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_ixrss")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_ixrss + * } + */ + public static final OfLong ru_ixrss$layout() { + return ru_ixrss$LAYOUT; + } + + private static final long ru_ixrss$OFFSET = $LAYOUT.byteOffset(groupElement("ru_ixrss")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_ixrss + * } + */ + public static final long ru_ixrss$offset() { + return ru_ixrss$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_ixrss + * } + */ + public static long ru_ixrss(MemorySegment struct) { + return struct.get(ru_ixrss$LAYOUT, ru_ixrss$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_ixrss + * } + */ + public static void ru_ixrss(MemorySegment struct, long fieldValue) { + struct.set(ru_ixrss$LAYOUT, ru_ixrss$OFFSET, fieldValue); + } + + private static final OfLong ru_idrss$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_idrss")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_idrss + * } + */ + public static final OfLong ru_idrss$layout() { + return ru_idrss$LAYOUT; + } + + private static final long ru_idrss$OFFSET = $LAYOUT.byteOffset(groupElement("ru_idrss")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_idrss + * } + */ + public static final long ru_idrss$offset() { + return ru_idrss$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_idrss + * } + */ + public static long ru_idrss(MemorySegment struct) { + return struct.get(ru_idrss$LAYOUT, ru_idrss$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_idrss + * } + */ + public static void ru_idrss(MemorySegment struct, long fieldValue) { + struct.set(ru_idrss$LAYOUT, ru_idrss$OFFSET, fieldValue); + } + + private static final OfLong ru_isrss$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_isrss")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_isrss + * } + */ + public static final OfLong ru_isrss$layout() { + return ru_isrss$LAYOUT; + } + + private static final long ru_isrss$OFFSET = $LAYOUT.byteOffset(groupElement("ru_isrss")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_isrss + * } + */ + public static final long ru_isrss$offset() { + return ru_isrss$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_isrss + * } + */ + public static long ru_isrss(MemorySegment struct) { + return struct.get(ru_isrss$LAYOUT, ru_isrss$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_isrss + * } + */ + public static void ru_isrss(MemorySegment struct, long fieldValue) { + struct.set(ru_isrss$LAYOUT, ru_isrss$OFFSET, fieldValue); + } + + private static final OfLong ru_minflt$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_minflt")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_minflt + * } + */ + public static final OfLong ru_minflt$layout() { + return ru_minflt$LAYOUT; + } + + private static final long ru_minflt$OFFSET = $LAYOUT.byteOffset(groupElement("ru_minflt")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_minflt + * } + */ + public static final long ru_minflt$offset() { + return ru_minflt$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_minflt + * } + */ + public static long ru_minflt(MemorySegment struct) { + return struct.get(ru_minflt$LAYOUT, ru_minflt$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_minflt + * } + */ + public static void ru_minflt(MemorySegment struct, long fieldValue) { + struct.set(ru_minflt$LAYOUT, ru_minflt$OFFSET, fieldValue); + } + + private static final OfLong ru_majflt$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_majflt")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_majflt + * } + */ + public static final OfLong ru_majflt$layout() { + return ru_majflt$LAYOUT; + } + + private static final long ru_majflt$OFFSET = $LAYOUT.byteOffset(groupElement("ru_majflt")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_majflt + * } + */ + public static final long ru_majflt$offset() { + return ru_majflt$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_majflt + * } + */ + public static long ru_majflt(MemorySegment struct) { + return struct.get(ru_majflt$LAYOUT, ru_majflt$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_majflt + * } + */ + public static void ru_majflt(MemorySegment struct, long fieldValue) { + struct.set(ru_majflt$LAYOUT, ru_majflt$OFFSET, fieldValue); + } + + private static final OfLong ru_nswap$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_nswap")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_nswap + * } + */ + public static final OfLong ru_nswap$layout() { + return ru_nswap$LAYOUT; + } + + private static final long ru_nswap$OFFSET = $LAYOUT.byteOffset(groupElement("ru_nswap")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_nswap + * } + */ + public static final long ru_nswap$offset() { + return ru_nswap$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_nswap + * } + */ + public static long ru_nswap(MemorySegment struct) { + return struct.get(ru_nswap$LAYOUT, ru_nswap$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_nswap + * } + */ + public static void ru_nswap(MemorySegment struct, long fieldValue) { + struct.set(ru_nswap$LAYOUT, ru_nswap$OFFSET, fieldValue); + } + + private static final OfLong ru_inblock$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_inblock")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_inblock + * } + */ + public static final OfLong ru_inblock$layout() { + return ru_inblock$LAYOUT; + } + + private static final long ru_inblock$OFFSET = $LAYOUT.byteOffset(groupElement("ru_inblock")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_inblock + * } + */ + public static final long ru_inblock$offset() { + return ru_inblock$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_inblock + * } + */ + public static long ru_inblock(MemorySegment struct) { + return struct.get(ru_inblock$LAYOUT, ru_inblock$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_inblock + * } + */ + public static void ru_inblock(MemorySegment struct, long fieldValue) { + struct.set(ru_inblock$LAYOUT, ru_inblock$OFFSET, fieldValue); + } + + private static final OfLong ru_oublock$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_oublock")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_oublock + * } + */ + public static final OfLong ru_oublock$layout() { + return ru_oublock$LAYOUT; + } + + private static final long ru_oublock$OFFSET = $LAYOUT.byteOffset(groupElement("ru_oublock")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_oublock + * } + */ + public static final long ru_oublock$offset() { + return ru_oublock$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_oublock + * } + */ + public static long ru_oublock(MemorySegment struct) { + return struct.get(ru_oublock$LAYOUT, ru_oublock$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_oublock + * } + */ + public static void ru_oublock(MemorySegment struct, long fieldValue) { + struct.set(ru_oublock$LAYOUT, ru_oublock$OFFSET, fieldValue); + } + + private static final OfLong ru_msgsnd$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_msgsnd")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_msgsnd + * } + */ + public static final OfLong ru_msgsnd$layout() { + return ru_msgsnd$LAYOUT; + } + + private static final long ru_msgsnd$OFFSET = $LAYOUT.byteOffset(groupElement("ru_msgsnd")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_msgsnd + * } + */ + public static final long ru_msgsnd$offset() { + return ru_msgsnd$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_msgsnd + * } + */ + public static long ru_msgsnd(MemorySegment struct) { + return struct.get(ru_msgsnd$LAYOUT, ru_msgsnd$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_msgsnd + * } + */ + public static void ru_msgsnd(MemorySegment struct, long fieldValue) { + struct.set(ru_msgsnd$LAYOUT, ru_msgsnd$OFFSET, fieldValue); + } + + private static final OfLong ru_msgrcv$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_msgrcv")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_msgrcv + * } + */ + public static final OfLong ru_msgrcv$layout() { + return ru_msgrcv$LAYOUT; + } + + private static final long ru_msgrcv$OFFSET = $LAYOUT.byteOffset(groupElement("ru_msgrcv")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_msgrcv + * } + */ + public static final long ru_msgrcv$offset() { + return ru_msgrcv$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_msgrcv + * } + */ + public static long ru_msgrcv(MemorySegment struct) { + return struct.get(ru_msgrcv$LAYOUT, ru_msgrcv$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_msgrcv + * } + */ + public static void ru_msgrcv(MemorySegment struct, long fieldValue) { + struct.set(ru_msgrcv$LAYOUT, ru_msgrcv$OFFSET, fieldValue); + } + + private static final OfLong ru_nsignals$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_nsignals")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_nsignals + * } + */ + public static final OfLong ru_nsignals$layout() { + return ru_nsignals$LAYOUT; + } + + private static final long ru_nsignals$OFFSET = $LAYOUT.byteOffset(groupElement("ru_nsignals")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_nsignals + * } + */ + public static final long ru_nsignals$offset() { + return ru_nsignals$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_nsignals + * } + */ + public static long ru_nsignals(MemorySegment struct) { + return struct.get(ru_nsignals$LAYOUT, ru_nsignals$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_nsignals + * } + */ + public static void ru_nsignals(MemorySegment struct, long fieldValue) { + struct.set(ru_nsignals$LAYOUT, ru_nsignals$OFFSET, fieldValue); + } + + private static final OfLong ru_nvcsw$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_nvcsw")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_nvcsw + * } + */ + public static final OfLong ru_nvcsw$layout() { + return ru_nvcsw$LAYOUT; + } + + private static final long ru_nvcsw$OFFSET = $LAYOUT.byteOffset(groupElement("ru_nvcsw")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_nvcsw + * } + */ + public static final long ru_nvcsw$offset() { + return ru_nvcsw$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_nvcsw + * } + */ + public static long ru_nvcsw(MemorySegment struct) { + return struct.get(ru_nvcsw$LAYOUT, ru_nvcsw$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_nvcsw + * } + */ + public static void ru_nvcsw(MemorySegment struct, long fieldValue) { + struct.set(ru_nvcsw$LAYOUT, ru_nvcsw$OFFSET, fieldValue); + } + + private static final OfLong ru_nivcsw$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ru_nivcsw")); + + /** + * Layout for field: + * {@snippet lang=c : + * long ru_nivcsw + * } + */ + public static final OfLong ru_nivcsw$layout() { + return ru_nivcsw$LAYOUT; + } + + private static final long ru_nivcsw$OFFSET = $LAYOUT.byteOffset(groupElement("ru_nivcsw")); + + /** + * Offset for field: + * {@snippet lang=c : + * long ru_nivcsw + * } + */ + public static final long ru_nivcsw$offset() { + return ru_nivcsw$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * long ru_nivcsw + * } + */ + public static long ru_nivcsw(MemorySegment struct) { + return struct.get(ru_nivcsw$LAYOUT, ru_nivcsw$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * long ru_nivcsw + * } + */ + public static void ru_nivcsw(MemorySegment struct, long fieldValue) { + struct.set(ru_nivcsw$LAYOUT, ru_nivcsw$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/rusage_info_current.java b/generated/src/mlx/rusage_info_current.java new file mode 100644 index 00000000..0af84603 --- /dev/null +++ b/generated/src/mlx/rusage_info_current.java @@ -0,0 +1,76 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct rusage_info_v6 { + * uint8_t ri_uuid[16]; + * uint64_t ri_user_time; + * uint64_t ri_system_time; + * uint64_t ri_pkg_idle_wkups; + * uint64_t ri_interrupt_wkups; + * uint64_t ri_pageins; + * uint64_t ri_wired_size; + * uint64_t ri_resident_size; + * uint64_t ri_phys_footprint; + * uint64_t ri_proc_start_abstime; + * uint64_t ri_proc_exit_abstime; + * uint64_t ri_child_user_time; + * uint64_t ri_child_system_time; + * uint64_t ri_child_pkg_idle_wkups; + * uint64_t ri_child_interrupt_wkups; + * uint64_t ri_child_pageins; + * uint64_t ri_child_elapsed_abstime; + * uint64_t ri_diskio_bytesread; + * uint64_t ri_diskio_byteswritten; + * uint64_t ri_cpu_time_qos_default; + * uint64_t ri_cpu_time_qos_maintenance; + * uint64_t ri_cpu_time_qos_background; + * uint64_t ri_cpu_time_qos_utility; + * uint64_t ri_cpu_time_qos_legacy; + * uint64_t ri_cpu_time_qos_user_initiated; + * uint64_t ri_cpu_time_qos_user_interactive; + * uint64_t ri_billed_system_time; + * uint64_t ri_serviced_system_time; + * uint64_t ri_logical_writes; + * uint64_t ri_lifetime_max_phys_footprint; + * uint64_t ri_instructions; + * uint64_t ri_cycles; + * uint64_t ri_billed_energy; + * uint64_t ri_serviced_energy; + * uint64_t ri_interval_max_phys_footprint; + * uint64_t ri_runnable_time; + * uint64_t ri_flags; + * uint64_t ri_user_ptime; + * uint64_t ri_system_ptime; + * uint64_t ri_pinstructions; + * uint64_t ri_pcycles; + * uint64_t ri_energy_nj; + * uint64_t ri_penergy_nj; + * uint64_t ri_secure_time_in_system; + * uint64_t ri_secure_ptime_in_system; + * uint64_t ri_neural_footprint; + * uint64_t ri_lifetime_max_neural_footprint; + * uint64_t ri_interval_max_neural_footprint; + * uint64_t ri_reserved[9]; + * } rusage_info_current + * } + */ +public class rusage_info_current extends rusage_info_v6 { + + rusage_info_current() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/rusage_info_v0.java b/generated/src/mlx/rusage_info_v0.java new file mode 100644 index 00000000..5bebdce9 --- /dev/null +++ b/generated/src/mlx/rusage_info_v0.java @@ -0,0 +1,620 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct rusage_info_v0 { + * uint8_t ri_uuid[16]; + * uint64_t ri_user_time; + * uint64_t ri_system_time; + * uint64_t ri_pkg_idle_wkups; + * uint64_t ri_interrupt_wkups; + * uint64_t ri_pageins; + * uint64_t ri_wired_size; + * uint64_t ri_resident_size; + * uint64_t ri_phys_footprint; + * uint64_t ri_proc_start_abstime; + * uint64_t ri_proc_exit_abstime; + * } + * } + */ +public class rusage_info_v0 { + + rusage_info_v0() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, mlx_h.C_CHAR).withName("ri_uuid"), + mlx_h.C_LONG_LONG.withName("ri_user_time"), + mlx_h.C_LONG_LONG.withName("ri_system_time"), + mlx_h.C_LONG_LONG.withName("ri_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_pageins"), + mlx_h.C_LONG_LONG.withName("ri_wired_size"), + mlx_h.C_LONG_LONG.withName("ri_resident_size"), + mlx_h.C_LONG_LONG.withName("ri_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_proc_start_abstime"), + mlx_h.C_LONG_LONG.withName("ri_proc_exit_abstime") + ).withName("rusage_info_v0"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout ri_uuid$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("ri_uuid")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final SequenceLayout ri_uuid$layout() { + return ri_uuid$LAYOUT; + } + + private static final long ri_uuid$OFFSET = $LAYOUT.byteOffset(groupElement("ri_uuid")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final long ri_uuid$offset() { + return ri_uuid$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static MemorySegment ri_uuid(MemorySegment struct) { + return struct.asSlice(ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + private static long[] ri_uuid$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static long[] ri_uuid$dimensions() { + return ri_uuid$DIMS; + } + private static final VarHandle ri_uuid$ELEM_HANDLE = ri_uuid$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static byte ri_uuid(MemorySegment struct, long index0) { + return (byte)ri_uuid$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, long index0, byte fieldValue) { + ri_uuid$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong ri_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final OfLong ri_user_time$layout() { + return ri_user_time$LAYOUT; + } + + private static final long ri_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final long ri_user_time$offset() { + return ri_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static long ri_user_time(MemorySegment struct) { + return struct.get(ri_user_time$LAYOUT, ri_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static void ri_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_user_time$LAYOUT, ri_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final OfLong ri_system_time$layout() { + return ri_system_time$LAYOUT; + } + + private static final long ri_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final long ri_system_time$offset() { + return ri_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static long ri_system_time(MemorySegment struct) { + return struct.get(ri_system_time$LAYOUT, ri_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static void ri_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_system_time$LAYOUT, ri_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final OfLong ri_pkg_idle_wkups$layout() { + return ri_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final long ri_pkg_idle_wkups$offset() { + return ri_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static long ri_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static void ri_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final OfLong ri_interrupt_wkups$layout() { + return ri_interrupt_wkups$LAYOUT; + } + + private static final long ri_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final long ri_interrupt_wkups$offset() { + return ri_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static long ri_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static void ri_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final OfLong ri_pageins$layout() { + return ri_pageins$LAYOUT; + } + + private static final long ri_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final long ri_pageins$offset() { + return ri_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static long ri_pageins(MemorySegment struct) { + return struct.get(ri_pageins$LAYOUT, ri_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static void ri_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_pageins$LAYOUT, ri_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_wired_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_wired_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final OfLong ri_wired_size$layout() { + return ri_wired_size$LAYOUT; + } + + private static final long ri_wired_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_wired_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final long ri_wired_size$offset() { + return ri_wired_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static long ri_wired_size(MemorySegment struct) { + return struct.get(ri_wired_size$LAYOUT, ri_wired_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static void ri_wired_size(MemorySegment struct, long fieldValue) { + struct.set(ri_wired_size$LAYOUT, ri_wired_size$OFFSET, fieldValue); + } + + private static final OfLong ri_resident_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_resident_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final OfLong ri_resident_size$layout() { + return ri_resident_size$LAYOUT; + } + + private static final long ri_resident_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_resident_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final long ri_resident_size$offset() { + return ri_resident_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static long ri_resident_size(MemorySegment struct) { + return struct.get(ri_resident_size$LAYOUT, ri_resident_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static void ri_resident_size(MemorySegment struct, long fieldValue) { + struct.set(ri_resident_size$LAYOUT, ri_resident_size$OFFSET, fieldValue); + } + + private static final OfLong ri_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final OfLong ri_phys_footprint$layout() { + return ri_phys_footprint$LAYOUT; + } + + private static final long ri_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final long ri_phys_footprint$offset() { + return ri_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static long ri_phys_footprint(MemorySegment struct) { + return struct.get(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static void ri_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_start_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_start_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final OfLong ri_proc_start_abstime$layout() { + return ri_proc_start_abstime$LAYOUT; + } + + private static final long ri_proc_start_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_start_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final long ri_proc_start_abstime$offset() { + return ri_proc_start_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static long ri_proc_start_abstime(MemorySegment struct) { + return struct.get(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static void ri_proc_start_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_exit_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_exit_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final OfLong ri_proc_exit_abstime$layout() { + return ri_proc_exit_abstime$LAYOUT; + } + + private static final long ri_proc_exit_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_exit_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final long ri_proc_exit_abstime$offset() { + return ri_proc_exit_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static long ri_proc_exit_abstime(MemorySegment struct) { + return struct.get(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static void ri_proc_exit_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/rusage_info_v1.java b/generated/src/mlx/rusage_info_v1.java new file mode 100644 index 00000000..2dc3e64b --- /dev/null +++ b/generated/src/mlx/rusage_info_v1.java @@ -0,0 +1,896 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct rusage_info_v1 { + * uint8_t ri_uuid[16]; + * uint64_t ri_user_time; + * uint64_t ri_system_time; + * uint64_t ri_pkg_idle_wkups; + * uint64_t ri_interrupt_wkups; + * uint64_t ri_pageins; + * uint64_t ri_wired_size; + * uint64_t ri_resident_size; + * uint64_t ri_phys_footprint; + * uint64_t ri_proc_start_abstime; + * uint64_t ri_proc_exit_abstime; + * uint64_t ri_child_user_time; + * uint64_t ri_child_system_time; + * uint64_t ri_child_pkg_idle_wkups; + * uint64_t ri_child_interrupt_wkups; + * uint64_t ri_child_pageins; + * uint64_t ri_child_elapsed_abstime; + * } + * } + */ +public class rusage_info_v1 { + + rusage_info_v1() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, mlx_h.C_CHAR).withName("ri_uuid"), + mlx_h.C_LONG_LONG.withName("ri_user_time"), + mlx_h.C_LONG_LONG.withName("ri_system_time"), + mlx_h.C_LONG_LONG.withName("ri_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_pageins"), + mlx_h.C_LONG_LONG.withName("ri_wired_size"), + mlx_h.C_LONG_LONG.withName("ri_resident_size"), + mlx_h.C_LONG_LONG.withName("ri_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_proc_start_abstime"), + mlx_h.C_LONG_LONG.withName("ri_proc_exit_abstime"), + mlx_h.C_LONG_LONG.withName("ri_child_user_time"), + mlx_h.C_LONG_LONG.withName("ri_child_system_time"), + mlx_h.C_LONG_LONG.withName("ri_child_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_pageins"), + mlx_h.C_LONG_LONG.withName("ri_child_elapsed_abstime") + ).withName("rusage_info_v1"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout ri_uuid$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("ri_uuid")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final SequenceLayout ri_uuid$layout() { + return ri_uuid$LAYOUT; + } + + private static final long ri_uuid$OFFSET = $LAYOUT.byteOffset(groupElement("ri_uuid")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final long ri_uuid$offset() { + return ri_uuid$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static MemorySegment ri_uuid(MemorySegment struct) { + return struct.asSlice(ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + private static long[] ri_uuid$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static long[] ri_uuid$dimensions() { + return ri_uuid$DIMS; + } + private static final VarHandle ri_uuid$ELEM_HANDLE = ri_uuid$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static byte ri_uuid(MemorySegment struct, long index0) { + return (byte)ri_uuid$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, long index0, byte fieldValue) { + ri_uuid$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong ri_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final OfLong ri_user_time$layout() { + return ri_user_time$LAYOUT; + } + + private static final long ri_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final long ri_user_time$offset() { + return ri_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static long ri_user_time(MemorySegment struct) { + return struct.get(ri_user_time$LAYOUT, ri_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static void ri_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_user_time$LAYOUT, ri_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final OfLong ri_system_time$layout() { + return ri_system_time$LAYOUT; + } + + private static final long ri_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final long ri_system_time$offset() { + return ri_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static long ri_system_time(MemorySegment struct) { + return struct.get(ri_system_time$LAYOUT, ri_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static void ri_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_system_time$LAYOUT, ri_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final OfLong ri_pkg_idle_wkups$layout() { + return ri_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final long ri_pkg_idle_wkups$offset() { + return ri_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static long ri_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static void ri_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final OfLong ri_interrupt_wkups$layout() { + return ri_interrupt_wkups$LAYOUT; + } + + private static final long ri_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final long ri_interrupt_wkups$offset() { + return ri_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static long ri_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static void ri_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final OfLong ri_pageins$layout() { + return ri_pageins$LAYOUT; + } + + private static final long ri_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final long ri_pageins$offset() { + return ri_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static long ri_pageins(MemorySegment struct) { + return struct.get(ri_pageins$LAYOUT, ri_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static void ri_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_pageins$LAYOUT, ri_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_wired_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_wired_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final OfLong ri_wired_size$layout() { + return ri_wired_size$LAYOUT; + } + + private static final long ri_wired_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_wired_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final long ri_wired_size$offset() { + return ri_wired_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static long ri_wired_size(MemorySegment struct) { + return struct.get(ri_wired_size$LAYOUT, ri_wired_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static void ri_wired_size(MemorySegment struct, long fieldValue) { + struct.set(ri_wired_size$LAYOUT, ri_wired_size$OFFSET, fieldValue); + } + + private static final OfLong ri_resident_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_resident_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final OfLong ri_resident_size$layout() { + return ri_resident_size$LAYOUT; + } + + private static final long ri_resident_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_resident_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final long ri_resident_size$offset() { + return ri_resident_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static long ri_resident_size(MemorySegment struct) { + return struct.get(ri_resident_size$LAYOUT, ri_resident_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static void ri_resident_size(MemorySegment struct, long fieldValue) { + struct.set(ri_resident_size$LAYOUT, ri_resident_size$OFFSET, fieldValue); + } + + private static final OfLong ri_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final OfLong ri_phys_footprint$layout() { + return ri_phys_footprint$LAYOUT; + } + + private static final long ri_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final long ri_phys_footprint$offset() { + return ri_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static long ri_phys_footprint(MemorySegment struct) { + return struct.get(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static void ri_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_start_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_start_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final OfLong ri_proc_start_abstime$layout() { + return ri_proc_start_abstime$LAYOUT; + } + + private static final long ri_proc_start_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_start_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final long ri_proc_start_abstime$offset() { + return ri_proc_start_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static long ri_proc_start_abstime(MemorySegment struct) { + return struct.get(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static void ri_proc_start_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_exit_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_exit_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final OfLong ri_proc_exit_abstime$layout() { + return ri_proc_exit_abstime$LAYOUT; + } + + private static final long ri_proc_exit_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_exit_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final long ri_proc_exit_abstime$offset() { + return ri_proc_exit_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static long ri_proc_exit_abstime(MemorySegment struct) { + return struct.get(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static void ri_proc_exit_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_child_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final OfLong ri_child_user_time$layout() { + return ri_child_user_time$LAYOUT; + } + + private static final long ri_child_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final long ri_child_user_time$offset() { + return ri_child_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static long ri_child_user_time(MemorySegment struct) { + return struct.get(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static void ri_child_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final OfLong ri_child_system_time$layout() { + return ri_child_system_time$LAYOUT; + } + + private static final long ri_child_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final long ri_child_system_time$offset() { + return ri_child_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static long ri_child_system_time(MemorySegment struct) { + return struct.get(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static void ri_child_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final OfLong ri_child_pkg_idle_wkups$layout() { + return ri_child_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_child_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final long ri_child_pkg_idle_wkups$offset() { + return ri_child_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static long ri_child_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static void ri_child_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final OfLong ri_child_interrupt_wkups$layout() { + return ri_child_interrupt_wkups$LAYOUT; + } + + private static final long ri_child_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final long ri_child_interrupt_wkups$offset() { + return ri_child_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static long ri_child_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static void ri_child_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final OfLong ri_child_pageins$layout() { + return ri_child_pageins$LAYOUT; + } + + private static final long ri_child_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final long ri_child_pageins$offset() { + return ri_child_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static long ri_child_pageins(MemorySegment struct) { + return struct.get(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static void ri_child_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_child_elapsed_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_elapsed_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final OfLong ri_child_elapsed_abstime$layout() { + return ri_child_elapsed_abstime$LAYOUT; + } + + private static final long ri_child_elapsed_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_elapsed_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final long ri_child_elapsed_abstime$offset() { + return ri_child_elapsed_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static long ri_child_elapsed_abstime(MemorySegment struct) { + return struct.get(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static void ri_child_elapsed_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/rusage_info_v2.java b/generated/src/mlx/rusage_info_v2.java new file mode 100644 index 00000000..d124225a --- /dev/null +++ b/generated/src/mlx/rusage_info_v2.java @@ -0,0 +1,988 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct rusage_info_v2 { + * uint8_t ri_uuid[16]; + * uint64_t ri_user_time; + * uint64_t ri_system_time; + * uint64_t ri_pkg_idle_wkups; + * uint64_t ri_interrupt_wkups; + * uint64_t ri_pageins; + * uint64_t ri_wired_size; + * uint64_t ri_resident_size; + * uint64_t ri_phys_footprint; + * uint64_t ri_proc_start_abstime; + * uint64_t ri_proc_exit_abstime; + * uint64_t ri_child_user_time; + * uint64_t ri_child_system_time; + * uint64_t ri_child_pkg_idle_wkups; + * uint64_t ri_child_interrupt_wkups; + * uint64_t ri_child_pageins; + * uint64_t ri_child_elapsed_abstime; + * uint64_t ri_diskio_bytesread; + * uint64_t ri_diskio_byteswritten; + * } + * } + */ +public class rusage_info_v2 { + + rusage_info_v2() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, mlx_h.C_CHAR).withName("ri_uuid"), + mlx_h.C_LONG_LONG.withName("ri_user_time"), + mlx_h.C_LONG_LONG.withName("ri_system_time"), + mlx_h.C_LONG_LONG.withName("ri_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_pageins"), + mlx_h.C_LONG_LONG.withName("ri_wired_size"), + mlx_h.C_LONG_LONG.withName("ri_resident_size"), + mlx_h.C_LONG_LONG.withName("ri_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_proc_start_abstime"), + mlx_h.C_LONG_LONG.withName("ri_proc_exit_abstime"), + mlx_h.C_LONG_LONG.withName("ri_child_user_time"), + mlx_h.C_LONG_LONG.withName("ri_child_system_time"), + mlx_h.C_LONG_LONG.withName("ri_child_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_pageins"), + mlx_h.C_LONG_LONG.withName("ri_child_elapsed_abstime"), + mlx_h.C_LONG_LONG.withName("ri_diskio_bytesread"), + mlx_h.C_LONG_LONG.withName("ri_diskio_byteswritten") + ).withName("rusage_info_v2"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout ri_uuid$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("ri_uuid")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final SequenceLayout ri_uuid$layout() { + return ri_uuid$LAYOUT; + } + + private static final long ri_uuid$OFFSET = $LAYOUT.byteOffset(groupElement("ri_uuid")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final long ri_uuid$offset() { + return ri_uuid$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static MemorySegment ri_uuid(MemorySegment struct) { + return struct.asSlice(ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + private static long[] ri_uuid$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static long[] ri_uuid$dimensions() { + return ri_uuid$DIMS; + } + private static final VarHandle ri_uuid$ELEM_HANDLE = ri_uuid$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static byte ri_uuid(MemorySegment struct, long index0) { + return (byte)ri_uuid$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, long index0, byte fieldValue) { + ri_uuid$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong ri_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final OfLong ri_user_time$layout() { + return ri_user_time$LAYOUT; + } + + private static final long ri_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final long ri_user_time$offset() { + return ri_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static long ri_user_time(MemorySegment struct) { + return struct.get(ri_user_time$LAYOUT, ri_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static void ri_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_user_time$LAYOUT, ri_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final OfLong ri_system_time$layout() { + return ri_system_time$LAYOUT; + } + + private static final long ri_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final long ri_system_time$offset() { + return ri_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static long ri_system_time(MemorySegment struct) { + return struct.get(ri_system_time$LAYOUT, ri_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static void ri_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_system_time$LAYOUT, ri_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final OfLong ri_pkg_idle_wkups$layout() { + return ri_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final long ri_pkg_idle_wkups$offset() { + return ri_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static long ri_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static void ri_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final OfLong ri_interrupt_wkups$layout() { + return ri_interrupt_wkups$LAYOUT; + } + + private static final long ri_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final long ri_interrupt_wkups$offset() { + return ri_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static long ri_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static void ri_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final OfLong ri_pageins$layout() { + return ri_pageins$LAYOUT; + } + + private static final long ri_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final long ri_pageins$offset() { + return ri_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static long ri_pageins(MemorySegment struct) { + return struct.get(ri_pageins$LAYOUT, ri_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static void ri_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_pageins$LAYOUT, ri_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_wired_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_wired_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final OfLong ri_wired_size$layout() { + return ri_wired_size$LAYOUT; + } + + private static final long ri_wired_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_wired_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final long ri_wired_size$offset() { + return ri_wired_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static long ri_wired_size(MemorySegment struct) { + return struct.get(ri_wired_size$LAYOUT, ri_wired_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static void ri_wired_size(MemorySegment struct, long fieldValue) { + struct.set(ri_wired_size$LAYOUT, ri_wired_size$OFFSET, fieldValue); + } + + private static final OfLong ri_resident_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_resident_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final OfLong ri_resident_size$layout() { + return ri_resident_size$LAYOUT; + } + + private static final long ri_resident_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_resident_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final long ri_resident_size$offset() { + return ri_resident_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static long ri_resident_size(MemorySegment struct) { + return struct.get(ri_resident_size$LAYOUT, ri_resident_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static void ri_resident_size(MemorySegment struct, long fieldValue) { + struct.set(ri_resident_size$LAYOUT, ri_resident_size$OFFSET, fieldValue); + } + + private static final OfLong ri_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final OfLong ri_phys_footprint$layout() { + return ri_phys_footprint$LAYOUT; + } + + private static final long ri_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final long ri_phys_footprint$offset() { + return ri_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static long ri_phys_footprint(MemorySegment struct) { + return struct.get(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static void ri_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_start_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_start_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final OfLong ri_proc_start_abstime$layout() { + return ri_proc_start_abstime$LAYOUT; + } + + private static final long ri_proc_start_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_start_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final long ri_proc_start_abstime$offset() { + return ri_proc_start_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static long ri_proc_start_abstime(MemorySegment struct) { + return struct.get(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static void ri_proc_start_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_exit_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_exit_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final OfLong ri_proc_exit_abstime$layout() { + return ri_proc_exit_abstime$LAYOUT; + } + + private static final long ri_proc_exit_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_exit_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final long ri_proc_exit_abstime$offset() { + return ri_proc_exit_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static long ri_proc_exit_abstime(MemorySegment struct) { + return struct.get(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static void ri_proc_exit_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_child_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final OfLong ri_child_user_time$layout() { + return ri_child_user_time$LAYOUT; + } + + private static final long ri_child_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final long ri_child_user_time$offset() { + return ri_child_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static long ri_child_user_time(MemorySegment struct) { + return struct.get(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static void ri_child_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final OfLong ri_child_system_time$layout() { + return ri_child_system_time$LAYOUT; + } + + private static final long ri_child_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final long ri_child_system_time$offset() { + return ri_child_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static long ri_child_system_time(MemorySegment struct) { + return struct.get(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static void ri_child_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final OfLong ri_child_pkg_idle_wkups$layout() { + return ri_child_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_child_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final long ri_child_pkg_idle_wkups$offset() { + return ri_child_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static long ri_child_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static void ri_child_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final OfLong ri_child_interrupt_wkups$layout() { + return ri_child_interrupt_wkups$LAYOUT; + } + + private static final long ri_child_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final long ri_child_interrupt_wkups$offset() { + return ri_child_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static long ri_child_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static void ri_child_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final OfLong ri_child_pageins$layout() { + return ri_child_pageins$LAYOUT; + } + + private static final long ri_child_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final long ri_child_pageins$offset() { + return ri_child_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static long ri_child_pageins(MemorySegment struct) { + return struct.get(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static void ri_child_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_child_elapsed_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_elapsed_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final OfLong ri_child_elapsed_abstime$layout() { + return ri_child_elapsed_abstime$LAYOUT; + } + + private static final long ri_child_elapsed_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_elapsed_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final long ri_child_elapsed_abstime$offset() { + return ri_child_elapsed_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static long ri_child_elapsed_abstime(MemorySegment struct) { + return struct.get(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static void ri_child_elapsed_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_diskio_bytesread$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_diskio_bytesread")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static final OfLong ri_diskio_bytesread$layout() { + return ri_diskio_bytesread$LAYOUT; + } + + private static final long ri_diskio_bytesread$OFFSET = $LAYOUT.byteOffset(groupElement("ri_diskio_bytesread")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static final long ri_diskio_bytesread$offset() { + return ri_diskio_bytesread$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static long ri_diskio_bytesread(MemorySegment struct) { + return struct.get(ri_diskio_bytesread$LAYOUT, ri_diskio_bytesread$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static void ri_diskio_bytesread(MemorySegment struct, long fieldValue) { + struct.set(ri_diskio_bytesread$LAYOUT, ri_diskio_bytesread$OFFSET, fieldValue); + } + + private static final OfLong ri_diskio_byteswritten$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_diskio_byteswritten")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static final OfLong ri_diskio_byteswritten$layout() { + return ri_diskio_byteswritten$LAYOUT; + } + + private static final long ri_diskio_byteswritten$OFFSET = $LAYOUT.byteOffset(groupElement("ri_diskio_byteswritten")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static final long ri_diskio_byteswritten$offset() { + return ri_diskio_byteswritten$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static long ri_diskio_byteswritten(MemorySegment struct) { + return struct.get(ri_diskio_byteswritten$LAYOUT, ri_diskio_byteswritten$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static void ri_diskio_byteswritten(MemorySegment struct, long fieldValue) { + struct.set(ri_diskio_byteswritten$LAYOUT, ri_diskio_byteswritten$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/rusage_info_v3.java b/generated/src/mlx/rusage_info_v3.java new file mode 100644 index 00000000..e635a896 --- /dev/null +++ b/generated/src/mlx/rusage_info_v3.java @@ -0,0 +1,1402 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct rusage_info_v3 { + * uint8_t ri_uuid[16]; + * uint64_t ri_user_time; + * uint64_t ri_system_time; + * uint64_t ri_pkg_idle_wkups; + * uint64_t ri_interrupt_wkups; + * uint64_t ri_pageins; + * uint64_t ri_wired_size; + * uint64_t ri_resident_size; + * uint64_t ri_phys_footprint; + * uint64_t ri_proc_start_abstime; + * uint64_t ri_proc_exit_abstime; + * uint64_t ri_child_user_time; + * uint64_t ri_child_system_time; + * uint64_t ri_child_pkg_idle_wkups; + * uint64_t ri_child_interrupt_wkups; + * uint64_t ri_child_pageins; + * uint64_t ri_child_elapsed_abstime; + * uint64_t ri_diskio_bytesread; + * uint64_t ri_diskio_byteswritten; + * uint64_t ri_cpu_time_qos_default; + * uint64_t ri_cpu_time_qos_maintenance; + * uint64_t ri_cpu_time_qos_background; + * uint64_t ri_cpu_time_qos_utility; + * uint64_t ri_cpu_time_qos_legacy; + * uint64_t ri_cpu_time_qos_user_initiated; + * uint64_t ri_cpu_time_qos_user_interactive; + * uint64_t ri_billed_system_time; + * uint64_t ri_serviced_system_time; + * } + * } + */ +public class rusage_info_v3 { + + rusage_info_v3() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, mlx_h.C_CHAR).withName("ri_uuid"), + mlx_h.C_LONG_LONG.withName("ri_user_time"), + mlx_h.C_LONG_LONG.withName("ri_system_time"), + mlx_h.C_LONG_LONG.withName("ri_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_pageins"), + mlx_h.C_LONG_LONG.withName("ri_wired_size"), + mlx_h.C_LONG_LONG.withName("ri_resident_size"), + mlx_h.C_LONG_LONG.withName("ri_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_proc_start_abstime"), + mlx_h.C_LONG_LONG.withName("ri_proc_exit_abstime"), + mlx_h.C_LONG_LONG.withName("ri_child_user_time"), + mlx_h.C_LONG_LONG.withName("ri_child_system_time"), + mlx_h.C_LONG_LONG.withName("ri_child_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_pageins"), + mlx_h.C_LONG_LONG.withName("ri_child_elapsed_abstime"), + mlx_h.C_LONG_LONG.withName("ri_diskio_bytesread"), + mlx_h.C_LONG_LONG.withName("ri_diskio_byteswritten"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_default"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_maintenance"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_background"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_utility"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_legacy"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_user_initiated"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_user_interactive"), + mlx_h.C_LONG_LONG.withName("ri_billed_system_time"), + mlx_h.C_LONG_LONG.withName("ri_serviced_system_time") + ).withName("rusage_info_v3"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout ri_uuid$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("ri_uuid")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final SequenceLayout ri_uuid$layout() { + return ri_uuid$LAYOUT; + } + + private static final long ri_uuid$OFFSET = $LAYOUT.byteOffset(groupElement("ri_uuid")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final long ri_uuid$offset() { + return ri_uuid$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static MemorySegment ri_uuid(MemorySegment struct) { + return struct.asSlice(ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + private static long[] ri_uuid$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static long[] ri_uuid$dimensions() { + return ri_uuid$DIMS; + } + private static final VarHandle ri_uuid$ELEM_HANDLE = ri_uuid$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static byte ri_uuid(MemorySegment struct, long index0) { + return (byte)ri_uuid$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, long index0, byte fieldValue) { + ri_uuid$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong ri_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final OfLong ri_user_time$layout() { + return ri_user_time$LAYOUT; + } + + private static final long ri_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final long ri_user_time$offset() { + return ri_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static long ri_user_time(MemorySegment struct) { + return struct.get(ri_user_time$LAYOUT, ri_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static void ri_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_user_time$LAYOUT, ri_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final OfLong ri_system_time$layout() { + return ri_system_time$LAYOUT; + } + + private static final long ri_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final long ri_system_time$offset() { + return ri_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static long ri_system_time(MemorySegment struct) { + return struct.get(ri_system_time$LAYOUT, ri_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static void ri_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_system_time$LAYOUT, ri_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final OfLong ri_pkg_idle_wkups$layout() { + return ri_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final long ri_pkg_idle_wkups$offset() { + return ri_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static long ri_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static void ri_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final OfLong ri_interrupt_wkups$layout() { + return ri_interrupt_wkups$LAYOUT; + } + + private static final long ri_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final long ri_interrupt_wkups$offset() { + return ri_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static long ri_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static void ri_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final OfLong ri_pageins$layout() { + return ri_pageins$LAYOUT; + } + + private static final long ri_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final long ri_pageins$offset() { + return ri_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static long ri_pageins(MemorySegment struct) { + return struct.get(ri_pageins$LAYOUT, ri_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static void ri_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_pageins$LAYOUT, ri_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_wired_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_wired_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final OfLong ri_wired_size$layout() { + return ri_wired_size$LAYOUT; + } + + private static final long ri_wired_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_wired_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final long ri_wired_size$offset() { + return ri_wired_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static long ri_wired_size(MemorySegment struct) { + return struct.get(ri_wired_size$LAYOUT, ri_wired_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static void ri_wired_size(MemorySegment struct, long fieldValue) { + struct.set(ri_wired_size$LAYOUT, ri_wired_size$OFFSET, fieldValue); + } + + private static final OfLong ri_resident_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_resident_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final OfLong ri_resident_size$layout() { + return ri_resident_size$LAYOUT; + } + + private static final long ri_resident_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_resident_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final long ri_resident_size$offset() { + return ri_resident_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static long ri_resident_size(MemorySegment struct) { + return struct.get(ri_resident_size$LAYOUT, ri_resident_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static void ri_resident_size(MemorySegment struct, long fieldValue) { + struct.set(ri_resident_size$LAYOUT, ri_resident_size$OFFSET, fieldValue); + } + + private static final OfLong ri_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final OfLong ri_phys_footprint$layout() { + return ri_phys_footprint$LAYOUT; + } + + private static final long ri_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final long ri_phys_footprint$offset() { + return ri_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static long ri_phys_footprint(MemorySegment struct) { + return struct.get(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static void ri_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_start_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_start_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final OfLong ri_proc_start_abstime$layout() { + return ri_proc_start_abstime$LAYOUT; + } + + private static final long ri_proc_start_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_start_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final long ri_proc_start_abstime$offset() { + return ri_proc_start_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static long ri_proc_start_abstime(MemorySegment struct) { + return struct.get(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static void ri_proc_start_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_exit_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_exit_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final OfLong ri_proc_exit_abstime$layout() { + return ri_proc_exit_abstime$LAYOUT; + } + + private static final long ri_proc_exit_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_exit_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final long ri_proc_exit_abstime$offset() { + return ri_proc_exit_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static long ri_proc_exit_abstime(MemorySegment struct) { + return struct.get(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static void ri_proc_exit_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_child_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final OfLong ri_child_user_time$layout() { + return ri_child_user_time$LAYOUT; + } + + private static final long ri_child_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final long ri_child_user_time$offset() { + return ri_child_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static long ri_child_user_time(MemorySegment struct) { + return struct.get(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static void ri_child_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final OfLong ri_child_system_time$layout() { + return ri_child_system_time$LAYOUT; + } + + private static final long ri_child_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final long ri_child_system_time$offset() { + return ri_child_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static long ri_child_system_time(MemorySegment struct) { + return struct.get(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static void ri_child_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final OfLong ri_child_pkg_idle_wkups$layout() { + return ri_child_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_child_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final long ri_child_pkg_idle_wkups$offset() { + return ri_child_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static long ri_child_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static void ri_child_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final OfLong ri_child_interrupt_wkups$layout() { + return ri_child_interrupt_wkups$LAYOUT; + } + + private static final long ri_child_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final long ri_child_interrupt_wkups$offset() { + return ri_child_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static long ri_child_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static void ri_child_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final OfLong ri_child_pageins$layout() { + return ri_child_pageins$LAYOUT; + } + + private static final long ri_child_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final long ri_child_pageins$offset() { + return ri_child_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static long ri_child_pageins(MemorySegment struct) { + return struct.get(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static void ri_child_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_child_elapsed_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_elapsed_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final OfLong ri_child_elapsed_abstime$layout() { + return ri_child_elapsed_abstime$LAYOUT; + } + + private static final long ri_child_elapsed_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_elapsed_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final long ri_child_elapsed_abstime$offset() { + return ri_child_elapsed_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static long ri_child_elapsed_abstime(MemorySegment struct) { + return struct.get(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static void ri_child_elapsed_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_diskio_bytesread$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_diskio_bytesread")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static final OfLong ri_diskio_bytesread$layout() { + return ri_diskio_bytesread$LAYOUT; + } + + private static final long ri_diskio_bytesread$OFFSET = $LAYOUT.byteOffset(groupElement("ri_diskio_bytesread")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static final long ri_diskio_bytesread$offset() { + return ri_diskio_bytesread$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static long ri_diskio_bytesread(MemorySegment struct) { + return struct.get(ri_diskio_bytesread$LAYOUT, ri_diskio_bytesread$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static void ri_diskio_bytesread(MemorySegment struct, long fieldValue) { + struct.set(ri_diskio_bytesread$LAYOUT, ri_diskio_bytesread$OFFSET, fieldValue); + } + + private static final OfLong ri_diskio_byteswritten$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_diskio_byteswritten")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static final OfLong ri_diskio_byteswritten$layout() { + return ri_diskio_byteswritten$LAYOUT; + } + + private static final long ri_diskio_byteswritten$OFFSET = $LAYOUT.byteOffset(groupElement("ri_diskio_byteswritten")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static final long ri_diskio_byteswritten$offset() { + return ri_diskio_byteswritten$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static long ri_diskio_byteswritten(MemorySegment struct) { + return struct.get(ri_diskio_byteswritten$LAYOUT, ri_diskio_byteswritten$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static void ri_diskio_byteswritten(MemorySegment struct, long fieldValue) { + struct.set(ri_diskio_byteswritten$LAYOUT, ri_diskio_byteswritten$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_default$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_default")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static final OfLong ri_cpu_time_qos_default$layout() { + return ri_cpu_time_qos_default$LAYOUT; + } + + private static final long ri_cpu_time_qos_default$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_default")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static final long ri_cpu_time_qos_default$offset() { + return ri_cpu_time_qos_default$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static long ri_cpu_time_qos_default(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_default$LAYOUT, ri_cpu_time_qos_default$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static void ri_cpu_time_qos_default(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_default$LAYOUT, ri_cpu_time_qos_default$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_maintenance$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_maintenance")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static final OfLong ri_cpu_time_qos_maintenance$layout() { + return ri_cpu_time_qos_maintenance$LAYOUT; + } + + private static final long ri_cpu_time_qos_maintenance$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_maintenance")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static final long ri_cpu_time_qos_maintenance$offset() { + return ri_cpu_time_qos_maintenance$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static long ri_cpu_time_qos_maintenance(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_maintenance$LAYOUT, ri_cpu_time_qos_maintenance$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static void ri_cpu_time_qos_maintenance(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_maintenance$LAYOUT, ri_cpu_time_qos_maintenance$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_background$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_background")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static final OfLong ri_cpu_time_qos_background$layout() { + return ri_cpu_time_qos_background$LAYOUT; + } + + private static final long ri_cpu_time_qos_background$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_background")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static final long ri_cpu_time_qos_background$offset() { + return ri_cpu_time_qos_background$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static long ri_cpu_time_qos_background(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_background$LAYOUT, ri_cpu_time_qos_background$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static void ri_cpu_time_qos_background(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_background$LAYOUT, ri_cpu_time_qos_background$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_utility$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_utility")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static final OfLong ri_cpu_time_qos_utility$layout() { + return ri_cpu_time_qos_utility$LAYOUT; + } + + private static final long ri_cpu_time_qos_utility$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_utility")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static final long ri_cpu_time_qos_utility$offset() { + return ri_cpu_time_qos_utility$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static long ri_cpu_time_qos_utility(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_utility$LAYOUT, ri_cpu_time_qos_utility$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static void ri_cpu_time_qos_utility(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_utility$LAYOUT, ri_cpu_time_qos_utility$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_legacy$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_legacy")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static final OfLong ri_cpu_time_qos_legacy$layout() { + return ri_cpu_time_qos_legacy$LAYOUT; + } + + private static final long ri_cpu_time_qos_legacy$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_legacy")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static final long ri_cpu_time_qos_legacy$offset() { + return ri_cpu_time_qos_legacy$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static long ri_cpu_time_qos_legacy(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_legacy$LAYOUT, ri_cpu_time_qos_legacy$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static void ri_cpu_time_qos_legacy(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_legacy$LAYOUT, ri_cpu_time_qos_legacy$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_user_initiated$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_user_initiated")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static final OfLong ri_cpu_time_qos_user_initiated$layout() { + return ri_cpu_time_qos_user_initiated$LAYOUT; + } + + private static final long ri_cpu_time_qos_user_initiated$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_user_initiated")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static final long ri_cpu_time_qos_user_initiated$offset() { + return ri_cpu_time_qos_user_initiated$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static long ri_cpu_time_qos_user_initiated(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_user_initiated$LAYOUT, ri_cpu_time_qos_user_initiated$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static void ri_cpu_time_qos_user_initiated(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_user_initiated$LAYOUT, ri_cpu_time_qos_user_initiated$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_user_interactive$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_user_interactive")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static final OfLong ri_cpu_time_qos_user_interactive$layout() { + return ri_cpu_time_qos_user_interactive$LAYOUT; + } + + private static final long ri_cpu_time_qos_user_interactive$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_user_interactive")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static final long ri_cpu_time_qos_user_interactive$offset() { + return ri_cpu_time_qos_user_interactive$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static long ri_cpu_time_qos_user_interactive(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_user_interactive$LAYOUT, ri_cpu_time_qos_user_interactive$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static void ri_cpu_time_qos_user_interactive(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_user_interactive$LAYOUT, ri_cpu_time_qos_user_interactive$OFFSET, fieldValue); + } + + private static final OfLong ri_billed_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_billed_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static final OfLong ri_billed_system_time$layout() { + return ri_billed_system_time$LAYOUT; + } + + private static final long ri_billed_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_billed_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static final long ri_billed_system_time$offset() { + return ri_billed_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static long ri_billed_system_time(MemorySegment struct) { + return struct.get(ri_billed_system_time$LAYOUT, ri_billed_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static void ri_billed_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_billed_system_time$LAYOUT, ri_billed_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_serviced_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_serviced_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static final OfLong ri_serviced_system_time$layout() { + return ri_serviced_system_time$LAYOUT; + } + + private static final long ri_serviced_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_serviced_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static final long ri_serviced_system_time$offset() { + return ri_serviced_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static long ri_serviced_system_time(MemorySegment struct) { + return struct.get(ri_serviced_system_time$LAYOUT, ri_serviced_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static void ri_serviced_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_serviced_system_time$LAYOUT, ri_serviced_system_time$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/rusage_info_v4.java b/generated/src/mlx/rusage_info_v4.java new file mode 100644 index 00000000..f583f7e3 --- /dev/null +++ b/generated/src/mlx/rusage_info_v4.java @@ -0,0 +1,1770 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct rusage_info_v4 { + * uint8_t ri_uuid[16]; + * uint64_t ri_user_time; + * uint64_t ri_system_time; + * uint64_t ri_pkg_idle_wkups; + * uint64_t ri_interrupt_wkups; + * uint64_t ri_pageins; + * uint64_t ri_wired_size; + * uint64_t ri_resident_size; + * uint64_t ri_phys_footprint; + * uint64_t ri_proc_start_abstime; + * uint64_t ri_proc_exit_abstime; + * uint64_t ri_child_user_time; + * uint64_t ri_child_system_time; + * uint64_t ri_child_pkg_idle_wkups; + * uint64_t ri_child_interrupt_wkups; + * uint64_t ri_child_pageins; + * uint64_t ri_child_elapsed_abstime; + * uint64_t ri_diskio_bytesread; + * uint64_t ri_diskio_byteswritten; + * uint64_t ri_cpu_time_qos_default; + * uint64_t ri_cpu_time_qos_maintenance; + * uint64_t ri_cpu_time_qos_background; + * uint64_t ri_cpu_time_qos_utility; + * uint64_t ri_cpu_time_qos_legacy; + * uint64_t ri_cpu_time_qos_user_initiated; + * uint64_t ri_cpu_time_qos_user_interactive; + * uint64_t ri_billed_system_time; + * uint64_t ri_serviced_system_time; + * uint64_t ri_logical_writes; + * uint64_t ri_lifetime_max_phys_footprint; + * uint64_t ri_instructions; + * uint64_t ri_cycles; + * uint64_t ri_billed_energy; + * uint64_t ri_serviced_energy; + * uint64_t ri_interval_max_phys_footprint; + * uint64_t ri_runnable_time; + * } + * } + */ +public class rusage_info_v4 { + + rusage_info_v4() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, mlx_h.C_CHAR).withName("ri_uuid"), + mlx_h.C_LONG_LONG.withName("ri_user_time"), + mlx_h.C_LONG_LONG.withName("ri_system_time"), + mlx_h.C_LONG_LONG.withName("ri_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_pageins"), + mlx_h.C_LONG_LONG.withName("ri_wired_size"), + mlx_h.C_LONG_LONG.withName("ri_resident_size"), + mlx_h.C_LONG_LONG.withName("ri_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_proc_start_abstime"), + mlx_h.C_LONG_LONG.withName("ri_proc_exit_abstime"), + mlx_h.C_LONG_LONG.withName("ri_child_user_time"), + mlx_h.C_LONG_LONG.withName("ri_child_system_time"), + mlx_h.C_LONG_LONG.withName("ri_child_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_pageins"), + mlx_h.C_LONG_LONG.withName("ri_child_elapsed_abstime"), + mlx_h.C_LONG_LONG.withName("ri_diskio_bytesread"), + mlx_h.C_LONG_LONG.withName("ri_diskio_byteswritten"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_default"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_maintenance"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_background"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_utility"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_legacy"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_user_initiated"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_user_interactive"), + mlx_h.C_LONG_LONG.withName("ri_billed_system_time"), + mlx_h.C_LONG_LONG.withName("ri_serviced_system_time"), + mlx_h.C_LONG_LONG.withName("ri_logical_writes"), + mlx_h.C_LONG_LONG.withName("ri_lifetime_max_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_instructions"), + mlx_h.C_LONG_LONG.withName("ri_cycles"), + mlx_h.C_LONG_LONG.withName("ri_billed_energy"), + mlx_h.C_LONG_LONG.withName("ri_serviced_energy"), + mlx_h.C_LONG_LONG.withName("ri_interval_max_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_runnable_time") + ).withName("rusage_info_v4"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout ri_uuid$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("ri_uuid")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final SequenceLayout ri_uuid$layout() { + return ri_uuid$LAYOUT; + } + + private static final long ri_uuid$OFFSET = $LAYOUT.byteOffset(groupElement("ri_uuid")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final long ri_uuid$offset() { + return ri_uuid$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static MemorySegment ri_uuid(MemorySegment struct) { + return struct.asSlice(ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + private static long[] ri_uuid$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static long[] ri_uuid$dimensions() { + return ri_uuid$DIMS; + } + private static final VarHandle ri_uuid$ELEM_HANDLE = ri_uuid$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static byte ri_uuid(MemorySegment struct, long index0) { + return (byte)ri_uuid$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, long index0, byte fieldValue) { + ri_uuid$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong ri_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final OfLong ri_user_time$layout() { + return ri_user_time$LAYOUT; + } + + private static final long ri_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final long ri_user_time$offset() { + return ri_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static long ri_user_time(MemorySegment struct) { + return struct.get(ri_user_time$LAYOUT, ri_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static void ri_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_user_time$LAYOUT, ri_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final OfLong ri_system_time$layout() { + return ri_system_time$LAYOUT; + } + + private static final long ri_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final long ri_system_time$offset() { + return ri_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static long ri_system_time(MemorySegment struct) { + return struct.get(ri_system_time$LAYOUT, ri_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static void ri_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_system_time$LAYOUT, ri_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final OfLong ri_pkg_idle_wkups$layout() { + return ri_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final long ri_pkg_idle_wkups$offset() { + return ri_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static long ri_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static void ri_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final OfLong ri_interrupt_wkups$layout() { + return ri_interrupt_wkups$LAYOUT; + } + + private static final long ri_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final long ri_interrupt_wkups$offset() { + return ri_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static long ri_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static void ri_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final OfLong ri_pageins$layout() { + return ri_pageins$LAYOUT; + } + + private static final long ri_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final long ri_pageins$offset() { + return ri_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static long ri_pageins(MemorySegment struct) { + return struct.get(ri_pageins$LAYOUT, ri_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static void ri_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_pageins$LAYOUT, ri_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_wired_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_wired_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final OfLong ri_wired_size$layout() { + return ri_wired_size$LAYOUT; + } + + private static final long ri_wired_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_wired_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final long ri_wired_size$offset() { + return ri_wired_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static long ri_wired_size(MemorySegment struct) { + return struct.get(ri_wired_size$LAYOUT, ri_wired_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static void ri_wired_size(MemorySegment struct, long fieldValue) { + struct.set(ri_wired_size$LAYOUT, ri_wired_size$OFFSET, fieldValue); + } + + private static final OfLong ri_resident_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_resident_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final OfLong ri_resident_size$layout() { + return ri_resident_size$LAYOUT; + } + + private static final long ri_resident_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_resident_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final long ri_resident_size$offset() { + return ri_resident_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static long ri_resident_size(MemorySegment struct) { + return struct.get(ri_resident_size$LAYOUT, ri_resident_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static void ri_resident_size(MemorySegment struct, long fieldValue) { + struct.set(ri_resident_size$LAYOUT, ri_resident_size$OFFSET, fieldValue); + } + + private static final OfLong ri_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final OfLong ri_phys_footprint$layout() { + return ri_phys_footprint$LAYOUT; + } + + private static final long ri_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final long ri_phys_footprint$offset() { + return ri_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static long ri_phys_footprint(MemorySegment struct) { + return struct.get(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static void ri_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_start_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_start_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final OfLong ri_proc_start_abstime$layout() { + return ri_proc_start_abstime$LAYOUT; + } + + private static final long ri_proc_start_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_start_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final long ri_proc_start_abstime$offset() { + return ri_proc_start_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static long ri_proc_start_abstime(MemorySegment struct) { + return struct.get(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static void ri_proc_start_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_exit_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_exit_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final OfLong ri_proc_exit_abstime$layout() { + return ri_proc_exit_abstime$LAYOUT; + } + + private static final long ri_proc_exit_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_exit_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final long ri_proc_exit_abstime$offset() { + return ri_proc_exit_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static long ri_proc_exit_abstime(MemorySegment struct) { + return struct.get(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static void ri_proc_exit_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_child_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final OfLong ri_child_user_time$layout() { + return ri_child_user_time$LAYOUT; + } + + private static final long ri_child_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final long ri_child_user_time$offset() { + return ri_child_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static long ri_child_user_time(MemorySegment struct) { + return struct.get(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static void ri_child_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final OfLong ri_child_system_time$layout() { + return ri_child_system_time$LAYOUT; + } + + private static final long ri_child_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final long ri_child_system_time$offset() { + return ri_child_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static long ri_child_system_time(MemorySegment struct) { + return struct.get(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static void ri_child_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final OfLong ri_child_pkg_idle_wkups$layout() { + return ri_child_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_child_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final long ri_child_pkg_idle_wkups$offset() { + return ri_child_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static long ri_child_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static void ri_child_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final OfLong ri_child_interrupt_wkups$layout() { + return ri_child_interrupt_wkups$LAYOUT; + } + + private static final long ri_child_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final long ri_child_interrupt_wkups$offset() { + return ri_child_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static long ri_child_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static void ri_child_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final OfLong ri_child_pageins$layout() { + return ri_child_pageins$LAYOUT; + } + + private static final long ri_child_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final long ri_child_pageins$offset() { + return ri_child_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static long ri_child_pageins(MemorySegment struct) { + return struct.get(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static void ri_child_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_child_elapsed_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_elapsed_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final OfLong ri_child_elapsed_abstime$layout() { + return ri_child_elapsed_abstime$LAYOUT; + } + + private static final long ri_child_elapsed_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_elapsed_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final long ri_child_elapsed_abstime$offset() { + return ri_child_elapsed_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static long ri_child_elapsed_abstime(MemorySegment struct) { + return struct.get(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static void ri_child_elapsed_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_diskio_bytesread$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_diskio_bytesread")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static final OfLong ri_diskio_bytesread$layout() { + return ri_diskio_bytesread$LAYOUT; + } + + private static final long ri_diskio_bytesread$OFFSET = $LAYOUT.byteOffset(groupElement("ri_diskio_bytesread")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static final long ri_diskio_bytesread$offset() { + return ri_diskio_bytesread$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static long ri_diskio_bytesread(MemorySegment struct) { + return struct.get(ri_diskio_bytesread$LAYOUT, ri_diskio_bytesread$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static void ri_diskio_bytesread(MemorySegment struct, long fieldValue) { + struct.set(ri_diskio_bytesread$LAYOUT, ri_diskio_bytesread$OFFSET, fieldValue); + } + + private static final OfLong ri_diskio_byteswritten$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_diskio_byteswritten")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static final OfLong ri_diskio_byteswritten$layout() { + return ri_diskio_byteswritten$LAYOUT; + } + + private static final long ri_diskio_byteswritten$OFFSET = $LAYOUT.byteOffset(groupElement("ri_diskio_byteswritten")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static final long ri_diskio_byteswritten$offset() { + return ri_diskio_byteswritten$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static long ri_diskio_byteswritten(MemorySegment struct) { + return struct.get(ri_diskio_byteswritten$LAYOUT, ri_diskio_byteswritten$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static void ri_diskio_byteswritten(MemorySegment struct, long fieldValue) { + struct.set(ri_diskio_byteswritten$LAYOUT, ri_diskio_byteswritten$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_default$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_default")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static final OfLong ri_cpu_time_qos_default$layout() { + return ri_cpu_time_qos_default$LAYOUT; + } + + private static final long ri_cpu_time_qos_default$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_default")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static final long ri_cpu_time_qos_default$offset() { + return ri_cpu_time_qos_default$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static long ri_cpu_time_qos_default(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_default$LAYOUT, ri_cpu_time_qos_default$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static void ri_cpu_time_qos_default(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_default$LAYOUT, ri_cpu_time_qos_default$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_maintenance$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_maintenance")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static final OfLong ri_cpu_time_qos_maintenance$layout() { + return ri_cpu_time_qos_maintenance$LAYOUT; + } + + private static final long ri_cpu_time_qos_maintenance$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_maintenance")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static final long ri_cpu_time_qos_maintenance$offset() { + return ri_cpu_time_qos_maintenance$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static long ri_cpu_time_qos_maintenance(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_maintenance$LAYOUT, ri_cpu_time_qos_maintenance$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static void ri_cpu_time_qos_maintenance(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_maintenance$LAYOUT, ri_cpu_time_qos_maintenance$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_background$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_background")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static final OfLong ri_cpu_time_qos_background$layout() { + return ri_cpu_time_qos_background$LAYOUT; + } + + private static final long ri_cpu_time_qos_background$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_background")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static final long ri_cpu_time_qos_background$offset() { + return ri_cpu_time_qos_background$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static long ri_cpu_time_qos_background(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_background$LAYOUT, ri_cpu_time_qos_background$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static void ri_cpu_time_qos_background(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_background$LAYOUT, ri_cpu_time_qos_background$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_utility$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_utility")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static final OfLong ri_cpu_time_qos_utility$layout() { + return ri_cpu_time_qos_utility$LAYOUT; + } + + private static final long ri_cpu_time_qos_utility$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_utility")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static final long ri_cpu_time_qos_utility$offset() { + return ri_cpu_time_qos_utility$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static long ri_cpu_time_qos_utility(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_utility$LAYOUT, ri_cpu_time_qos_utility$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static void ri_cpu_time_qos_utility(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_utility$LAYOUT, ri_cpu_time_qos_utility$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_legacy$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_legacy")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static final OfLong ri_cpu_time_qos_legacy$layout() { + return ri_cpu_time_qos_legacy$LAYOUT; + } + + private static final long ri_cpu_time_qos_legacy$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_legacy")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static final long ri_cpu_time_qos_legacy$offset() { + return ri_cpu_time_qos_legacy$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static long ri_cpu_time_qos_legacy(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_legacy$LAYOUT, ri_cpu_time_qos_legacy$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static void ri_cpu_time_qos_legacy(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_legacy$LAYOUT, ri_cpu_time_qos_legacy$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_user_initiated$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_user_initiated")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static final OfLong ri_cpu_time_qos_user_initiated$layout() { + return ri_cpu_time_qos_user_initiated$LAYOUT; + } + + private static final long ri_cpu_time_qos_user_initiated$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_user_initiated")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static final long ri_cpu_time_qos_user_initiated$offset() { + return ri_cpu_time_qos_user_initiated$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static long ri_cpu_time_qos_user_initiated(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_user_initiated$LAYOUT, ri_cpu_time_qos_user_initiated$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static void ri_cpu_time_qos_user_initiated(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_user_initiated$LAYOUT, ri_cpu_time_qos_user_initiated$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_user_interactive$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_user_interactive")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static final OfLong ri_cpu_time_qos_user_interactive$layout() { + return ri_cpu_time_qos_user_interactive$LAYOUT; + } + + private static final long ri_cpu_time_qos_user_interactive$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_user_interactive")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static final long ri_cpu_time_qos_user_interactive$offset() { + return ri_cpu_time_qos_user_interactive$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static long ri_cpu_time_qos_user_interactive(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_user_interactive$LAYOUT, ri_cpu_time_qos_user_interactive$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static void ri_cpu_time_qos_user_interactive(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_user_interactive$LAYOUT, ri_cpu_time_qos_user_interactive$OFFSET, fieldValue); + } + + private static final OfLong ri_billed_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_billed_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static final OfLong ri_billed_system_time$layout() { + return ri_billed_system_time$LAYOUT; + } + + private static final long ri_billed_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_billed_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static final long ri_billed_system_time$offset() { + return ri_billed_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static long ri_billed_system_time(MemorySegment struct) { + return struct.get(ri_billed_system_time$LAYOUT, ri_billed_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static void ri_billed_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_billed_system_time$LAYOUT, ri_billed_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_serviced_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_serviced_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static final OfLong ri_serviced_system_time$layout() { + return ri_serviced_system_time$LAYOUT; + } + + private static final long ri_serviced_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_serviced_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static final long ri_serviced_system_time$offset() { + return ri_serviced_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static long ri_serviced_system_time(MemorySegment struct) { + return struct.get(ri_serviced_system_time$LAYOUT, ri_serviced_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static void ri_serviced_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_serviced_system_time$LAYOUT, ri_serviced_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_logical_writes$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_logical_writes")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static final OfLong ri_logical_writes$layout() { + return ri_logical_writes$LAYOUT; + } + + private static final long ri_logical_writes$OFFSET = $LAYOUT.byteOffset(groupElement("ri_logical_writes")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static final long ri_logical_writes$offset() { + return ri_logical_writes$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static long ri_logical_writes(MemorySegment struct) { + return struct.get(ri_logical_writes$LAYOUT, ri_logical_writes$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static void ri_logical_writes(MemorySegment struct, long fieldValue) { + struct.set(ri_logical_writes$LAYOUT, ri_logical_writes$OFFSET, fieldValue); + } + + private static final OfLong ri_lifetime_max_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_lifetime_max_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static final OfLong ri_lifetime_max_phys_footprint$layout() { + return ri_lifetime_max_phys_footprint$LAYOUT; + } + + private static final long ri_lifetime_max_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_lifetime_max_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static final long ri_lifetime_max_phys_footprint$offset() { + return ri_lifetime_max_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static long ri_lifetime_max_phys_footprint(MemorySegment struct) { + return struct.get(ri_lifetime_max_phys_footprint$LAYOUT, ri_lifetime_max_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static void ri_lifetime_max_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_lifetime_max_phys_footprint$LAYOUT, ri_lifetime_max_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_instructions$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_instructions")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static final OfLong ri_instructions$layout() { + return ri_instructions$LAYOUT; + } + + private static final long ri_instructions$OFFSET = $LAYOUT.byteOffset(groupElement("ri_instructions")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static final long ri_instructions$offset() { + return ri_instructions$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static long ri_instructions(MemorySegment struct) { + return struct.get(ri_instructions$LAYOUT, ri_instructions$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static void ri_instructions(MemorySegment struct, long fieldValue) { + struct.set(ri_instructions$LAYOUT, ri_instructions$OFFSET, fieldValue); + } + + private static final OfLong ri_cycles$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cycles")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static final OfLong ri_cycles$layout() { + return ri_cycles$LAYOUT; + } + + private static final long ri_cycles$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cycles")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static final long ri_cycles$offset() { + return ri_cycles$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static long ri_cycles(MemorySegment struct) { + return struct.get(ri_cycles$LAYOUT, ri_cycles$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static void ri_cycles(MemorySegment struct, long fieldValue) { + struct.set(ri_cycles$LAYOUT, ri_cycles$OFFSET, fieldValue); + } + + private static final OfLong ri_billed_energy$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_billed_energy")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static final OfLong ri_billed_energy$layout() { + return ri_billed_energy$LAYOUT; + } + + private static final long ri_billed_energy$OFFSET = $LAYOUT.byteOffset(groupElement("ri_billed_energy")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static final long ri_billed_energy$offset() { + return ri_billed_energy$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static long ri_billed_energy(MemorySegment struct) { + return struct.get(ri_billed_energy$LAYOUT, ri_billed_energy$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static void ri_billed_energy(MemorySegment struct, long fieldValue) { + struct.set(ri_billed_energy$LAYOUT, ri_billed_energy$OFFSET, fieldValue); + } + + private static final OfLong ri_serviced_energy$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_serviced_energy")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static final OfLong ri_serviced_energy$layout() { + return ri_serviced_energy$LAYOUT; + } + + private static final long ri_serviced_energy$OFFSET = $LAYOUT.byteOffset(groupElement("ri_serviced_energy")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static final long ri_serviced_energy$offset() { + return ri_serviced_energy$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static long ri_serviced_energy(MemorySegment struct) { + return struct.get(ri_serviced_energy$LAYOUT, ri_serviced_energy$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static void ri_serviced_energy(MemorySegment struct, long fieldValue) { + struct.set(ri_serviced_energy$LAYOUT, ri_serviced_energy$OFFSET, fieldValue); + } + + private static final OfLong ri_interval_max_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_interval_max_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static final OfLong ri_interval_max_phys_footprint$layout() { + return ri_interval_max_phys_footprint$LAYOUT; + } + + private static final long ri_interval_max_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_interval_max_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static final long ri_interval_max_phys_footprint$offset() { + return ri_interval_max_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static long ri_interval_max_phys_footprint(MemorySegment struct) { + return struct.get(ri_interval_max_phys_footprint$LAYOUT, ri_interval_max_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static void ri_interval_max_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_interval_max_phys_footprint$LAYOUT, ri_interval_max_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_runnable_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_runnable_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static final OfLong ri_runnable_time$layout() { + return ri_runnable_time$LAYOUT; + } + + private static final long ri_runnable_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_runnable_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static final long ri_runnable_time$offset() { + return ri_runnable_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static long ri_runnable_time(MemorySegment struct) { + return struct.get(ri_runnable_time$LAYOUT, ri_runnable_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static void ri_runnable_time(MemorySegment struct, long fieldValue) { + struct.set(ri_runnable_time$LAYOUT, ri_runnable_time$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/rusage_info_v5.java b/generated/src/mlx/rusage_info_v5.java new file mode 100644 index 00000000..87d99bfa --- /dev/null +++ b/generated/src/mlx/rusage_info_v5.java @@ -0,0 +1,1816 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct rusage_info_v5 { + * uint8_t ri_uuid[16]; + * uint64_t ri_user_time; + * uint64_t ri_system_time; + * uint64_t ri_pkg_idle_wkups; + * uint64_t ri_interrupt_wkups; + * uint64_t ri_pageins; + * uint64_t ri_wired_size; + * uint64_t ri_resident_size; + * uint64_t ri_phys_footprint; + * uint64_t ri_proc_start_abstime; + * uint64_t ri_proc_exit_abstime; + * uint64_t ri_child_user_time; + * uint64_t ri_child_system_time; + * uint64_t ri_child_pkg_idle_wkups; + * uint64_t ri_child_interrupt_wkups; + * uint64_t ri_child_pageins; + * uint64_t ri_child_elapsed_abstime; + * uint64_t ri_diskio_bytesread; + * uint64_t ri_diskio_byteswritten; + * uint64_t ri_cpu_time_qos_default; + * uint64_t ri_cpu_time_qos_maintenance; + * uint64_t ri_cpu_time_qos_background; + * uint64_t ri_cpu_time_qos_utility; + * uint64_t ri_cpu_time_qos_legacy; + * uint64_t ri_cpu_time_qos_user_initiated; + * uint64_t ri_cpu_time_qos_user_interactive; + * uint64_t ri_billed_system_time; + * uint64_t ri_serviced_system_time; + * uint64_t ri_logical_writes; + * uint64_t ri_lifetime_max_phys_footprint; + * uint64_t ri_instructions; + * uint64_t ri_cycles; + * uint64_t ri_billed_energy; + * uint64_t ri_serviced_energy; + * uint64_t ri_interval_max_phys_footprint; + * uint64_t ri_runnable_time; + * uint64_t ri_flags; + * } + * } + */ +public class rusage_info_v5 { + + rusage_info_v5() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, mlx_h.C_CHAR).withName("ri_uuid"), + mlx_h.C_LONG_LONG.withName("ri_user_time"), + mlx_h.C_LONG_LONG.withName("ri_system_time"), + mlx_h.C_LONG_LONG.withName("ri_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_pageins"), + mlx_h.C_LONG_LONG.withName("ri_wired_size"), + mlx_h.C_LONG_LONG.withName("ri_resident_size"), + mlx_h.C_LONG_LONG.withName("ri_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_proc_start_abstime"), + mlx_h.C_LONG_LONG.withName("ri_proc_exit_abstime"), + mlx_h.C_LONG_LONG.withName("ri_child_user_time"), + mlx_h.C_LONG_LONG.withName("ri_child_system_time"), + mlx_h.C_LONG_LONG.withName("ri_child_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_pageins"), + mlx_h.C_LONG_LONG.withName("ri_child_elapsed_abstime"), + mlx_h.C_LONG_LONG.withName("ri_diskio_bytesread"), + mlx_h.C_LONG_LONG.withName("ri_diskio_byteswritten"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_default"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_maintenance"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_background"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_utility"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_legacy"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_user_initiated"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_user_interactive"), + mlx_h.C_LONG_LONG.withName("ri_billed_system_time"), + mlx_h.C_LONG_LONG.withName("ri_serviced_system_time"), + mlx_h.C_LONG_LONG.withName("ri_logical_writes"), + mlx_h.C_LONG_LONG.withName("ri_lifetime_max_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_instructions"), + mlx_h.C_LONG_LONG.withName("ri_cycles"), + mlx_h.C_LONG_LONG.withName("ri_billed_energy"), + mlx_h.C_LONG_LONG.withName("ri_serviced_energy"), + mlx_h.C_LONG_LONG.withName("ri_interval_max_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_runnable_time"), + mlx_h.C_LONG_LONG.withName("ri_flags") + ).withName("rusage_info_v5"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout ri_uuid$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("ri_uuid")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final SequenceLayout ri_uuid$layout() { + return ri_uuid$LAYOUT; + } + + private static final long ri_uuid$OFFSET = $LAYOUT.byteOffset(groupElement("ri_uuid")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final long ri_uuid$offset() { + return ri_uuid$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static MemorySegment ri_uuid(MemorySegment struct) { + return struct.asSlice(ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + private static long[] ri_uuid$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static long[] ri_uuid$dimensions() { + return ri_uuid$DIMS; + } + private static final VarHandle ri_uuid$ELEM_HANDLE = ri_uuid$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static byte ri_uuid(MemorySegment struct, long index0) { + return (byte)ri_uuid$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, long index0, byte fieldValue) { + ri_uuid$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong ri_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final OfLong ri_user_time$layout() { + return ri_user_time$LAYOUT; + } + + private static final long ri_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final long ri_user_time$offset() { + return ri_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static long ri_user_time(MemorySegment struct) { + return struct.get(ri_user_time$LAYOUT, ri_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static void ri_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_user_time$LAYOUT, ri_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final OfLong ri_system_time$layout() { + return ri_system_time$LAYOUT; + } + + private static final long ri_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final long ri_system_time$offset() { + return ri_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static long ri_system_time(MemorySegment struct) { + return struct.get(ri_system_time$LAYOUT, ri_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static void ri_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_system_time$LAYOUT, ri_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final OfLong ri_pkg_idle_wkups$layout() { + return ri_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final long ri_pkg_idle_wkups$offset() { + return ri_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static long ri_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static void ri_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final OfLong ri_interrupt_wkups$layout() { + return ri_interrupt_wkups$LAYOUT; + } + + private static final long ri_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final long ri_interrupt_wkups$offset() { + return ri_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static long ri_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static void ri_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final OfLong ri_pageins$layout() { + return ri_pageins$LAYOUT; + } + + private static final long ri_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final long ri_pageins$offset() { + return ri_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static long ri_pageins(MemorySegment struct) { + return struct.get(ri_pageins$LAYOUT, ri_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static void ri_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_pageins$LAYOUT, ri_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_wired_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_wired_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final OfLong ri_wired_size$layout() { + return ri_wired_size$LAYOUT; + } + + private static final long ri_wired_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_wired_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final long ri_wired_size$offset() { + return ri_wired_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static long ri_wired_size(MemorySegment struct) { + return struct.get(ri_wired_size$LAYOUT, ri_wired_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static void ri_wired_size(MemorySegment struct, long fieldValue) { + struct.set(ri_wired_size$LAYOUT, ri_wired_size$OFFSET, fieldValue); + } + + private static final OfLong ri_resident_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_resident_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final OfLong ri_resident_size$layout() { + return ri_resident_size$LAYOUT; + } + + private static final long ri_resident_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_resident_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final long ri_resident_size$offset() { + return ri_resident_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static long ri_resident_size(MemorySegment struct) { + return struct.get(ri_resident_size$LAYOUT, ri_resident_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static void ri_resident_size(MemorySegment struct, long fieldValue) { + struct.set(ri_resident_size$LAYOUT, ri_resident_size$OFFSET, fieldValue); + } + + private static final OfLong ri_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final OfLong ri_phys_footprint$layout() { + return ri_phys_footprint$LAYOUT; + } + + private static final long ri_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final long ri_phys_footprint$offset() { + return ri_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static long ri_phys_footprint(MemorySegment struct) { + return struct.get(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static void ri_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_start_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_start_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final OfLong ri_proc_start_abstime$layout() { + return ri_proc_start_abstime$LAYOUT; + } + + private static final long ri_proc_start_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_start_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final long ri_proc_start_abstime$offset() { + return ri_proc_start_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static long ri_proc_start_abstime(MemorySegment struct) { + return struct.get(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static void ri_proc_start_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_exit_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_exit_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final OfLong ri_proc_exit_abstime$layout() { + return ri_proc_exit_abstime$LAYOUT; + } + + private static final long ri_proc_exit_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_exit_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final long ri_proc_exit_abstime$offset() { + return ri_proc_exit_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static long ri_proc_exit_abstime(MemorySegment struct) { + return struct.get(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static void ri_proc_exit_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_child_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final OfLong ri_child_user_time$layout() { + return ri_child_user_time$LAYOUT; + } + + private static final long ri_child_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final long ri_child_user_time$offset() { + return ri_child_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static long ri_child_user_time(MemorySegment struct) { + return struct.get(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static void ri_child_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final OfLong ri_child_system_time$layout() { + return ri_child_system_time$LAYOUT; + } + + private static final long ri_child_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final long ri_child_system_time$offset() { + return ri_child_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static long ri_child_system_time(MemorySegment struct) { + return struct.get(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static void ri_child_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final OfLong ri_child_pkg_idle_wkups$layout() { + return ri_child_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_child_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final long ri_child_pkg_idle_wkups$offset() { + return ri_child_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static long ri_child_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static void ri_child_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final OfLong ri_child_interrupt_wkups$layout() { + return ri_child_interrupt_wkups$LAYOUT; + } + + private static final long ri_child_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final long ri_child_interrupt_wkups$offset() { + return ri_child_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static long ri_child_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static void ri_child_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final OfLong ri_child_pageins$layout() { + return ri_child_pageins$LAYOUT; + } + + private static final long ri_child_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final long ri_child_pageins$offset() { + return ri_child_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static long ri_child_pageins(MemorySegment struct) { + return struct.get(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static void ri_child_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_child_elapsed_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_elapsed_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final OfLong ri_child_elapsed_abstime$layout() { + return ri_child_elapsed_abstime$LAYOUT; + } + + private static final long ri_child_elapsed_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_elapsed_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final long ri_child_elapsed_abstime$offset() { + return ri_child_elapsed_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static long ri_child_elapsed_abstime(MemorySegment struct) { + return struct.get(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static void ri_child_elapsed_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_diskio_bytesread$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_diskio_bytesread")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static final OfLong ri_diskio_bytesread$layout() { + return ri_diskio_bytesread$LAYOUT; + } + + private static final long ri_diskio_bytesread$OFFSET = $LAYOUT.byteOffset(groupElement("ri_diskio_bytesread")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static final long ri_diskio_bytesread$offset() { + return ri_diskio_bytesread$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static long ri_diskio_bytesread(MemorySegment struct) { + return struct.get(ri_diskio_bytesread$LAYOUT, ri_diskio_bytesread$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static void ri_diskio_bytesread(MemorySegment struct, long fieldValue) { + struct.set(ri_diskio_bytesread$LAYOUT, ri_diskio_bytesread$OFFSET, fieldValue); + } + + private static final OfLong ri_diskio_byteswritten$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_diskio_byteswritten")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static final OfLong ri_diskio_byteswritten$layout() { + return ri_diskio_byteswritten$LAYOUT; + } + + private static final long ri_diskio_byteswritten$OFFSET = $LAYOUT.byteOffset(groupElement("ri_diskio_byteswritten")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static final long ri_diskio_byteswritten$offset() { + return ri_diskio_byteswritten$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static long ri_diskio_byteswritten(MemorySegment struct) { + return struct.get(ri_diskio_byteswritten$LAYOUT, ri_diskio_byteswritten$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static void ri_diskio_byteswritten(MemorySegment struct, long fieldValue) { + struct.set(ri_diskio_byteswritten$LAYOUT, ri_diskio_byteswritten$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_default$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_default")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static final OfLong ri_cpu_time_qos_default$layout() { + return ri_cpu_time_qos_default$LAYOUT; + } + + private static final long ri_cpu_time_qos_default$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_default")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static final long ri_cpu_time_qos_default$offset() { + return ri_cpu_time_qos_default$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static long ri_cpu_time_qos_default(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_default$LAYOUT, ri_cpu_time_qos_default$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static void ri_cpu_time_qos_default(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_default$LAYOUT, ri_cpu_time_qos_default$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_maintenance$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_maintenance")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static final OfLong ri_cpu_time_qos_maintenance$layout() { + return ri_cpu_time_qos_maintenance$LAYOUT; + } + + private static final long ri_cpu_time_qos_maintenance$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_maintenance")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static final long ri_cpu_time_qos_maintenance$offset() { + return ri_cpu_time_qos_maintenance$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static long ri_cpu_time_qos_maintenance(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_maintenance$LAYOUT, ri_cpu_time_qos_maintenance$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static void ri_cpu_time_qos_maintenance(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_maintenance$LAYOUT, ri_cpu_time_qos_maintenance$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_background$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_background")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static final OfLong ri_cpu_time_qos_background$layout() { + return ri_cpu_time_qos_background$LAYOUT; + } + + private static final long ri_cpu_time_qos_background$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_background")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static final long ri_cpu_time_qos_background$offset() { + return ri_cpu_time_qos_background$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static long ri_cpu_time_qos_background(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_background$LAYOUT, ri_cpu_time_qos_background$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static void ri_cpu_time_qos_background(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_background$LAYOUT, ri_cpu_time_qos_background$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_utility$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_utility")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static final OfLong ri_cpu_time_qos_utility$layout() { + return ri_cpu_time_qos_utility$LAYOUT; + } + + private static final long ri_cpu_time_qos_utility$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_utility")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static final long ri_cpu_time_qos_utility$offset() { + return ri_cpu_time_qos_utility$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static long ri_cpu_time_qos_utility(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_utility$LAYOUT, ri_cpu_time_qos_utility$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static void ri_cpu_time_qos_utility(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_utility$LAYOUT, ri_cpu_time_qos_utility$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_legacy$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_legacy")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static final OfLong ri_cpu_time_qos_legacy$layout() { + return ri_cpu_time_qos_legacy$LAYOUT; + } + + private static final long ri_cpu_time_qos_legacy$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_legacy")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static final long ri_cpu_time_qos_legacy$offset() { + return ri_cpu_time_qos_legacy$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static long ri_cpu_time_qos_legacy(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_legacy$LAYOUT, ri_cpu_time_qos_legacy$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static void ri_cpu_time_qos_legacy(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_legacy$LAYOUT, ri_cpu_time_qos_legacy$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_user_initiated$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_user_initiated")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static final OfLong ri_cpu_time_qos_user_initiated$layout() { + return ri_cpu_time_qos_user_initiated$LAYOUT; + } + + private static final long ri_cpu_time_qos_user_initiated$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_user_initiated")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static final long ri_cpu_time_qos_user_initiated$offset() { + return ri_cpu_time_qos_user_initiated$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static long ri_cpu_time_qos_user_initiated(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_user_initiated$LAYOUT, ri_cpu_time_qos_user_initiated$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static void ri_cpu_time_qos_user_initiated(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_user_initiated$LAYOUT, ri_cpu_time_qos_user_initiated$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_user_interactive$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_user_interactive")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static final OfLong ri_cpu_time_qos_user_interactive$layout() { + return ri_cpu_time_qos_user_interactive$LAYOUT; + } + + private static final long ri_cpu_time_qos_user_interactive$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_user_interactive")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static final long ri_cpu_time_qos_user_interactive$offset() { + return ri_cpu_time_qos_user_interactive$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static long ri_cpu_time_qos_user_interactive(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_user_interactive$LAYOUT, ri_cpu_time_qos_user_interactive$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static void ri_cpu_time_qos_user_interactive(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_user_interactive$LAYOUT, ri_cpu_time_qos_user_interactive$OFFSET, fieldValue); + } + + private static final OfLong ri_billed_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_billed_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static final OfLong ri_billed_system_time$layout() { + return ri_billed_system_time$LAYOUT; + } + + private static final long ri_billed_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_billed_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static final long ri_billed_system_time$offset() { + return ri_billed_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static long ri_billed_system_time(MemorySegment struct) { + return struct.get(ri_billed_system_time$LAYOUT, ri_billed_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static void ri_billed_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_billed_system_time$LAYOUT, ri_billed_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_serviced_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_serviced_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static final OfLong ri_serviced_system_time$layout() { + return ri_serviced_system_time$LAYOUT; + } + + private static final long ri_serviced_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_serviced_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static final long ri_serviced_system_time$offset() { + return ri_serviced_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static long ri_serviced_system_time(MemorySegment struct) { + return struct.get(ri_serviced_system_time$LAYOUT, ri_serviced_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static void ri_serviced_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_serviced_system_time$LAYOUT, ri_serviced_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_logical_writes$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_logical_writes")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static final OfLong ri_logical_writes$layout() { + return ri_logical_writes$LAYOUT; + } + + private static final long ri_logical_writes$OFFSET = $LAYOUT.byteOffset(groupElement("ri_logical_writes")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static final long ri_logical_writes$offset() { + return ri_logical_writes$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static long ri_logical_writes(MemorySegment struct) { + return struct.get(ri_logical_writes$LAYOUT, ri_logical_writes$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static void ri_logical_writes(MemorySegment struct, long fieldValue) { + struct.set(ri_logical_writes$LAYOUT, ri_logical_writes$OFFSET, fieldValue); + } + + private static final OfLong ri_lifetime_max_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_lifetime_max_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static final OfLong ri_lifetime_max_phys_footprint$layout() { + return ri_lifetime_max_phys_footprint$LAYOUT; + } + + private static final long ri_lifetime_max_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_lifetime_max_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static final long ri_lifetime_max_phys_footprint$offset() { + return ri_lifetime_max_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static long ri_lifetime_max_phys_footprint(MemorySegment struct) { + return struct.get(ri_lifetime_max_phys_footprint$LAYOUT, ri_lifetime_max_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static void ri_lifetime_max_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_lifetime_max_phys_footprint$LAYOUT, ri_lifetime_max_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_instructions$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_instructions")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static final OfLong ri_instructions$layout() { + return ri_instructions$LAYOUT; + } + + private static final long ri_instructions$OFFSET = $LAYOUT.byteOffset(groupElement("ri_instructions")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static final long ri_instructions$offset() { + return ri_instructions$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static long ri_instructions(MemorySegment struct) { + return struct.get(ri_instructions$LAYOUT, ri_instructions$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static void ri_instructions(MemorySegment struct, long fieldValue) { + struct.set(ri_instructions$LAYOUT, ri_instructions$OFFSET, fieldValue); + } + + private static final OfLong ri_cycles$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cycles")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static final OfLong ri_cycles$layout() { + return ri_cycles$LAYOUT; + } + + private static final long ri_cycles$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cycles")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static final long ri_cycles$offset() { + return ri_cycles$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static long ri_cycles(MemorySegment struct) { + return struct.get(ri_cycles$LAYOUT, ri_cycles$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static void ri_cycles(MemorySegment struct, long fieldValue) { + struct.set(ri_cycles$LAYOUT, ri_cycles$OFFSET, fieldValue); + } + + private static final OfLong ri_billed_energy$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_billed_energy")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static final OfLong ri_billed_energy$layout() { + return ri_billed_energy$LAYOUT; + } + + private static final long ri_billed_energy$OFFSET = $LAYOUT.byteOffset(groupElement("ri_billed_energy")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static final long ri_billed_energy$offset() { + return ri_billed_energy$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static long ri_billed_energy(MemorySegment struct) { + return struct.get(ri_billed_energy$LAYOUT, ri_billed_energy$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static void ri_billed_energy(MemorySegment struct, long fieldValue) { + struct.set(ri_billed_energy$LAYOUT, ri_billed_energy$OFFSET, fieldValue); + } + + private static final OfLong ri_serviced_energy$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_serviced_energy")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static final OfLong ri_serviced_energy$layout() { + return ri_serviced_energy$LAYOUT; + } + + private static final long ri_serviced_energy$OFFSET = $LAYOUT.byteOffset(groupElement("ri_serviced_energy")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static final long ri_serviced_energy$offset() { + return ri_serviced_energy$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static long ri_serviced_energy(MemorySegment struct) { + return struct.get(ri_serviced_energy$LAYOUT, ri_serviced_energy$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static void ri_serviced_energy(MemorySegment struct, long fieldValue) { + struct.set(ri_serviced_energy$LAYOUT, ri_serviced_energy$OFFSET, fieldValue); + } + + private static final OfLong ri_interval_max_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_interval_max_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static final OfLong ri_interval_max_phys_footprint$layout() { + return ri_interval_max_phys_footprint$LAYOUT; + } + + private static final long ri_interval_max_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_interval_max_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static final long ri_interval_max_phys_footprint$offset() { + return ri_interval_max_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static long ri_interval_max_phys_footprint(MemorySegment struct) { + return struct.get(ri_interval_max_phys_footprint$LAYOUT, ri_interval_max_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static void ri_interval_max_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_interval_max_phys_footprint$LAYOUT, ri_interval_max_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_runnable_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_runnable_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static final OfLong ri_runnable_time$layout() { + return ri_runnable_time$LAYOUT; + } + + private static final long ri_runnable_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_runnable_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static final long ri_runnable_time$offset() { + return ri_runnable_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static long ri_runnable_time(MemorySegment struct) { + return struct.get(ri_runnable_time$LAYOUT, ri_runnable_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static void ri_runnable_time(MemorySegment struct, long fieldValue) { + struct.set(ri_runnable_time$LAYOUT, ri_runnable_time$OFFSET, fieldValue); + } + + private static final OfLong ri_flags$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_flags")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_flags + * } + */ + public static final OfLong ri_flags$layout() { + return ri_flags$LAYOUT; + } + + private static final long ri_flags$OFFSET = $LAYOUT.byteOffset(groupElement("ri_flags")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_flags + * } + */ + public static final long ri_flags$offset() { + return ri_flags$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_flags + * } + */ + public static long ri_flags(MemorySegment struct) { + return struct.get(ri_flags$LAYOUT, ri_flags$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_flags + * } + */ + public static void ri_flags(MemorySegment struct, long fieldValue) { + struct.set(ri_flags$LAYOUT, ri_flags$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/rusage_info_v6.java b/generated/src/mlx/rusage_info_v6.java new file mode 100644 index 00000000..7edd2f33 --- /dev/null +++ b/generated/src/mlx/rusage_info_v6.java @@ -0,0 +1,2401 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct rusage_info_v6 { + * uint8_t ri_uuid[16]; + * uint64_t ri_user_time; + * uint64_t ri_system_time; + * uint64_t ri_pkg_idle_wkups; + * uint64_t ri_interrupt_wkups; + * uint64_t ri_pageins; + * uint64_t ri_wired_size; + * uint64_t ri_resident_size; + * uint64_t ri_phys_footprint; + * uint64_t ri_proc_start_abstime; + * uint64_t ri_proc_exit_abstime; + * uint64_t ri_child_user_time; + * uint64_t ri_child_system_time; + * uint64_t ri_child_pkg_idle_wkups; + * uint64_t ri_child_interrupt_wkups; + * uint64_t ri_child_pageins; + * uint64_t ri_child_elapsed_abstime; + * uint64_t ri_diskio_bytesread; + * uint64_t ri_diskio_byteswritten; + * uint64_t ri_cpu_time_qos_default; + * uint64_t ri_cpu_time_qos_maintenance; + * uint64_t ri_cpu_time_qos_background; + * uint64_t ri_cpu_time_qos_utility; + * uint64_t ri_cpu_time_qos_legacy; + * uint64_t ri_cpu_time_qos_user_initiated; + * uint64_t ri_cpu_time_qos_user_interactive; + * uint64_t ri_billed_system_time; + * uint64_t ri_serviced_system_time; + * uint64_t ri_logical_writes; + * uint64_t ri_lifetime_max_phys_footprint; + * uint64_t ri_instructions; + * uint64_t ri_cycles; + * uint64_t ri_billed_energy; + * uint64_t ri_serviced_energy; + * uint64_t ri_interval_max_phys_footprint; + * uint64_t ri_runnable_time; + * uint64_t ri_flags; + * uint64_t ri_user_ptime; + * uint64_t ri_system_ptime; + * uint64_t ri_pinstructions; + * uint64_t ri_pcycles; + * uint64_t ri_energy_nj; + * uint64_t ri_penergy_nj; + * uint64_t ri_secure_time_in_system; + * uint64_t ri_secure_ptime_in_system; + * uint64_t ri_neural_footprint; + * uint64_t ri_lifetime_max_neural_footprint; + * uint64_t ri_interval_max_neural_footprint; + * uint64_t ri_reserved[9]; + * } + * } + */ +public class rusage_info_v6 { + + rusage_info_v6() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + MemoryLayout.sequenceLayout(16, mlx_h.C_CHAR).withName("ri_uuid"), + mlx_h.C_LONG_LONG.withName("ri_user_time"), + mlx_h.C_LONG_LONG.withName("ri_system_time"), + mlx_h.C_LONG_LONG.withName("ri_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_pageins"), + mlx_h.C_LONG_LONG.withName("ri_wired_size"), + mlx_h.C_LONG_LONG.withName("ri_resident_size"), + mlx_h.C_LONG_LONG.withName("ri_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_proc_start_abstime"), + mlx_h.C_LONG_LONG.withName("ri_proc_exit_abstime"), + mlx_h.C_LONG_LONG.withName("ri_child_user_time"), + mlx_h.C_LONG_LONG.withName("ri_child_system_time"), + mlx_h.C_LONG_LONG.withName("ri_child_pkg_idle_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_interrupt_wkups"), + mlx_h.C_LONG_LONG.withName("ri_child_pageins"), + mlx_h.C_LONG_LONG.withName("ri_child_elapsed_abstime"), + mlx_h.C_LONG_LONG.withName("ri_diskio_bytesread"), + mlx_h.C_LONG_LONG.withName("ri_diskio_byteswritten"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_default"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_maintenance"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_background"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_utility"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_legacy"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_user_initiated"), + mlx_h.C_LONG_LONG.withName("ri_cpu_time_qos_user_interactive"), + mlx_h.C_LONG_LONG.withName("ri_billed_system_time"), + mlx_h.C_LONG_LONG.withName("ri_serviced_system_time"), + mlx_h.C_LONG_LONG.withName("ri_logical_writes"), + mlx_h.C_LONG_LONG.withName("ri_lifetime_max_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_instructions"), + mlx_h.C_LONG_LONG.withName("ri_cycles"), + mlx_h.C_LONG_LONG.withName("ri_billed_energy"), + mlx_h.C_LONG_LONG.withName("ri_serviced_energy"), + mlx_h.C_LONG_LONG.withName("ri_interval_max_phys_footprint"), + mlx_h.C_LONG_LONG.withName("ri_runnable_time"), + mlx_h.C_LONG_LONG.withName("ri_flags"), + mlx_h.C_LONG_LONG.withName("ri_user_ptime"), + mlx_h.C_LONG_LONG.withName("ri_system_ptime"), + mlx_h.C_LONG_LONG.withName("ri_pinstructions"), + mlx_h.C_LONG_LONG.withName("ri_pcycles"), + mlx_h.C_LONG_LONG.withName("ri_energy_nj"), + mlx_h.C_LONG_LONG.withName("ri_penergy_nj"), + mlx_h.C_LONG_LONG.withName("ri_secure_time_in_system"), + mlx_h.C_LONG_LONG.withName("ri_secure_ptime_in_system"), + mlx_h.C_LONG_LONG.withName("ri_neural_footprint"), + mlx_h.C_LONG_LONG.withName("ri_lifetime_max_neural_footprint"), + mlx_h.C_LONG_LONG.withName("ri_interval_max_neural_footprint"), + MemoryLayout.sequenceLayout(9, mlx_h.C_LONG_LONG).withName("ri_reserved") + ).withName("rusage_info_v6"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final SequenceLayout ri_uuid$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("ri_uuid")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final SequenceLayout ri_uuid$layout() { + return ri_uuid$LAYOUT; + } + + private static final long ri_uuid$OFFSET = $LAYOUT.byteOffset(groupElement("ri_uuid")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static final long ri_uuid$offset() { + return ri_uuid$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static MemorySegment ri_uuid(MemorySegment struct) { + return struct.asSlice(ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ri_uuid$OFFSET, ri_uuid$LAYOUT.byteSize()); + } + + private static long[] ri_uuid$DIMS = { 16 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static long[] ri_uuid$dimensions() { + return ri_uuid$DIMS; + } + private static final VarHandle ri_uuid$ELEM_HANDLE = ri_uuid$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static byte ri_uuid(MemorySegment struct, long index0) { + return (byte)ri_uuid$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * uint8_t ri_uuid[16] + * } + */ + public static void ri_uuid(MemorySegment struct, long index0, byte fieldValue) { + ri_uuid$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + private static final OfLong ri_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final OfLong ri_user_time$layout() { + return ri_user_time$LAYOUT; + } + + private static final long ri_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static final long ri_user_time$offset() { + return ri_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static long ri_user_time(MemorySegment struct) { + return struct.get(ri_user_time$LAYOUT, ri_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_user_time + * } + */ + public static void ri_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_user_time$LAYOUT, ri_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final OfLong ri_system_time$layout() { + return ri_system_time$LAYOUT; + } + + private static final long ri_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static final long ri_system_time$offset() { + return ri_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static long ri_system_time(MemorySegment struct) { + return struct.get(ri_system_time$LAYOUT, ri_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_system_time + * } + */ + public static void ri_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_system_time$LAYOUT, ri_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final OfLong ri_pkg_idle_wkups$layout() { + return ri_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static final long ri_pkg_idle_wkups$offset() { + return ri_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static long ri_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pkg_idle_wkups + * } + */ + public static void ri_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_pkg_idle_wkups$LAYOUT, ri_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final OfLong ri_interrupt_wkups$layout() { + return ri_interrupt_wkups$LAYOUT; + } + + private static final long ri_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static final long ri_interrupt_wkups$offset() { + return ri_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static long ri_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_interrupt_wkups + * } + */ + public static void ri_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_interrupt_wkups$LAYOUT, ri_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final OfLong ri_pageins$layout() { + return ri_pageins$LAYOUT; + } + + private static final long ri_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static final long ri_pageins$offset() { + return ri_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static long ri_pageins(MemorySegment struct) { + return struct.get(ri_pageins$LAYOUT, ri_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pageins + * } + */ + public static void ri_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_pageins$LAYOUT, ri_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_wired_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_wired_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final OfLong ri_wired_size$layout() { + return ri_wired_size$LAYOUT; + } + + private static final long ri_wired_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_wired_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static final long ri_wired_size$offset() { + return ri_wired_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static long ri_wired_size(MemorySegment struct) { + return struct.get(ri_wired_size$LAYOUT, ri_wired_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_wired_size + * } + */ + public static void ri_wired_size(MemorySegment struct, long fieldValue) { + struct.set(ri_wired_size$LAYOUT, ri_wired_size$OFFSET, fieldValue); + } + + private static final OfLong ri_resident_size$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_resident_size")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final OfLong ri_resident_size$layout() { + return ri_resident_size$LAYOUT; + } + + private static final long ri_resident_size$OFFSET = $LAYOUT.byteOffset(groupElement("ri_resident_size")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static final long ri_resident_size$offset() { + return ri_resident_size$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static long ri_resident_size(MemorySegment struct) { + return struct.get(ri_resident_size$LAYOUT, ri_resident_size$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_resident_size + * } + */ + public static void ri_resident_size(MemorySegment struct, long fieldValue) { + struct.set(ri_resident_size$LAYOUT, ri_resident_size$OFFSET, fieldValue); + } + + private static final OfLong ri_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final OfLong ri_phys_footprint$layout() { + return ri_phys_footprint$LAYOUT; + } + + private static final long ri_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static final long ri_phys_footprint$offset() { + return ri_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static long ri_phys_footprint(MemorySegment struct) { + return struct.get(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_phys_footprint + * } + */ + public static void ri_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_phys_footprint$LAYOUT, ri_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_start_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_start_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final OfLong ri_proc_start_abstime$layout() { + return ri_proc_start_abstime$LAYOUT; + } + + private static final long ri_proc_start_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_start_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static final long ri_proc_start_abstime$offset() { + return ri_proc_start_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static long ri_proc_start_abstime(MemorySegment struct) { + return struct.get(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_start_abstime + * } + */ + public static void ri_proc_start_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_start_abstime$LAYOUT, ri_proc_start_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_proc_exit_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_proc_exit_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final OfLong ri_proc_exit_abstime$layout() { + return ri_proc_exit_abstime$LAYOUT; + } + + private static final long ri_proc_exit_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_proc_exit_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static final long ri_proc_exit_abstime$offset() { + return ri_proc_exit_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static long ri_proc_exit_abstime(MemorySegment struct) { + return struct.get(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_proc_exit_abstime + * } + */ + public static void ri_proc_exit_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_proc_exit_abstime$LAYOUT, ri_proc_exit_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_child_user_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_user_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final OfLong ri_child_user_time$layout() { + return ri_child_user_time$LAYOUT; + } + + private static final long ri_child_user_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_user_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static final long ri_child_user_time$offset() { + return ri_child_user_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static long ri_child_user_time(MemorySegment struct) { + return struct.get(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_user_time + * } + */ + public static void ri_child_user_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_user_time$LAYOUT, ri_child_user_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final OfLong ri_child_system_time$layout() { + return ri_child_system_time$LAYOUT; + } + + private static final long ri_child_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static final long ri_child_system_time$offset() { + return ri_child_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static long ri_child_system_time(MemorySegment struct) { + return struct.get(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_system_time + * } + */ + public static void ri_child_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_child_system_time$LAYOUT, ri_child_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pkg_idle_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final OfLong ri_child_pkg_idle_wkups$layout() { + return ri_child_pkg_idle_wkups$LAYOUT; + } + + private static final long ri_child_pkg_idle_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pkg_idle_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static final long ri_child_pkg_idle_wkups$offset() { + return ri_child_pkg_idle_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static long ri_child_pkg_idle_wkups(MemorySegment struct) { + return struct.get(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pkg_idle_wkups + * } + */ + public static void ri_child_pkg_idle_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pkg_idle_wkups$LAYOUT, ri_child_pkg_idle_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_interrupt_wkups$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_interrupt_wkups")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final OfLong ri_child_interrupt_wkups$layout() { + return ri_child_interrupt_wkups$LAYOUT; + } + + private static final long ri_child_interrupt_wkups$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_interrupt_wkups")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static final long ri_child_interrupt_wkups$offset() { + return ri_child_interrupt_wkups$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static long ri_child_interrupt_wkups(MemorySegment struct) { + return struct.get(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_interrupt_wkups + * } + */ + public static void ri_child_interrupt_wkups(MemorySegment struct, long fieldValue) { + struct.set(ri_child_interrupt_wkups$LAYOUT, ri_child_interrupt_wkups$OFFSET, fieldValue); + } + + private static final OfLong ri_child_pageins$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_pageins")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final OfLong ri_child_pageins$layout() { + return ri_child_pageins$LAYOUT; + } + + private static final long ri_child_pageins$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_pageins")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static final long ri_child_pageins$offset() { + return ri_child_pageins$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static long ri_child_pageins(MemorySegment struct) { + return struct.get(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_pageins + * } + */ + public static void ri_child_pageins(MemorySegment struct, long fieldValue) { + struct.set(ri_child_pageins$LAYOUT, ri_child_pageins$OFFSET, fieldValue); + } + + private static final OfLong ri_child_elapsed_abstime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_child_elapsed_abstime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final OfLong ri_child_elapsed_abstime$layout() { + return ri_child_elapsed_abstime$LAYOUT; + } + + private static final long ri_child_elapsed_abstime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_child_elapsed_abstime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static final long ri_child_elapsed_abstime$offset() { + return ri_child_elapsed_abstime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static long ri_child_elapsed_abstime(MemorySegment struct) { + return struct.get(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_child_elapsed_abstime + * } + */ + public static void ri_child_elapsed_abstime(MemorySegment struct, long fieldValue) { + struct.set(ri_child_elapsed_abstime$LAYOUT, ri_child_elapsed_abstime$OFFSET, fieldValue); + } + + private static final OfLong ri_diskio_bytesread$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_diskio_bytesread")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static final OfLong ri_diskio_bytesread$layout() { + return ri_diskio_bytesread$LAYOUT; + } + + private static final long ri_diskio_bytesread$OFFSET = $LAYOUT.byteOffset(groupElement("ri_diskio_bytesread")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static final long ri_diskio_bytesread$offset() { + return ri_diskio_bytesread$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static long ri_diskio_bytesread(MemorySegment struct) { + return struct.get(ri_diskio_bytesread$LAYOUT, ri_diskio_bytesread$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_bytesread + * } + */ + public static void ri_diskio_bytesread(MemorySegment struct, long fieldValue) { + struct.set(ri_diskio_bytesread$LAYOUT, ri_diskio_bytesread$OFFSET, fieldValue); + } + + private static final OfLong ri_diskio_byteswritten$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_diskio_byteswritten")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static final OfLong ri_diskio_byteswritten$layout() { + return ri_diskio_byteswritten$LAYOUT; + } + + private static final long ri_diskio_byteswritten$OFFSET = $LAYOUT.byteOffset(groupElement("ri_diskio_byteswritten")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static final long ri_diskio_byteswritten$offset() { + return ri_diskio_byteswritten$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static long ri_diskio_byteswritten(MemorySegment struct) { + return struct.get(ri_diskio_byteswritten$LAYOUT, ri_diskio_byteswritten$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_diskio_byteswritten + * } + */ + public static void ri_diskio_byteswritten(MemorySegment struct, long fieldValue) { + struct.set(ri_diskio_byteswritten$LAYOUT, ri_diskio_byteswritten$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_default$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_default")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static final OfLong ri_cpu_time_qos_default$layout() { + return ri_cpu_time_qos_default$LAYOUT; + } + + private static final long ri_cpu_time_qos_default$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_default")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static final long ri_cpu_time_qos_default$offset() { + return ri_cpu_time_qos_default$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static long ri_cpu_time_qos_default(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_default$LAYOUT, ri_cpu_time_qos_default$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_default + * } + */ + public static void ri_cpu_time_qos_default(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_default$LAYOUT, ri_cpu_time_qos_default$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_maintenance$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_maintenance")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static final OfLong ri_cpu_time_qos_maintenance$layout() { + return ri_cpu_time_qos_maintenance$LAYOUT; + } + + private static final long ri_cpu_time_qos_maintenance$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_maintenance")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static final long ri_cpu_time_qos_maintenance$offset() { + return ri_cpu_time_qos_maintenance$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static long ri_cpu_time_qos_maintenance(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_maintenance$LAYOUT, ri_cpu_time_qos_maintenance$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_maintenance + * } + */ + public static void ri_cpu_time_qos_maintenance(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_maintenance$LAYOUT, ri_cpu_time_qos_maintenance$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_background$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_background")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static final OfLong ri_cpu_time_qos_background$layout() { + return ri_cpu_time_qos_background$LAYOUT; + } + + private static final long ri_cpu_time_qos_background$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_background")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static final long ri_cpu_time_qos_background$offset() { + return ri_cpu_time_qos_background$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static long ri_cpu_time_qos_background(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_background$LAYOUT, ri_cpu_time_qos_background$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_background + * } + */ + public static void ri_cpu_time_qos_background(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_background$LAYOUT, ri_cpu_time_qos_background$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_utility$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_utility")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static final OfLong ri_cpu_time_qos_utility$layout() { + return ri_cpu_time_qos_utility$LAYOUT; + } + + private static final long ri_cpu_time_qos_utility$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_utility")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static final long ri_cpu_time_qos_utility$offset() { + return ri_cpu_time_qos_utility$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static long ri_cpu_time_qos_utility(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_utility$LAYOUT, ri_cpu_time_qos_utility$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_utility + * } + */ + public static void ri_cpu_time_qos_utility(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_utility$LAYOUT, ri_cpu_time_qos_utility$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_legacy$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_legacy")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static final OfLong ri_cpu_time_qos_legacy$layout() { + return ri_cpu_time_qos_legacy$LAYOUT; + } + + private static final long ri_cpu_time_qos_legacy$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_legacy")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static final long ri_cpu_time_qos_legacy$offset() { + return ri_cpu_time_qos_legacy$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static long ri_cpu_time_qos_legacy(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_legacy$LAYOUT, ri_cpu_time_qos_legacy$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_legacy + * } + */ + public static void ri_cpu_time_qos_legacy(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_legacy$LAYOUT, ri_cpu_time_qos_legacy$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_user_initiated$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_user_initiated")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static final OfLong ri_cpu_time_qos_user_initiated$layout() { + return ri_cpu_time_qos_user_initiated$LAYOUT; + } + + private static final long ri_cpu_time_qos_user_initiated$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_user_initiated")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static final long ri_cpu_time_qos_user_initiated$offset() { + return ri_cpu_time_qos_user_initiated$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static long ri_cpu_time_qos_user_initiated(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_user_initiated$LAYOUT, ri_cpu_time_qos_user_initiated$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_initiated + * } + */ + public static void ri_cpu_time_qos_user_initiated(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_user_initiated$LAYOUT, ri_cpu_time_qos_user_initiated$OFFSET, fieldValue); + } + + private static final OfLong ri_cpu_time_qos_user_interactive$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cpu_time_qos_user_interactive")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static final OfLong ri_cpu_time_qos_user_interactive$layout() { + return ri_cpu_time_qos_user_interactive$LAYOUT; + } + + private static final long ri_cpu_time_qos_user_interactive$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cpu_time_qos_user_interactive")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static final long ri_cpu_time_qos_user_interactive$offset() { + return ri_cpu_time_qos_user_interactive$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static long ri_cpu_time_qos_user_interactive(MemorySegment struct) { + return struct.get(ri_cpu_time_qos_user_interactive$LAYOUT, ri_cpu_time_qos_user_interactive$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cpu_time_qos_user_interactive + * } + */ + public static void ri_cpu_time_qos_user_interactive(MemorySegment struct, long fieldValue) { + struct.set(ri_cpu_time_qos_user_interactive$LAYOUT, ri_cpu_time_qos_user_interactive$OFFSET, fieldValue); + } + + private static final OfLong ri_billed_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_billed_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static final OfLong ri_billed_system_time$layout() { + return ri_billed_system_time$LAYOUT; + } + + private static final long ri_billed_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_billed_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static final long ri_billed_system_time$offset() { + return ri_billed_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static long ri_billed_system_time(MemorySegment struct) { + return struct.get(ri_billed_system_time$LAYOUT, ri_billed_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_billed_system_time + * } + */ + public static void ri_billed_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_billed_system_time$LAYOUT, ri_billed_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_serviced_system_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_serviced_system_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static final OfLong ri_serviced_system_time$layout() { + return ri_serviced_system_time$LAYOUT; + } + + private static final long ri_serviced_system_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_serviced_system_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static final long ri_serviced_system_time$offset() { + return ri_serviced_system_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static long ri_serviced_system_time(MemorySegment struct) { + return struct.get(ri_serviced_system_time$LAYOUT, ri_serviced_system_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_system_time + * } + */ + public static void ri_serviced_system_time(MemorySegment struct, long fieldValue) { + struct.set(ri_serviced_system_time$LAYOUT, ri_serviced_system_time$OFFSET, fieldValue); + } + + private static final OfLong ri_logical_writes$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_logical_writes")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static final OfLong ri_logical_writes$layout() { + return ri_logical_writes$LAYOUT; + } + + private static final long ri_logical_writes$OFFSET = $LAYOUT.byteOffset(groupElement("ri_logical_writes")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static final long ri_logical_writes$offset() { + return ri_logical_writes$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static long ri_logical_writes(MemorySegment struct) { + return struct.get(ri_logical_writes$LAYOUT, ri_logical_writes$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_logical_writes + * } + */ + public static void ri_logical_writes(MemorySegment struct, long fieldValue) { + struct.set(ri_logical_writes$LAYOUT, ri_logical_writes$OFFSET, fieldValue); + } + + private static final OfLong ri_lifetime_max_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_lifetime_max_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static final OfLong ri_lifetime_max_phys_footprint$layout() { + return ri_lifetime_max_phys_footprint$LAYOUT; + } + + private static final long ri_lifetime_max_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_lifetime_max_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static final long ri_lifetime_max_phys_footprint$offset() { + return ri_lifetime_max_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static long ri_lifetime_max_phys_footprint(MemorySegment struct) { + return struct.get(ri_lifetime_max_phys_footprint$LAYOUT, ri_lifetime_max_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_phys_footprint + * } + */ + public static void ri_lifetime_max_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_lifetime_max_phys_footprint$LAYOUT, ri_lifetime_max_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_instructions$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_instructions")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static final OfLong ri_instructions$layout() { + return ri_instructions$LAYOUT; + } + + private static final long ri_instructions$OFFSET = $LAYOUT.byteOffset(groupElement("ri_instructions")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static final long ri_instructions$offset() { + return ri_instructions$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static long ri_instructions(MemorySegment struct) { + return struct.get(ri_instructions$LAYOUT, ri_instructions$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_instructions + * } + */ + public static void ri_instructions(MemorySegment struct, long fieldValue) { + struct.set(ri_instructions$LAYOUT, ri_instructions$OFFSET, fieldValue); + } + + private static final OfLong ri_cycles$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_cycles")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static final OfLong ri_cycles$layout() { + return ri_cycles$LAYOUT; + } + + private static final long ri_cycles$OFFSET = $LAYOUT.byteOffset(groupElement("ri_cycles")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static final long ri_cycles$offset() { + return ri_cycles$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static long ri_cycles(MemorySegment struct) { + return struct.get(ri_cycles$LAYOUT, ri_cycles$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_cycles + * } + */ + public static void ri_cycles(MemorySegment struct, long fieldValue) { + struct.set(ri_cycles$LAYOUT, ri_cycles$OFFSET, fieldValue); + } + + private static final OfLong ri_billed_energy$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_billed_energy")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static final OfLong ri_billed_energy$layout() { + return ri_billed_energy$LAYOUT; + } + + private static final long ri_billed_energy$OFFSET = $LAYOUT.byteOffset(groupElement("ri_billed_energy")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static final long ri_billed_energy$offset() { + return ri_billed_energy$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static long ri_billed_energy(MemorySegment struct) { + return struct.get(ri_billed_energy$LAYOUT, ri_billed_energy$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_billed_energy + * } + */ + public static void ri_billed_energy(MemorySegment struct, long fieldValue) { + struct.set(ri_billed_energy$LAYOUT, ri_billed_energy$OFFSET, fieldValue); + } + + private static final OfLong ri_serviced_energy$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_serviced_energy")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static final OfLong ri_serviced_energy$layout() { + return ri_serviced_energy$LAYOUT; + } + + private static final long ri_serviced_energy$OFFSET = $LAYOUT.byteOffset(groupElement("ri_serviced_energy")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static final long ri_serviced_energy$offset() { + return ri_serviced_energy$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static long ri_serviced_energy(MemorySegment struct) { + return struct.get(ri_serviced_energy$LAYOUT, ri_serviced_energy$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_serviced_energy + * } + */ + public static void ri_serviced_energy(MemorySegment struct, long fieldValue) { + struct.set(ri_serviced_energy$LAYOUT, ri_serviced_energy$OFFSET, fieldValue); + } + + private static final OfLong ri_interval_max_phys_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_interval_max_phys_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static final OfLong ri_interval_max_phys_footprint$layout() { + return ri_interval_max_phys_footprint$LAYOUT; + } + + private static final long ri_interval_max_phys_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_interval_max_phys_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static final long ri_interval_max_phys_footprint$offset() { + return ri_interval_max_phys_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static long ri_interval_max_phys_footprint(MemorySegment struct) { + return struct.get(ri_interval_max_phys_footprint$LAYOUT, ri_interval_max_phys_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_phys_footprint + * } + */ + public static void ri_interval_max_phys_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_interval_max_phys_footprint$LAYOUT, ri_interval_max_phys_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_runnable_time$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_runnable_time")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static final OfLong ri_runnable_time$layout() { + return ri_runnable_time$LAYOUT; + } + + private static final long ri_runnable_time$OFFSET = $LAYOUT.byteOffset(groupElement("ri_runnable_time")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static final long ri_runnable_time$offset() { + return ri_runnable_time$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static long ri_runnable_time(MemorySegment struct) { + return struct.get(ri_runnable_time$LAYOUT, ri_runnable_time$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_runnable_time + * } + */ + public static void ri_runnable_time(MemorySegment struct, long fieldValue) { + struct.set(ri_runnable_time$LAYOUT, ri_runnable_time$OFFSET, fieldValue); + } + + private static final OfLong ri_flags$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_flags")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_flags + * } + */ + public static final OfLong ri_flags$layout() { + return ri_flags$LAYOUT; + } + + private static final long ri_flags$OFFSET = $LAYOUT.byteOffset(groupElement("ri_flags")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_flags + * } + */ + public static final long ri_flags$offset() { + return ri_flags$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_flags + * } + */ + public static long ri_flags(MemorySegment struct) { + return struct.get(ri_flags$LAYOUT, ri_flags$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_flags + * } + */ + public static void ri_flags(MemorySegment struct, long fieldValue) { + struct.set(ri_flags$LAYOUT, ri_flags$OFFSET, fieldValue); + } + + private static final OfLong ri_user_ptime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_user_ptime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_user_ptime + * } + */ + public static final OfLong ri_user_ptime$layout() { + return ri_user_ptime$LAYOUT; + } + + private static final long ri_user_ptime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_user_ptime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_user_ptime + * } + */ + public static final long ri_user_ptime$offset() { + return ri_user_ptime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_user_ptime + * } + */ + public static long ri_user_ptime(MemorySegment struct) { + return struct.get(ri_user_ptime$LAYOUT, ri_user_ptime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_user_ptime + * } + */ + public static void ri_user_ptime(MemorySegment struct, long fieldValue) { + struct.set(ri_user_ptime$LAYOUT, ri_user_ptime$OFFSET, fieldValue); + } + + private static final OfLong ri_system_ptime$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_system_ptime")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_system_ptime + * } + */ + public static final OfLong ri_system_ptime$layout() { + return ri_system_ptime$LAYOUT; + } + + private static final long ri_system_ptime$OFFSET = $LAYOUT.byteOffset(groupElement("ri_system_ptime")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_system_ptime + * } + */ + public static final long ri_system_ptime$offset() { + return ri_system_ptime$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_system_ptime + * } + */ + public static long ri_system_ptime(MemorySegment struct) { + return struct.get(ri_system_ptime$LAYOUT, ri_system_ptime$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_system_ptime + * } + */ + public static void ri_system_ptime(MemorySegment struct, long fieldValue) { + struct.set(ri_system_ptime$LAYOUT, ri_system_ptime$OFFSET, fieldValue); + } + + private static final OfLong ri_pinstructions$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pinstructions")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pinstructions + * } + */ + public static final OfLong ri_pinstructions$layout() { + return ri_pinstructions$LAYOUT; + } + + private static final long ri_pinstructions$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pinstructions")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pinstructions + * } + */ + public static final long ri_pinstructions$offset() { + return ri_pinstructions$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pinstructions + * } + */ + public static long ri_pinstructions(MemorySegment struct) { + return struct.get(ri_pinstructions$LAYOUT, ri_pinstructions$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pinstructions + * } + */ + public static void ri_pinstructions(MemorySegment struct, long fieldValue) { + struct.set(ri_pinstructions$LAYOUT, ri_pinstructions$OFFSET, fieldValue); + } + + private static final OfLong ri_pcycles$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_pcycles")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_pcycles + * } + */ + public static final OfLong ri_pcycles$layout() { + return ri_pcycles$LAYOUT; + } + + private static final long ri_pcycles$OFFSET = $LAYOUT.byteOffset(groupElement("ri_pcycles")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_pcycles + * } + */ + public static final long ri_pcycles$offset() { + return ri_pcycles$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_pcycles + * } + */ + public static long ri_pcycles(MemorySegment struct) { + return struct.get(ri_pcycles$LAYOUT, ri_pcycles$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_pcycles + * } + */ + public static void ri_pcycles(MemorySegment struct, long fieldValue) { + struct.set(ri_pcycles$LAYOUT, ri_pcycles$OFFSET, fieldValue); + } + + private static final OfLong ri_energy_nj$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_energy_nj")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_energy_nj + * } + */ + public static final OfLong ri_energy_nj$layout() { + return ri_energy_nj$LAYOUT; + } + + private static final long ri_energy_nj$OFFSET = $LAYOUT.byteOffset(groupElement("ri_energy_nj")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_energy_nj + * } + */ + public static final long ri_energy_nj$offset() { + return ri_energy_nj$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_energy_nj + * } + */ + public static long ri_energy_nj(MemorySegment struct) { + return struct.get(ri_energy_nj$LAYOUT, ri_energy_nj$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_energy_nj + * } + */ + public static void ri_energy_nj(MemorySegment struct, long fieldValue) { + struct.set(ri_energy_nj$LAYOUT, ri_energy_nj$OFFSET, fieldValue); + } + + private static final OfLong ri_penergy_nj$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_penergy_nj")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_penergy_nj + * } + */ + public static final OfLong ri_penergy_nj$layout() { + return ri_penergy_nj$LAYOUT; + } + + private static final long ri_penergy_nj$OFFSET = $LAYOUT.byteOffset(groupElement("ri_penergy_nj")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_penergy_nj + * } + */ + public static final long ri_penergy_nj$offset() { + return ri_penergy_nj$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_penergy_nj + * } + */ + public static long ri_penergy_nj(MemorySegment struct) { + return struct.get(ri_penergy_nj$LAYOUT, ri_penergy_nj$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_penergy_nj + * } + */ + public static void ri_penergy_nj(MemorySegment struct, long fieldValue) { + struct.set(ri_penergy_nj$LAYOUT, ri_penergy_nj$OFFSET, fieldValue); + } + + private static final OfLong ri_secure_time_in_system$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_secure_time_in_system")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_secure_time_in_system + * } + */ + public static final OfLong ri_secure_time_in_system$layout() { + return ri_secure_time_in_system$LAYOUT; + } + + private static final long ri_secure_time_in_system$OFFSET = $LAYOUT.byteOffset(groupElement("ri_secure_time_in_system")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_secure_time_in_system + * } + */ + public static final long ri_secure_time_in_system$offset() { + return ri_secure_time_in_system$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_secure_time_in_system + * } + */ + public static long ri_secure_time_in_system(MemorySegment struct) { + return struct.get(ri_secure_time_in_system$LAYOUT, ri_secure_time_in_system$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_secure_time_in_system + * } + */ + public static void ri_secure_time_in_system(MemorySegment struct, long fieldValue) { + struct.set(ri_secure_time_in_system$LAYOUT, ri_secure_time_in_system$OFFSET, fieldValue); + } + + private static final OfLong ri_secure_ptime_in_system$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_secure_ptime_in_system")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_secure_ptime_in_system + * } + */ + public static final OfLong ri_secure_ptime_in_system$layout() { + return ri_secure_ptime_in_system$LAYOUT; + } + + private static final long ri_secure_ptime_in_system$OFFSET = $LAYOUT.byteOffset(groupElement("ri_secure_ptime_in_system")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_secure_ptime_in_system + * } + */ + public static final long ri_secure_ptime_in_system$offset() { + return ri_secure_ptime_in_system$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_secure_ptime_in_system + * } + */ + public static long ri_secure_ptime_in_system(MemorySegment struct) { + return struct.get(ri_secure_ptime_in_system$LAYOUT, ri_secure_ptime_in_system$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_secure_ptime_in_system + * } + */ + public static void ri_secure_ptime_in_system(MemorySegment struct, long fieldValue) { + struct.set(ri_secure_ptime_in_system$LAYOUT, ri_secure_ptime_in_system$OFFSET, fieldValue); + } + + private static final OfLong ri_neural_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_neural_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_neural_footprint + * } + */ + public static final OfLong ri_neural_footprint$layout() { + return ri_neural_footprint$LAYOUT; + } + + private static final long ri_neural_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_neural_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_neural_footprint + * } + */ + public static final long ri_neural_footprint$offset() { + return ri_neural_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_neural_footprint + * } + */ + public static long ri_neural_footprint(MemorySegment struct) { + return struct.get(ri_neural_footprint$LAYOUT, ri_neural_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_neural_footprint + * } + */ + public static void ri_neural_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_neural_footprint$LAYOUT, ri_neural_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_lifetime_max_neural_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_lifetime_max_neural_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_neural_footprint + * } + */ + public static final OfLong ri_lifetime_max_neural_footprint$layout() { + return ri_lifetime_max_neural_footprint$LAYOUT; + } + + private static final long ri_lifetime_max_neural_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_lifetime_max_neural_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_neural_footprint + * } + */ + public static final long ri_lifetime_max_neural_footprint$offset() { + return ri_lifetime_max_neural_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_neural_footprint + * } + */ + public static long ri_lifetime_max_neural_footprint(MemorySegment struct) { + return struct.get(ri_lifetime_max_neural_footprint$LAYOUT, ri_lifetime_max_neural_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_lifetime_max_neural_footprint + * } + */ + public static void ri_lifetime_max_neural_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_lifetime_max_neural_footprint$LAYOUT, ri_lifetime_max_neural_footprint$OFFSET, fieldValue); + } + + private static final OfLong ri_interval_max_neural_footprint$LAYOUT = (OfLong)$LAYOUT.select(groupElement("ri_interval_max_neural_footprint")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_neural_footprint + * } + */ + public static final OfLong ri_interval_max_neural_footprint$layout() { + return ri_interval_max_neural_footprint$LAYOUT; + } + + private static final long ri_interval_max_neural_footprint$OFFSET = $LAYOUT.byteOffset(groupElement("ri_interval_max_neural_footprint")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_neural_footprint + * } + */ + public static final long ri_interval_max_neural_footprint$offset() { + return ri_interval_max_neural_footprint$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_neural_footprint + * } + */ + public static long ri_interval_max_neural_footprint(MemorySegment struct) { + return struct.get(ri_interval_max_neural_footprint$LAYOUT, ri_interval_max_neural_footprint$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_interval_max_neural_footprint + * } + */ + public static void ri_interval_max_neural_footprint(MemorySegment struct, long fieldValue) { + struct.set(ri_interval_max_neural_footprint$LAYOUT, ri_interval_max_neural_footprint$OFFSET, fieldValue); + } + + private static final SequenceLayout ri_reserved$LAYOUT = (SequenceLayout)$LAYOUT.select(groupElement("ri_reserved")); + + /** + * Layout for field: + * {@snippet lang=c : + * uint64_t ri_reserved[9] + * } + */ + public static final SequenceLayout ri_reserved$layout() { + return ri_reserved$LAYOUT; + } + + private static final long ri_reserved$OFFSET = $LAYOUT.byteOffset(groupElement("ri_reserved")); + + /** + * Offset for field: + * {@snippet lang=c : + * uint64_t ri_reserved[9] + * } + */ + public static final long ri_reserved$offset() { + return ri_reserved$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * uint64_t ri_reserved[9] + * } + */ + public static MemorySegment ri_reserved(MemorySegment struct) { + return struct.asSlice(ri_reserved$OFFSET, ri_reserved$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * uint64_t ri_reserved[9] + * } + */ + public static void ri_reserved(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, ri_reserved$OFFSET, ri_reserved$LAYOUT.byteSize()); + } + + private static long[] ri_reserved$DIMS = { 9 }; + + /** + * Dimensions for array field: + * {@snippet lang=c : + * uint64_t ri_reserved[9] + * } + */ + public static long[] ri_reserved$dimensions() { + return ri_reserved$DIMS; + } + private static final VarHandle ri_reserved$ELEM_HANDLE = ri_reserved$LAYOUT.varHandle(sequenceElement()); + + /** + * Indexed getter for field: + * {@snippet lang=c : + * uint64_t ri_reserved[9] + * } + */ + public static long ri_reserved(MemorySegment struct, long index0) { + return (long)ri_reserved$ELEM_HANDLE.get(struct, 0L, index0); + } + + /** + * Indexed setter for field: + * {@snippet lang=c : + * uint64_t ri_reserved[9] + * } + */ + public static void ri_reserved(MemorySegment struct, long index0, long fieldValue) { + ri_reserved$ELEM_HANDLE.set(struct, 0L, index0, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/sig_t.java b/generated/src/mlx/sig_t.java new file mode 100644 index 00000000..ea6aeb05 --- /dev/null +++ b/generated/src/mlx/sig_t.java @@ -0,0 +1,69 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef void (*sig_t)(int) + * } + */ +public final class sig_t { + + private sig_t() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(sig_t.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(sig_t.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/sigaction.java b/generated/src/mlx/sigaction.java new file mode 100644 index 00000000..2a4a2b9a --- /dev/null +++ b/generated/src/mlx/sigaction.java @@ -0,0 +1,219 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct sigaction { + * union __sigaction_u __sigaction_u; + * sigset_t sa_mask; + * int sa_flags; + * } + * } + */ +public class sigaction { + + sigaction() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + __sigaction_u.layout().withName("__sigaction_u"), + mlx_h.C_INT.withName("sa_mask"), + mlx_h.C_INT.withName("sa_flags") + ).withName("sigaction"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final GroupLayout __sigaction_u$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("__sigaction_u")); + + /** + * Layout for field: + * {@snippet lang=c : + * union __sigaction_u __sigaction_u + * } + */ + public static final GroupLayout __sigaction_u$layout() { + return __sigaction_u$LAYOUT; + } + + private static final long __sigaction_u$OFFSET = $LAYOUT.byteOffset(groupElement("__sigaction_u")); + + /** + * Offset for field: + * {@snippet lang=c : + * union __sigaction_u __sigaction_u + * } + */ + public static final long __sigaction_u$offset() { + return __sigaction_u$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * union __sigaction_u __sigaction_u + * } + */ + public static MemorySegment __sigaction_u(MemorySegment struct) { + return struct.asSlice(__sigaction_u$OFFSET, __sigaction_u$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * union __sigaction_u __sigaction_u + * } + */ + public static void __sigaction_u(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, __sigaction_u$OFFSET, __sigaction_u$LAYOUT.byteSize()); + } + + private static final OfInt sa_mask$LAYOUT = (OfInt)$LAYOUT.select(groupElement("sa_mask")); + + /** + * Layout for field: + * {@snippet lang=c : + * sigset_t sa_mask + * } + */ + public static final OfInt sa_mask$layout() { + return sa_mask$LAYOUT; + } + + private static final long sa_mask$OFFSET = $LAYOUT.byteOffset(groupElement("sa_mask")); + + /** + * Offset for field: + * {@snippet lang=c : + * sigset_t sa_mask + * } + */ + public static final long sa_mask$offset() { + return sa_mask$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * sigset_t sa_mask + * } + */ + public static int sa_mask(MemorySegment struct) { + return struct.get(sa_mask$LAYOUT, sa_mask$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * sigset_t sa_mask + * } + */ + public static void sa_mask(MemorySegment struct, int fieldValue) { + struct.set(sa_mask$LAYOUT, sa_mask$OFFSET, fieldValue); + } + + private static final OfInt sa_flags$LAYOUT = (OfInt)$LAYOUT.select(groupElement("sa_flags")); + + /** + * Layout for field: + * {@snippet lang=c : + * int sa_flags + * } + */ + public static final OfInt sa_flags$layout() { + return sa_flags$LAYOUT; + } + + private static final long sa_flags$OFFSET = $LAYOUT.byteOffset(groupElement("sa_flags")); + + /** + * Offset for field: + * {@snippet lang=c : + * int sa_flags + * } + */ + public static final long sa_flags$offset() { + return sa_flags$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int sa_flags + * } + */ + public static int sa_flags(MemorySegment struct) { + return struct.get(sa_flags$LAYOUT, sa_flags$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int sa_flags + * } + */ + public static void sa_flags(MemorySegment struct, int fieldValue) { + struct.set(sa_flags$LAYOUT, sa_flags$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/sigevent.java b/generated/src/mlx/sigevent.java new file mode 100644 index 00000000..3a9f92a0 --- /dev/null +++ b/generated/src/mlx/sigevent.java @@ -0,0 +1,366 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct sigevent { + * int sigev_notify; + * int sigev_signo; + * union sigval sigev_value; + * void (*sigev_notify_function)(union sigval); + * pthread_attr_t *sigev_notify_attributes; + * } + * } + */ +public class sigevent { + + sigevent() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_INT.withName("sigev_notify"), + mlx_h.C_INT.withName("sigev_signo"), + sigval.layout().withName("sigev_value"), + mlx_h.C_POINTER.withName("sigev_notify_function"), + mlx_h.C_POINTER.withName("sigev_notify_attributes") + ).withName("sigevent"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt sigev_notify$LAYOUT = (OfInt)$LAYOUT.select(groupElement("sigev_notify")); + + /** + * Layout for field: + * {@snippet lang=c : + * int sigev_notify + * } + */ + public static final OfInt sigev_notify$layout() { + return sigev_notify$LAYOUT; + } + + private static final long sigev_notify$OFFSET = $LAYOUT.byteOffset(groupElement("sigev_notify")); + + /** + * Offset for field: + * {@snippet lang=c : + * int sigev_notify + * } + */ + public static final long sigev_notify$offset() { + return sigev_notify$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int sigev_notify + * } + */ + public static int sigev_notify(MemorySegment struct) { + return struct.get(sigev_notify$LAYOUT, sigev_notify$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int sigev_notify + * } + */ + public static void sigev_notify(MemorySegment struct, int fieldValue) { + struct.set(sigev_notify$LAYOUT, sigev_notify$OFFSET, fieldValue); + } + + private static final OfInt sigev_signo$LAYOUT = (OfInt)$LAYOUT.select(groupElement("sigev_signo")); + + /** + * Layout for field: + * {@snippet lang=c : + * int sigev_signo + * } + */ + public static final OfInt sigev_signo$layout() { + return sigev_signo$LAYOUT; + } + + private static final long sigev_signo$OFFSET = $LAYOUT.byteOffset(groupElement("sigev_signo")); + + /** + * Offset for field: + * {@snippet lang=c : + * int sigev_signo + * } + */ + public static final long sigev_signo$offset() { + return sigev_signo$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int sigev_signo + * } + */ + public static int sigev_signo(MemorySegment struct) { + return struct.get(sigev_signo$LAYOUT, sigev_signo$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int sigev_signo + * } + */ + public static void sigev_signo(MemorySegment struct, int fieldValue) { + struct.set(sigev_signo$LAYOUT, sigev_signo$OFFSET, fieldValue); + } + + private static final GroupLayout sigev_value$LAYOUT = (GroupLayout)$LAYOUT.select(groupElement("sigev_value")); + + /** + * Layout for field: + * {@snippet lang=c : + * union sigval sigev_value + * } + */ + public static final GroupLayout sigev_value$layout() { + return sigev_value$LAYOUT; + } + + private static final long sigev_value$OFFSET = $LAYOUT.byteOffset(groupElement("sigev_value")); + + /** + * Offset for field: + * {@snippet lang=c : + * union sigval sigev_value + * } + */ + public static final long sigev_value$offset() { + return sigev_value$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * union sigval sigev_value + * } + */ + public static MemorySegment sigev_value(MemorySegment struct) { + return struct.asSlice(sigev_value$OFFSET, sigev_value$LAYOUT.byteSize()); + } + + /** + * Setter for field: + * {@snippet lang=c : + * union sigval sigev_value + * } + */ + public static void sigev_value(MemorySegment struct, MemorySegment fieldValue) { + MemorySegment.copy(fieldValue, 0L, struct, sigev_value$OFFSET, sigev_value$LAYOUT.byteSize()); + } + + /** + * {@snippet lang=c : + * void (*sigev_notify_function)(union sigval) + * } + */ + public final static class sigev_notify_function { + + private sigev_notify_function() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(MemorySegment _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + sigval.layout() + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(sigev_notify_function.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(sigev_notify_function.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, MemorySegment _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout sigev_notify_function$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("sigev_notify_function")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*sigev_notify_function)(union sigval) + * } + */ + public static final AddressLayout sigev_notify_function$layout() { + return sigev_notify_function$LAYOUT; + } + + private static final long sigev_notify_function$OFFSET = $LAYOUT.byteOffset(groupElement("sigev_notify_function")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*sigev_notify_function)(union sigval) + * } + */ + public static final long sigev_notify_function$offset() { + return sigev_notify_function$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*sigev_notify_function)(union sigval) + * } + */ + public static MemorySegment sigev_notify_function(MemorySegment struct) { + return struct.get(sigev_notify_function$LAYOUT, sigev_notify_function$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*sigev_notify_function)(union sigval) + * } + */ + public static void sigev_notify_function(MemorySegment struct, MemorySegment fieldValue) { + struct.set(sigev_notify_function$LAYOUT, sigev_notify_function$OFFSET, fieldValue); + } + + private static final AddressLayout sigev_notify_attributes$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("sigev_notify_attributes")); + + /** + * Layout for field: + * {@snippet lang=c : + * pthread_attr_t *sigev_notify_attributes + * } + */ + public static final AddressLayout sigev_notify_attributes$layout() { + return sigev_notify_attributes$LAYOUT; + } + + private static final long sigev_notify_attributes$OFFSET = $LAYOUT.byteOffset(groupElement("sigev_notify_attributes")); + + /** + * Offset for field: + * {@snippet lang=c : + * pthread_attr_t *sigev_notify_attributes + * } + */ + public static final long sigev_notify_attributes$offset() { + return sigev_notify_attributes$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * pthread_attr_t *sigev_notify_attributes + * } + */ + public static MemorySegment sigev_notify_attributes(MemorySegment struct) { + return struct.get(sigev_notify_attributes$LAYOUT, sigev_notify_attributes$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * pthread_attr_t *sigev_notify_attributes + * } + */ + public static void sigev_notify_attributes(MemorySegment struct, MemorySegment fieldValue) { + struct.set(sigev_notify_attributes$LAYOUT, sigev_notify_attributes$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/siginfo_t.java b/generated/src/mlx/siginfo_t.java new file mode 100644 index 00000000..9f78d0be --- /dev/null +++ b/generated/src/mlx/siginfo_t.java @@ -0,0 +1,37 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct __siginfo { + * int si_signo; + * int si_errno; + * int si_code; + * pid_t si_pid; + * uid_t si_uid; + * int si_status; + * void *si_addr; + * union sigval si_value; + * long si_band; + * unsigned long __pad[7]; + * } siginfo_t + * } + */ +public class siginfo_t extends __siginfo { + + siginfo_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/signal$return.java b/generated/src/mlx/signal$return.java new file mode 100644 index 00000000..b25437a6 --- /dev/null +++ b/generated/src/mlx/signal$return.java @@ -0,0 +1,69 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (*signal(int, void (*)(int)))(int) + * } + */ +public final class signal$return { + + private signal$return() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(signal$return.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(signal$return.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/signal$x0.java b/generated/src/mlx/signal$x0.java new file mode 100644 index 00000000..f2e52d96 --- /dev/null +++ b/generated/src/mlx/signal$x0.java @@ -0,0 +1,69 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * void (*)(int) + * } + */ +public final class signal$x0 { + + private signal$x0() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(signal$x0.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(signal$x0.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } +} + diff --git a/generated/src/mlx/sigstack.java b/generated/src/mlx/sigstack.java new file mode 100644 index 00000000..07dea3fc --- /dev/null +++ b/generated/src/mlx/sigstack.java @@ -0,0 +1,174 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct sigstack { + * char *ss_sp; + * int ss_onstack; + * } + * } + */ +public class sigstack { + + sigstack() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("ss_sp"), + mlx_h.C_INT.withName("ss_onstack"), + MemoryLayout.paddingLayout(4) + ).withName("sigstack"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final AddressLayout ss_sp$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("ss_sp")); + + /** + * Layout for field: + * {@snippet lang=c : + * char *ss_sp + * } + */ + public static final AddressLayout ss_sp$layout() { + return ss_sp$LAYOUT; + } + + private static final long ss_sp$OFFSET = $LAYOUT.byteOffset(groupElement("ss_sp")); + + /** + * Offset for field: + * {@snippet lang=c : + * char *ss_sp + * } + */ + public static final long ss_sp$offset() { + return ss_sp$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * char *ss_sp + * } + */ + public static MemorySegment ss_sp(MemorySegment struct) { + return struct.get(ss_sp$LAYOUT, ss_sp$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * char *ss_sp + * } + */ + public static void ss_sp(MemorySegment struct, MemorySegment fieldValue) { + struct.set(ss_sp$LAYOUT, ss_sp$OFFSET, fieldValue); + } + + private static final OfInt ss_onstack$LAYOUT = (OfInt)$LAYOUT.select(groupElement("ss_onstack")); + + /** + * Layout for field: + * {@snippet lang=c : + * int ss_onstack + * } + */ + public static final OfInt ss_onstack$layout() { + return ss_onstack$LAYOUT; + } + + private static final long ss_onstack$OFFSET = $LAYOUT.byteOffset(groupElement("ss_onstack")); + + /** + * Offset for field: + * {@snippet lang=c : + * int ss_onstack + * } + */ + public static final long ss_onstack$offset() { + return ss_onstack$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int ss_onstack + * } + */ + public static int ss_onstack(MemorySegment struct) { + return struct.get(ss_onstack$LAYOUT, ss_onstack$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int ss_onstack + * } + */ + public static void ss_onstack(MemorySegment struct, int fieldValue) { + struct.set(ss_onstack$LAYOUT, ss_onstack$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/sigval.java b/generated/src/mlx/sigval.java new file mode 100644 index 00000000..03779cbd --- /dev/null +++ b/generated/src/mlx/sigval.java @@ -0,0 +1,173 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * union sigval { + * int sival_int; + * void *sival_ptr; + * } + * } + */ +public class sigval { + + sigval() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.unionLayout( + mlx_h.C_INT.withName("sival_int"), + mlx_h.C_POINTER.withName("sival_ptr") + ).withName("sigval"); + + /** + * The layout of this union + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfInt sival_int$LAYOUT = (OfInt)$LAYOUT.select(groupElement("sival_int")); + + /** + * Layout for field: + * {@snippet lang=c : + * int sival_int + * } + */ + public static final OfInt sival_int$layout() { + return sival_int$LAYOUT; + } + + private static final long sival_int$OFFSET = $LAYOUT.byteOffset(groupElement("sival_int")); + + /** + * Offset for field: + * {@snippet lang=c : + * int sival_int + * } + */ + public static final long sival_int$offset() { + return sival_int$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int sival_int + * } + */ + public static int sival_int(MemorySegment union) { + return union.get(sival_int$LAYOUT, sival_int$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int sival_int + * } + */ + public static void sival_int(MemorySegment union, int fieldValue) { + union.set(sival_int$LAYOUT, sival_int$OFFSET, fieldValue); + } + + private static final AddressLayout sival_ptr$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("sival_ptr")); + + /** + * Layout for field: + * {@snippet lang=c : + * void *sival_ptr + * } + */ + public static final AddressLayout sival_ptr$layout() { + return sival_ptr$LAYOUT; + } + + private static final long sival_ptr$OFFSET = $LAYOUT.byteOffset(groupElement("sival_ptr")); + + /** + * Offset for field: + * {@snippet lang=c : + * void *sival_ptr + * } + */ + public static final long sival_ptr$offset() { + return sival_ptr$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void *sival_ptr + * } + */ + public static MemorySegment sival_ptr(MemorySegment union) { + return union.get(sival_ptr$LAYOUT, sival_ptr$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void *sival_ptr + * } + */ + public static void sival_ptr(MemorySegment union, MemorySegment fieldValue) { + union.set(sival_ptr$LAYOUT, sival_ptr$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this union + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/sigvec.java b/generated/src/mlx/sigvec.java new file mode 100644 index 00000000..f98bbb7b --- /dev/null +++ b/generated/src/mlx/sigvec.java @@ -0,0 +1,274 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct sigvec { + * void (*sv_handler)(int); + * int sv_mask; + * int sv_flags; + * } + * } + */ +public class sigvec { + + sigvec() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_POINTER.withName("sv_handler"), + mlx_h.C_INT.withName("sv_mask"), + mlx_h.C_INT.withName("sv_flags") + ).withName("sigvec"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + /** + * {@snippet lang=c : + * void (*sv_handler)(int) + * } + */ + public final static class sv_handler { + + private sv_handler() { + // Should not be called directly + } + + /** + * The function pointer signature, expressed as a functional interface + */ + public interface Function { + void apply(int _x0); + } + + private static final FunctionDescriptor $DESC = FunctionDescriptor.ofVoid( + mlx_h.C_INT + ); + + /** + * The descriptor of this function pointer + */ + public static FunctionDescriptor descriptor() { + return $DESC; + } + + private static final MethodHandle UP$MH = mlx_h.upcallHandle(sv_handler.Function.class, "apply", $DESC); + + /** + * Allocates a new upcall stub, whose implementation is defined by {@code fi}. + * The lifetime of the returned segment is managed by {@code arena} + */ + public static MemorySegment allocate(sv_handler.Function fi, Arena arena) { + return Linker.nativeLinker().upcallStub(UP$MH.bindTo(fi), $DESC, arena); + } + + private static final MethodHandle DOWN$MH = Linker.nativeLinker().downcallHandle($DESC); + + /** + * Invoke the upcall stub {@code funcPtr}, with given parameters + */ + public static void invoke(MemorySegment funcPtr, int _x0) { + try { + DOWN$MH.invokeExact(funcPtr, _x0); + } catch (Error | RuntimeException ex) { + throw ex; + } catch (Throwable ex$) { + throw new AssertionError("should not reach here", ex$); + } + } + } + + private static final AddressLayout sv_handler$LAYOUT = (AddressLayout)$LAYOUT.select(groupElement("sv_handler")); + + /** + * Layout for field: + * {@snippet lang=c : + * void (*sv_handler)(int) + * } + */ + public static final AddressLayout sv_handler$layout() { + return sv_handler$LAYOUT; + } + + private static final long sv_handler$OFFSET = $LAYOUT.byteOffset(groupElement("sv_handler")); + + /** + * Offset for field: + * {@snippet lang=c : + * void (*sv_handler)(int) + * } + */ + public static final long sv_handler$offset() { + return sv_handler$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * void (*sv_handler)(int) + * } + */ + public static MemorySegment sv_handler(MemorySegment struct) { + return struct.get(sv_handler$LAYOUT, sv_handler$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * void (*sv_handler)(int) + * } + */ + public static void sv_handler(MemorySegment struct, MemorySegment fieldValue) { + struct.set(sv_handler$LAYOUT, sv_handler$OFFSET, fieldValue); + } + + private static final OfInt sv_mask$LAYOUT = (OfInt)$LAYOUT.select(groupElement("sv_mask")); + + /** + * Layout for field: + * {@snippet lang=c : + * int sv_mask + * } + */ + public static final OfInt sv_mask$layout() { + return sv_mask$LAYOUT; + } + + private static final long sv_mask$OFFSET = $LAYOUT.byteOffset(groupElement("sv_mask")); + + /** + * Offset for field: + * {@snippet lang=c : + * int sv_mask + * } + */ + public static final long sv_mask$offset() { + return sv_mask$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int sv_mask + * } + */ + public static int sv_mask(MemorySegment struct) { + return struct.get(sv_mask$LAYOUT, sv_mask$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int sv_mask + * } + */ + public static void sv_mask(MemorySegment struct, int fieldValue) { + struct.set(sv_mask$LAYOUT, sv_mask$OFFSET, fieldValue); + } + + private static final OfInt sv_flags$LAYOUT = (OfInt)$LAYOUT.select(groupElement("sv_flags")); + + /** + * Layout for field: + * {@snippet lang=c : + * int sv_flags + * } + */ + public static final OfInt sv_flags$layout() { + return sv_flags$LAYOUT; + } + + private static final long sv_flags$OFFSET = $LAYOUT.byteOffset(groupElement("sv_flags")); + + /** + * Offset for field: + * {@snippet lang=c : + * int sv_flags + * } + */ + public static final long sv_flags$offset() { + return sv_flags$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * int sv_flags + * } + */ + public static int sv_flags(MemorySegment struct) { + return struct.get(sv_flags$LAYOUT, sv_flags$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * int sv_flags + * } + */ + public static void sv_flags(MemorySegment struct, int fieldValue) { + struct.set(sv_flags$LAYOUT, sv_flags$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/stack_t.java b/generated/src/mlx/stack_t.java new file mode 100644 index 00000000..de27e3d6 --- /dev/null +++ b/generated/src/mlx/stack_t.java @@ -0,0 +1,30 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct __darwin_sigaltstack { + * void *ss_sp; + * __darwin_size_t ss_size; + * int ss_flags; + * } stack_t + * } + */ +public class stack_t extends __darwin_sigaltstack { + + stack_t() { + // Should not be called directly + } +} + diff --git a/generated/src/mlx/timeval.java b/generated/src/mlx/timeval.java new file mode 100644 index 00000000..11a622e3 --- /dev/null +++ b/generated/src/mlx/timeval.java @@ -0,0 +1,174 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * struct timeval { + * __darwin_time_t tv_sec; + * __darwin_suseconds_t tv_usec; + * } + * } + */ +public class timeval { + + timeval() { + // Should not be called directly + } + + private static final GroupLayout $LAYOUT = MemoryLayout.structLayout( + mlx_h.C_LONG.withName("tv_sec"), + mlx_h.C_INT.withName("tv_usec"), + MemoryLayout.paddingLayout(4) + ).withName("timeval"); + + /** + * The layout of this struct + */ + public static final GroupLayout layout() { + return $LAYOUT; + } + + private static final OfLong tv_sec$LAYOUT = (OfLong)$LAYOUT.select(groupElement("tv_sec")); + + /** + * Layout for field: + * {@snippet lang=c : + * __darwin_time_t tv_sec + * } + */ + public static final OfLong tv_sec$layout() { + return tv_sec$LAYOUT; + } + + private static final long tv_sec$OFFSET = $LAYOUT.byteOffset(groupElement("tv_sec")); + + /** + * Offset for field: + * {@snippet lang=c : + * __darwin_time_t tv_sec + * } + */ + public static final long tv_sec$offset() { + return tv_sec$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __darwin_time_t tv_sec + * } + */ + public static long tv_sec(MemorySegment struct) { + return struct.get(tv_sec$LAYOUT, tv_sec$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __darwin_time_t tv_sec + * } + */ + public static void tv_sec(MemorySegment struct, long fieldValue) { + struct.set(tv_sec$LAYOUT, tv_sec$OFFSET, fieldValue); + } + + private static final OfInt tv_usec$LAYOUT = (OfInt)$LAYOUT.select(groupElement("tv_usec")); + + /** + * Layout for field: + * {@snippet lang=c : + * __darwin_suseconds_t tv_usec + * } + */ + public static final OfInt tv_usec$layout() { + return tv_usec$LAYOUT; + } + + private static final long tv_usec$OFFSET = $LAYOUT.byteOffset(groupElement("tv_usec")); + + /** + * Offset for field: + * {@snippet lang=c : + * __darwin_suseconds_t tv_usec + * } + */ + public static final long tv_usec$offset() { + return tv_usec$OFFSET; + } + + /** + * Getter for field: + * {@snippet lang=c : + * __darwin_suseconds_t tv_usec + * } + */ + public static int tv_usec(MemorySegment struct) { + return struct.get(tv_usec$LAYOUT, tv_usec$OFFSET); + } + + /** + * Setter for field: + * {@snippet lang=c : + * __darwin_suseconds_t tv_usec + * } + */ + public static void tv_usec(MemorySegment struct, int fieldValue) { + struct.set(tv_usec$LAYOUT, tv_usec$OFFSET, fieldValue); + } + + /** + * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}. + * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()} + */ + public static MemorySegment asSlice(MemorySegment array, long index) { + return array.asSlice(layout().byteSize() * index); + } + + /** + * The size (in bytes) of this struct + */ + public static long sizeof() { return layout().byteSize(); } + + /** + * Allocate a segment of size {@code layout().byteSize()} using {@code allocator} + */ + public static MemorySegment allocate(SegmentAllocator allocator) { + return allocator.allocate(layout()); + } + + /** + * Allocate an array of size {@code elementCount} using {@code allocator}. + * The returned segment has size {@code elementCount * layout().byteSize()}. + */ + public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator) { + return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout())); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup) { + return reinterpret(addr, 1, arena, cleanup); + } + + /** + * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any). + * The returned segment has size {@code elementCount * layout().byteSize()} + */ + public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer cleanup) { + return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup); + } +} + diff --git a/generated/src/mlx/ucontext_t.java b/generated/src/mlx/ucontext_t.java new file mode 100644 index 00000000..58b047a8 --- /dev/null +++ b/generated/src/mlx/ucontext_t.java @@ -0,0 +1,33 @@ +// Generated by jextract + +package mlx; + +import java.lang.invoke.*; +import java.lang.foreign.*; +import java.nio.ByteOrder; +import java.util.*; +import java.util.function.*; +import java.util.stream.*; + +import static java.lang.foreign.ValueLayout.*; +import static java.lang.foreign.MemoryLayout.PathElement.*; + +/** + * {@snippet lang=c : + * typedef struct __darwin_ucontext { + * int uc_onstack; + * __darwin_sigset_t uc_sigmask; + * struct __darwin_sigaltstack uc_stack; + * struct __darwin_ucontext *uc_link; + * __darwin_size_t uc_mcsize; + * struct __darwin_mcontext64 *uc_mcontext; + * } ucontext_t + * } + */ +public class ucontext_t extends __darwin_ucontext { + + ucontext_t() { + // Should not be called directly + } +} + diff --git a/justfile b/justfile index e02d74e8..cefcde00 100644 --- a/justfile +++ b/justfile @@ -1,3 +1,4 @@ +set shell := ["zsh", "-cu"] MILL := "./millw" @@ -33,8 +34,72 @@ test: testOnly target: {{MILL}} vecxt.jvm.test.testOnly vecxt.{{target}} -console: +console: {{MILL}} -i vecxt.jvm.console setJvm: - eval "$(cs java --jvm 21 --env)" \ No newline at end of file + eval "$(cs java --jvm 21 --env)" + +jextractIncBlas: + /Users/simon/Code/jextract-1/build/jextract/bin/jextract \ + --dump-includes generated/includes_blas.txt /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h + +jextractIncBlis: + /Users/simon/Code/jextract-1/build/jextract/bin/jextract \ + --dump-includes generated/includes_blis_cblas.txt /opt/homebrew/opt/blis/include/blis/cblas.h + +blisTyped: + /Users/simon/Code/jextract-1/build/jextract/bin/jextract \ + --dump-includes generated/includes_blis_typed.txt /opt/homebrew/opt/blis/include/blis/blis.h + +jextract: + /Users/simon/Code/jextract-1/build/jextract/bin/jextract \ + --output generated/src \\ + -D FORCE_OPENBLAS_COMPLEX_STRUCT \ + -l :/opt/homebrew/Cellar/openblas/0.3.30/lib/libopenblas.dylib \ + -t blas \ + @generated/myInclude.txt \ + /opt/homebrew/Cellar/openblas/0.3.30/include/cblas.h + +jextractBlis: + /Users/simon/Code/jextract-1/build/jextract/bin/jextract \ + --output generated/src \ + --include-function dgemv \ + -D FORCE_OPENBLAS_COMPLEX_STRUCT \ + -l blis \ + -t blis \ + --use-system-load-library \ + @generated/myInclude.txt \ + /opt/homebrew/opt/blis/include/blis/cblas.h + +jextractBlisTyped: + /Users/simon/Code/jextract-1/build/jextract/bin/jextract \ + --output generated/src \ + -D FORCE_OPENBLAS_COMPLEX_STRUCT \ + -l blis \ + -t blis_typed \ + --use-system-load-library \ + @generated/my_includes_blis_typed.txt \ + /opt/homebrew/opt/blis/include/blis/blis.h + +jextractMLX: + /Users/simon/Code/jextract-1/build/jextract/bin/jextract \ + -t mlx \ + --use-system-load-library \ + -l mlxc \ + --output generated/src \ + --include-dir /Users/simon/Code/mlx-c/ \ + /Users/simon/Code/mlx-c/mlx/c/mlx.h + +jextractMLX2: + /Users/simon/Code/jextract-1/build/jextract/bin/jextract \ + -t mlx2 \ + --output generated/src/mlx2 \ + --include-dir /Users/simon/Code/mlx-c/ \ + /Users/simon/Code/mlx-c/mlx/c/ops.h + +jextractAccelerate: + /Users/simon/Code/jextract-1/build/jextract/bin/jextract \ + -t accelerate.blas \ + --output generated/src \ + /Library/Developer/CommandLineTools/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/Headers/cblas.h \ No newline at end of file diff --git a/vecxt/src-jvm/doublematrix.scala b/vecxt/src-jvm/doublematrix.scala index 924f2d7c..8e7eec96 100644 --- a/vecxt/src-jvm/doublematrix.scala +++ b/vecxt/src-jvm/doublematrix.scala @@ -285,7 +285,7 @@ object JvmDoubleMatrix: i += sp_int_doubleLanes.length end while while i < m.rows do - m.elementIndex(i, j)(using BoundsCheck.DoBoundsCheck.yes) + m.elementIndex(i, j)(using BoundsCheck.DoBoundsCheck.no) m(i, j) = n + m(i, j) i += 1 end while @@ -317,7 +317,7 @@ object JvmDoubleMatrix: end while while j < m.cols do - m.elementIndex(i, j)(using BoundsCheck.DoBoundsCheck.yes) + m.elementIndex(i, j)(using BoundsCheck.DoBoundsCheck.no) m(i, j) = n + m(i, j) j += 1 end while