The main class of the program.

Sys is a singleton class, its only instance is accessible from everywhere with sys.

Because of this, methods that should be accessible from everywhere, like print or exit, are defined in Sys. Moreover, unless there is an ambiguity with self, the receiver of a call to these methods is implicitly sys. Basically it means that the two following instructions are equivalent.

print "Hello World"
sys.print "Hello World"

Methods Implicitly Defined in Sys

Sys is the class where are defined top-level methods, i.e. those defined outside of any class like in a procedural language. Basically it means that

redef class Sys
   fun foo do print "hello"
end

is equivalent with

fun foo print "hello"

As a corollary, in a top-level method, self (the current receiver) is always sys.

Introduced properties

fun active_actors: SynchronizedCounter

core :: Sys :: active_actors

Number of active actors
protected fun active_actors=(active_actors: SynchronizedCounter)

core :: Sys :: active_actors=

Number of active actors
fun add_history(data: String)

core :: Sys :: add_history

Adds the data String to the history no matter what it contains
fun all_root_textures: TextureSet

core :: Sys :: all_root_textures

All declared root textures
protected fun all_root_textures=(all_root_textures: TextureSet)

core :: Sys :: all_root_textures=

All declared root textures
fun alpha_comparator: Comparator

core :: Sys :: alpha_comparator

Stateless comparator that naively use to_s to compare things.
fun android_r_layout_simple_list_item_1: Int

core :: Sys :: android_r_layout_simple_list_item_1

Java getter: android.R$layout.simple_list_item_1
fun android_r_layout_simple_list_item_2: Int

core :: Sys :: android_r_layout_simple_list_item_2

Java getter: android.R$layout.simple_list_item_2
fun android_r_layout_simple_list_item_activated_1: Int

core :: Sys :: android_r_layout_simple_list_item_activated_1

Java getter: android.R$layout.simple_list_item_activated_1
fun android_r_layout_simple_list_item_activated_2: Int

core :: Sys :: android_r_layout_simple_list_item_activated_2

Java getter: android.R$layout.simple_list_item_activated_2
fun android_r_layout_simple_list_item_checked: Int

core :: Sys :: android_r_layout_simple_list_item_checked

Java getter: android.R$layout.simple_list_item_checked
fun android_r_layout_simple_list_item_multiple_choice: Int

core :: Sys :: android_r_layout_simple_list_item_multiple_choice

Java getter: android.R$layout.simple_list_item_multiple_choice
fun android_r_layout_simple_list_item_single_choice: Int

core :: Sys :: android_r_layout_simple_list_item_single_choice

Java getter: android.R$layout.simple_list_item_single_choice
fun android_r_layout_simple_selectable_list_item: Int

core :: Sys :: android_r_layout_simple_selectable_list_item

Java getter: android.R$layout.simple_selectable_list_item
fun android_r_style_text_appearance_large: Int

core :: Sys :: android_r_style_text_appearance_large

Java getter: android.R$style.TextAppearance_Large
fun android_r_style_text_appearance_medium: Int

core :: Sys :: android_r_style_text_appearance_medium

Java getter: android.R$style.TextAppearance_Medium
fun android_r_style_text_appearance_small: Int

core :: Sys :: android_r_style_text_appearance_small

Java getter: android.R$style.TextAppearance_Small
fun android_view_key_event_keycode_back: Int

core :: Sys :: android_view_key_event_keycode_back

Java getter: android.view.KeyEvent.KEYCODE_BACK
fun android_widget_adapter_ignore_item_view_type: Int

core :: Sys :: android_widget_adapter_ignore_item_view_type

Java getter: android.widget.Adapter.IGNORE_ITEM_VIEW_TYPE
fun android_widget_adapter_no_selection: Int

core :: Sys :: android_widget_adapter_no_selection

Java getter: android.widget.Adapter.NO_SELECTION
fun app: App

core :: Sys :: app

The running App
fun args: Sequence[String]

core :: Sys :: args

The arguments of the program as given by the OS
fun arr_len: Counter[Int]

core :: Sys :: arr_len

Keeps the average length of an Array when calling to_s
protected fun arr_len=(arr_len: Counter[Int])

core :: Sys :: arr_len=

Keeps the average length of an Array when calling to_s
fun arr_s_len: Counter[Int]

core :: Sys :: arr_s_len

Tracks the average length of the Strings of an array when calling to_s
protected fun arr_s_len=(arr_s_len: Counter[Int])

core :: Sys :: arr_s_len=

Tracks the average length of the Strings of an array when calling to_s
fun asciiflatstr_allocations: Int

core :: Sys :: asciiflatstr_allocations

Counts the number of allocations of ASCIIFlatString
protected fun asciiflatstr_allocations=(asciiflatstr_allocations: Int)

core :: Sys :: asciiflatstr_allocations=

Counts the number of allocations of ASCIIFlatString
fun asset_textures_by_name: Map[String, TextureAsset]

core :: Sys :: asset_textures_by_name

Textures loaded from .mtl files for models
protected fun asset_textures_by_name=(asset_textures_by_name: Map[String, TextureAsset])

core :: Sys :: asset_textures_by_name=

Textures loaded from .mtl files for models
fun atan2(y: Float, x: Float): Float

core :: Sys :: atan2

Computes the arc tangent given y and x.
protected fun atomic=(atomic: AtomicInt)

core :: Sys :: atomic=

fun auto_hash_display: Bool

core :: Sys :: auto_hash_display

Activate the automatic call of show_hash_stats at the end of programs
fun auto_hash_display=(auto_hash_display: Bool)

core :: Sys :: auto_hash_display=

Activate the automatic call of show_hash_stats at the end of programs
fun avg_arr_len: Float

core :: Sys :: avg_arr_len

Compute the average array length.
fun avg_s_len: Float

core :: Sys :: avg_s_len

Compute the average string length.
fun bar(i: Int, s: String): Threadedbar

core :: Sys :: bar

Parameterized threaded method, same as foo, but with parameters
fun baz(i: Int, j: Int): Threadedbaz

core :: Sys :: baz

Parameterized threaded method with a return type
fun bev_event_connected: Int

core :: Sys :: bev_event_connected

connect operation finished.
fun bev_event_eof: Int

core :: Sys :: bev_event_eof

eof file reached
fun bev_event_error: Int

core :: Sys :: bev_event_error

unrecoverable error encountered
fun bev_event_reading: Int

core :: Sys :: bev_event_reading

error encountered while reading
fun bev_event_timeout: Int

core :: Sys :: bev_event_timeout

user-specified timeout reached
fun bev_event_writing: Int

core :: Sys :: bev_event_writing

error encountered while writing
fun bev_opt_close_on_free: Int

core :: Sys :: bev_opt_close_on_free

Close the underlying file descriptor/bufferevent/whatever when this bufferevent is freed.
fun bev_opt_defer_callbacks: Int

core :: Sys :: bev_opt_defer_callbacks

Run callbacks deferred in the event loop.
fun bev_opt_threadsafe: Int

core :: Sys :: bev_opt_threadsafe

If threading is enabled, protect the operations on this bufferevent with a lock.
fun bev_opt_unlock_callbacks: Int

core :: Sys :: bev_opt_unlock_callbacks

If set, callbacks are executed without locks being held on the bufferevent.
fun bind_screen_framebuffer(fbo: Int)

core :: Sys :: bind_screen_framebuffer

Portable indirection to glBindFramebuffer(gl_FRAMEBUFFER, fbo)
fun bindtextdomain(domain: String, dir: String)

core :: Sys :: bindtextdomain

Gettext bindtextdomain, SEE gettext manual for further info
fun blue: Int

core :: Sys :: blue

fun bound_platform: String

core :: Sys :: bound_platform

Platform bound at compilation (by importation or -m)
fun buffer_mode_full: Int

core :: Sys :: buffer_mode_full

Enumeration for buffer mode full (flushes when buffer is full)
fun buffer_mode_line: Int

core :: Sys :: buffer_mode_line

Enumeration for buffer mode line (flushes when a \n is encountered)
fun buffer_mode_none: Int

core :: Sys :: buffer_mode_none

Enumeration for buffer mode none (flushes ASAP when something is written)
fun byte_length_call: Counter[String]

core :: Sys :: byte_length_call

Counter of the times byte_length is called on FlatString
protected fun byte_length_call=(byte_length_call: Counter[String])

core :: Sys :: byte_length_call=

Counter of the times byte_length is called on FlatString
fun bytepos_call: Counter[String]

core :: Sys :: bytepos_call

Counter of the times bytepos is called on each type of receiver
protected fun bytepos_call=(bytepos_call: Counter[String])

core :: Sys :: bytepos_call=

Counter of the times bytepos is called on each type of receiver
fun check_error(loc: String)

core :: Sys :: check_error

Check for an error, then print and clear it
fun check_signals: Bool

core :: Sys :: check_signals

Check signals for safe operation
protected fun chk_sums=(chk_sums: Array[Int])

core :: Sys :: chk_sums=

fun chunk_sz: Int

core :: Sys :: chunk_sz

protected fun chunk_sz=(chunk_sz: Int)

core :: Sys :: chunk_sz=

fun cib: Array[Float]

core :: Sys :: cib

protected fun cib=(cib: Array[Float])

core :: Sys :: cib=

abstract fun class_inheritance_metamodel: POSet[String]

core :: Sys :: class_inheritance_metamodel

Class inheritance graph, implemented by the json package
protected fun class_inheritance_metamodel=(class_inheritance_metamodel: POSet[String])

core :: Sys :: class_inheritance_metamodel=

fun clear_hash_stats

core :: Sys :: clear_hash_stats

Reset the hash statistics to 0
fun clock_agent=(clock_agent: ClockAgent)

core :: Sys :: clock_agent=

fun colors: Array[String]

core :: Sys :: colors

protected fun colors=(colors: Array[String])

core :: Sys :: colors=

fun comm_world: Comm

core :: Sys :: comm_world

Shortcut to the world communicator (same as new Comm.world)
fun complements: Array[Array[Int]]

core :: Sys :: complements

Matrix for complementing colors
protected fun complements=(complements: Array[Array[Int]])

core :: Sys :: complements=

Matrix for complementing colors
fun concat_allocations: Int

core :: Sys :: concat_allocations

Counts the number of allocations of Concat
protected fun concat_allocations=(concat_allocations: Int)

core :: Sys :: concat_allocations=

Counts the number of allocations of Concat
fun concat_cache_miss: Int

core :: Sys :: concat_cache_miss

Count the number of times that an indexed access
protected fun concat_cache_miss=(concat_cache_miss: Int)

core :: Sys :: concat_cache_miss=

Count the number of times that an indexed access
fun convex_hull(points: Array[Point[Float]]): ConvexPolygon

core :: Sys :: convex_hull

Get the convex hull of the set of points
fun crb: Array[Float]

core :: Sys :: crb

protected fun crb=(crb: Array[Float])

core :: Sys :: crb=

protected fun create_default_jvm

core :: Sys :: create_default_jvm

Called by jvm and jni_env to instantiate a Java Virtual Machine.
fun data: Array[Array[Int]]

core :: Sys :: data

protected fun data=(data: Array[Array[Int]])

core :: Sys :: data=

fun debug_gamnit: Bool

core :: Sys :: debug_gamnit

Should Gamnit be more verbose?
fun debug_level: Int

core :: Sys :: debug_level

Debug severity level
protected fun debug_level=(debug_level: Int)

core :: Sys :: debug_level=

Debug severity level
fun default_comparator: DefaultComparator

core :: Sys :: default_comparator

Easy-to-use general stateless default comparator that uses <=> to compare things.
fun default_reverse_comparator: DefaultReverseComparator

core :: Sys :: default_reverse_comparator

Easy-to-use general stateless default reverse comparator.
fun discover_local_servers(timeout: nullable Float): Array[RemoteServerConfig]

core :: Sys :: discover_local_servers

Discover local servers responding on UDP discovery_port
fun discovery_port: Int

core :: Sys :: discovery_port

Server port listening for discovery requests
fun div(n: Int, d: Int): String

core :: Sys :: div

Helper function to display n/d and handle division by 0
fun egid: Int

core :: Sys :: egid

The effective group id of this process
fun egid=(gid: Int): Bool

core :: Sys :: egid=

Set the effective group id of this process
fun egl_default_display: Pointer

core :: Sys :: egl_default_display

Handle to the default display to use with EGL
fun en_count: Int

core :: Sys :: en_count

Number of calls of HashCollection::enlarge
protected fun en_count=(en_count: Int)

core :: Sys :: en_count=

Number of calls of HashCollection::enlarge
fun en_tot_cap: Int

core :: Sys :: en_tot_cap

Total capacity of hash collections receiver HashCollection::enlarge
protected fun en_tot_cap=(en_tot_cap: Int)

core :: Sys :: en_tot_cap=

Total capacity of hash collections receiver HashCollection::enlarge
fun en_tot_length: Int

core :: Sys :: en_tot_length

Total length of hash collections receiver of HashCollection::enlarge
protected fun en_tot_length=(en_tot_length: Int)

core :: Sys :: en_tot_length=

Total length of hash collections receiver of HashCollection::enlarge
fun enable_debug_mode

core :: Sys :: enable_debug_mode

Enable some relatively expensive debugging checks that would normally be turned off
fun english_freqs: HashMap[Char, Float]

core :: Sys :: english_freqs

English letter frequency map
protected fun english_freqs=(english_freqs: HashMap[Char, Float])

core :: Sys :: english_freqs=

English letter frequency map
fun errno: Int

core :: Sys :: errno

Number of the last error
fun error_level: Int

core :: Sys :: error_level

Error severity level
protected fun error_level=(error_level: Int)

core :: Sys :: error_level=

Error severity level
fun euid: Int

core :: Sys :: euid

The effective user id of this process
fun euid=(uid: Int): Bool

core :: Sys :: euid=

Set the effective user id of this process
fun ev_read: Int

core :: Sys :: ev_read

Read operation
fun ev_write: Int

core :: Sys :: ev_write

Write operation
fun evutil_socket_error: Int

core :: Sys :: evutil_socket_error

Global error code for the last socket operation on the calling thread
fun evutil_socket_error_to_string(error_code: Int): CString

core :: Sys :: evutil_socket_error_to_string

Convert an error code from evutil_socket_error to a string
intern fun exit(exit_value: Int)

core :: Sys :: exit

Quit the program with a specific return code
fun exit_thread(value: nullable Object)

core :: Sys :: exit_thread

Exit current thread and return value to caller of Thread::join
fun fact: Array[Int]

core :: Sys :: fact

protected fun fact=(fact: Array[Int])

core :: Sys :: fact=

fun fatal_level: Int

core :: Sys :: fatal_level

Fatal severity level
protected fun fatal_level=(fatal_level: Int)

core :: Sys :: fatal_level=

Fatal severity level
fun file_open(path: String): ForAbuser[FileReader]

core :: Sys :: file_open

Open and read a file through a for abuse.
fun first_byte_call: Int

core :: Sys :: first_byte_call

Calls to the first_byte property of a FlatString
protected fun first_byte_call=(first_byte_call: Int)

core :: Sys :: first_byte_call=

Calls to the first_byte property of a FlatString
fun flatbuf_allocations: Int

core :: Sys :: flatbuf_allocations

Counts the number of allocations of FlatBuffer
protected fun flatbuf_allocations=(flatbuf_allocations: Int)

core :: Sys :: flatbuf_allocations=

Counts the number of allocations of FlatBuffer
fun foo: Threadedfoo

core :: Sys :: foo

the is threaded annotation makes this method run on an other thread
fun force_console_colors: Bool

core :: Sys :: force_console_colors

Force coloring terminal output, even if stdout is not a TTY?
fun force_console_colors=(force_console_colors: Bool)

core :: Sys :: force_console_colors=

Force coloring terminal output, even if stdout is not a TTY?
intern fun force_garbage_collection

core :: Sys :: force_garbage_collection

Initiate a garbage collection
fun fun_to_s: Function[Object, String]

core :: Sys :: fun_to_s

Stateless singleton that reify to the to_s method.
fun gdk_threads_add_idle(task: Task): Int

core :: Sys :: gdk_threads_add_idle

Add a callback to execute whenever there are no higher priority events pending
fun gen_generics(nargs: Int): Array[String]

core :: Sys :: gen_generics

Generates of an array of formal type as strings.
fun generate_functypes(n: Int, writer: Writer)

core :: Sys :: generate_functypes

Writes all functional types
fun generate_token(length: nullable Int, force_rand: nullable Bool): String

core :: Sys :: generate_token

Generate a random token of length chars long
fun get_github_oauth: String

core :: Sys :: get_github_oauth

Gets the Github token from git configuration
fun get_microtime: Int

core :: Sys :: get_microtime

The number of microseconds elapsed since January 1, 1970
fun get_millitime: Int

core :: Sys :: get_millitime

The number of milliseconds elapsed since January 1, 1970
fun get_time: Int

core :: Sys :: get_time

The number of seconds elapsed since January 1, 1970
fun getc: Char

core :: Sys :: getc

Read a character from the standard input (stdin).
fun getcwd: String

core :: Sys :: getcwd

Return the working (current) directory
fun gethostbyname(name: CString): NativeSocketHostent

core :: Sys :: gethostbyname

Get network host entry
fun gets: String

core :: Sys :: gets

Read a line from the standard input (stdin).
fun gid: Int

core :: Sys :: gid

Current real group id of this process
fun gid=(gid: Int): Bool

core :: Sys :: gid=

Set the current real group id of this process
fun gl: GLES

core :: Sys :: gl

Entry points to OpenGL ES 2.0 services
fun glActiveTexture(texture: GLTextureUnit)

core :: Sys :: glActiveTexture

Select server-side active texture unit
fun glAttachShader(program: GLProgram, shader: GLShader)

core :: Sys :: glAttachShader

Attach a shader to program
fun glBindBuffer(target: GLArrayBuffer, buffer: Int)

core :: Sys :: glBindBuffer

Bind the named buffer object
fun glBindFramebuffer(target: GLFramebufferTarget, framebuffer: Int)

core :: Sys :: glBindFramebuffer

Bind framebuffer to a framebuffer target
fun glBindRenderbuffer(target: GLRenderbufferTarget, renderbuffer: Int)

core :: Sys :: glBindRenderbuffer

Bind renderbuffer to a renderbuffer target
fun glBindTexture(target: GLTextureTarget, texture: Int)

core :: Sys :: glBindTexture

Bind the named texture to a target
fun glBlendFunc(src_factor: GLBlendFactor, dst_factor: GLBlendFactor)

core :: Sys :: glBlendFunc

Set the pixel arithmetic for the blending operations
fun glBufferData(target: GLArrayBuffer, size: Int, data: Pointer, usage: GLBufferUsage)

core :: Sys :: glBufferData

Create and initialize a buffer object's data store
fun glBufferSubData(target: GLArrayBuffer, offset: Int, size: Int, data: Pointer)

core :: Sys :: glBufferSubData

Update a subset of a buffer object's data store
fun glCheckFramebufferStatus(target: GLFramebufferTarget): GLFramebufferStatus

core :: Sys :: glCheckFramebufferStatus

Completeness status of a framebuffer object
fun glClear

core :: Sys :: glClear

fun glClear(buffer: GLBuffer)

core :: Sys :: glClear

Clear the buffer
fun glClearColor(red: Float, green: Float, blue: Float, alpha: Float)

core :: Sys :: glClearColor

Specify the clear values for the color buffer, default values are at 0.0
fun glClearDepthf(value: Float)

core :: Sys :: glClearDepthf

Specify the clear value for the depth buffer, default at 1.0
fun glClearStencil(value: Int)

core :: Sys :: glClearStencil

Specify the clear value for the stencil buffer, default at 0
fun glColorMask(red: Bool, green: Bool, blue: Bool, alpha: Bool)

core :: Sys :: glColorMask

Enable and disable writing of frame buffer color components
fun glCompileShader(shader: GLShader)

core :: Sys :: glCompileShader

Compile the shader object
fun glCopyTexImage2D(target: GLTextureTarget, level: Int, internalformat: GLPixelFormat, x: Int, y: Int, width: Int, height: Int, border: Int)

core :: Sys :: glCopyTexImage2D

Copy pixels into a 2D texture image
fun glCopyTexSubImage2D(target: GLTextureTarget, level: Int, xoffset: Int, yoffset: Int, x: Int, y: Int, width: Int, height: Int)

core :: Sys :: glCopyTexSubImage2D

Copy a two-dimensional texture subimage
fun glCreateProgram: GLProgram

core :: Sys :: glCreateProgram

Create a program object
fun glCreateShader(shader_type: GLShaderType): GLShader

core :: Sys :: glCreateShader

Create a shader object of the shader_type
fun glCullFace(mode: GLCullFaceMode)

core :: Sys :: glCullFace

Specify whether front- or back-facing polygons can be culled, default is back only
fun glDeleteBuffers(buffers: SequenceRead[Int])

core :: Sys :: glDeleteBuffers

Delete named buffer objects
fun glDeleteFramebuffers(framebuffers: SequenceRead[Int])

core :: Sys :: glDeleteFramebuffers

Delete named framebuffer objects
fun glDeleteProgram(program: GLProgram)

core :: Sys :: glDeleteProgram

Delete the program object
fun glDeleteRenderbuffers(renderbuffers: SequenceRead[Int])

core :: Sys :: glDeleteRenderbuffers

Delete named renderbuffer objects
fun glDeleteShader(shader: GLShader)

core :: Sys :: glDeleteShader

Delete the shader object
fun glDeleteTextures(textures: SequenceRead[Int])

core :: Sys :: glDeleteTextures

Delete named textures
fun glDepthFunc(func: GLDepthFunc)

core :: Sys :: glDepthFunc

Specify the value used for depth buffer comparisons
fun glDepthMask(value: Bool)

core :: Sys :: glDepthMask

Enable or disable writing into the depth buffer
fun glDepthRangef(near: Float, far: Float)

core :: Sys :: glDepthRangef

Specify mapping of depth values from normalized device coordinates to window coordinates
fun glDetachShader(program: GLProgram, shader: GLShader)

core :: Sys :: glDetachShader

Detach shader from program
fun glDisableVertexAttribArray(index: Int)

core :: Sys :: glDisableVertexAttribArray

Disable the generic vertex attribute array at index
fun glDrawArrays(mode: GLDrawMode, from: Int, count: Int)

core :: Sys :: glDrawArrays

Render primitives from array data
fun glDrawElements(mode: GLDrawMode, count: Int, typ: GLDataType, indices: Pointer)

core :: Sys :: glDrawElements

Render primitives from array data by their index listed in indices
fun glDrawElementsi(mode: GLDrawMode, count: Int, typ: GLDataType, offset: Int)

core :: Sys :: glDrawElementsi

Render primitives from array data, at offset in the element buffer
fun glEnable

core :: Sys :: glEnable

fun glEnableVertexAttribArray(index: Int)

core :: Sys :: glEnableVertexAttribArray

Enable the generic vertex attribute array at index
fun glFinish

core :: Sys :: glFinish

Block until all GL execution is complete
fun glFinish

core :: Sys :: glFinish

fun glFlush

core :: Sys :: glFlush

fun glFlush

core :: Sys :: glFlush

Force execution of GL commands in finite time
fun glFramebufferRenderbuffer(target: GLFramebufferTarget, attachment: GLAttachment, renderbuffertarget: GLRenderbufferTarget, renderbuffer: Int)

core :: Sys :: glFramebufferRenderbuffer

Attach a renderbuffer object to a framebuffer object
fun glFramebufferTexture2D(target: GLFramebufferTarget, attachment: GLAttachment, texture_target: GLTextureTarget, texture: Int, level: Int)

core :: Sys :: glFramebufferTexture2D

Attach a level of a texture object as a logical buffer to the currently bound framebuffer object
fun glFrontFace(mode: GLFrontFaceMode)

core :: Sys :: glFrontFace

Define front- and back-facing polygons, gc_CCW by default
fun glGenBuffers(n: Int): Array[Int]

core :: Sys :: glGenBuffers

Generate n buffer names
fun glGenFramebuffers(n: Int): Array[Int]

core :: Sys :: glGenFramebuffers

Generate n framebuffer object names
fun glGenRenderbuffers(n: Int): Array[Int]

core :: Sys :: glGenRenderbuffers

Generate n renderbuffer object names
fun glGenTextures(n: Int): Array[Int]

core :: Sys :: glGenTextures

Generate n texture names
fun glGenerateMipmap(target: GLTextureTarget)

core :: Sys :: glGenerateMipmap

Generate and fill set of mipmaps for the texture object target
fun glGetBooleanv(pname: GLGetParameterName, offset: Int): Bool

core :: Sys :: glGetBooleanv

Get the value of the parameter pname at offset
fun glGetError: GLError

core :: Sys :: glGetError

Error information
fun glGetFloatv(pname: GLGetParameterName, offset: Int): Float

core :: Sys :: glGetFloatv

Get the value of the parameter pname at offset
fun glGetIntegerv(pname: GLGetParameterName, offset: Int): Int

core :: Sys :: glGetIntegerv

Get the value of the parameter pname at offset
fun glGetProgramInfoLog(program: GLProgram): String

core :: Sys :: glGetProgramInfoLog

The information log for the program object
fun glGetProgramiv(program: GLProgram, pname: GLGetParameterName): Int

core :: Sys :: glGetProgramiv

Parameter value from a program object
fun glGetShaderInfoLog(shader: GLShader): String

core :: Sys :: glGetShaderInfoLog

The information log for the shader object
fun glGetShaderiv(shader: GLShader, pname: GLGetParameterName): Int

core :: Sys :: glGetShaderiv

Get a parameter value from a shader object
fun glGetString(name: GLEnum): String

core :: Sys :: glGetString

Return a string describing the current GL configuration
fun glHint(target: GLHintTarget, mode: GLHintMode)

core :: Sys :: glHint

Specify implementation specific hints
fun glHint

core :: Sys :: glHint

fun glIsBuffer(name: Int): Bool

core :: Sys :: glIsBuffer

Does name corresponds to a buffer object?
fun glIsFramebuffer(name: Int): Bool

core :: Sys :: glIsFramebuffer

Does name corresponds to a framebuffer object?
fun glIsProgram(name: GLProgram): Bool

core :: Sys :: glIsProgram

Does name corresponds to a program object?
fun glIsRenderbuffer(name: Int): Bool

core :: Sys :: glIsRenderbuffer

Does name corresponds to a renderbuffer object?
fun glIsShader(name: GLShader): Bool

core :: Sys :: glIsShader

Does name corresponds to a shader object?
fun glIsTexture(name: Int): Bool

core :: Sys :: glIsTexture

Does name corresponds to a texture?
fun glLineWidth(width: Float)

core :: Sys :: glLineWidth

Specify the width of rasterized lines
fun glLinkProgram(program: GLProgram)

core :: Sys :: glLinkProgram

Link the program object
fun glPixelStorei(parameter: GLPack, val: Int)

core :: Sys :: glPixelStorei

Set pixel storage modes
fun glPolygonOffset(factor: Float, units: Float)

core :: Sys :: glPolygonOffset

Set the scale and units used to calculate depth values
fun glReadPixels(x: Int, y: Int, width: Int, height: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glReadPixels

Copy a block of pixels from the framebuffer of fomat and typ at data
fun glRenderbufferStorage(target: GLRenderbufferTarget, format: GLRenderbufferFormat, width: Int, height: Int)

core :: Sys :: glRenderbufferStorage

Establish data storage, format and dimensions of the target renderbuffer object's image
fun glShaderSource(shader: GLShader, code: CString)

core :: Sys :: glShaderSource

Replace the source code in the shader object with code
fun glTexImage2D(target: GLTextureTarget, level: Int, internalformat: GLPixelFormat, width: Int, height: Int, border: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glTexImage2D

Specify a two-dimensional texture image
fun glTexParameteri(target: GLTextureTarget, pname: GLTexParameteriName, param: GLTexParameteri)

core :: Sys :: glTexParameteri

Set texture parameters
fun glTexSubImage2D(target: GLTextureTarget, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, border: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glTexSubImage2D

Specify a two-dimensional texture subimage
fun glUniform1f(index: Int, x: Float)

core :: Sys :: glUniform1f

Specify the value of a uniform variable for the current program object
fun glUniform1i(index: Int, x: Int)

core :: Sys :: glUniform1i

Specify the value of a uniform variable for the current program object
fun glUniform2f(index: Int, x: Float, y: Float)

core :: Sys :: glUniform2f

Specify the value of a uniform variable for the current program object
fun glUniform2i(index: Int, x: Int, y: Int)

core :: Sys :: glUniform2i

Specify the value of a uniform variable for the current program object
fun glUniform3f(index: Int, x: Float, y: Float, z: Float)

core :: Sys :: glUniform3f

Specify the value of a uniform variable for the current program object
fun glUniform3i(index: Int, x: Int, y: Int, z: Int)

core :: Sys :: glUniform3i

Specify the value of a uniform variable for the current program object
fun glUniform4f(index: Int, x: Float, y: Float, z: Float, w: Float)

core :: Sys :: glUniform4f

Specify the value of a uniform variable for the current program object
fun glUniform4i(index: Int, x: Int, y: Int, z: Int, w: Int)

core :: Sys :: glUniform4i

Specify the value of a uniform variable for the current program object
fun glUseProgram(program: GLProgram)

core :: Sys :: glUseProgram

Install the program as part of current rendering state
fun glValidateProgram(program: GLProgram)

core :: Sys :: glValidateProgram

Validate the program object
fun glVertexAttrib1f(index: Int, x: Float)

core :: Sys :: glVertexAttrib1f

Specify the value of a generic vertex attribute
fun glVertexAttrib2f(index: Int, x: Float, y: Float)

core :: Sys :: glVertexAttrib2f

Specify the value of a generic vertex attribute
fun glVertexAttrib3f(index: Int, x: Float, y: Float, z: Float)

core :: Sys :: glVertexAttrib3f

Specify the value of a generic vertex attribute
fun glVertexAttrib4f(index: Int, x: Float, y: Float, z: Float, w: Float)

core :: Sys :: glVertexAttrib4f

Specify the value of a generic vertex attribute
fun glVertexAttribPointer(index: Int, size: Int, typ: GLDataType, normalized: Bool, stride: Int, array: NativeGLfloatArray)

core :: Sys :: glVertexAttribPointer

Define an array of generic vertex attribute data
fun glVertexAttribPointeri(index: Int, size: Int, typ: GLDataType, normalized: Bool, stride: Int, offset: Int)

core :: Sys :: glVertexAttribPointeri

Define an array of generic vertex attribute data, at offset in the array buffer
fun glViewport(x: Int, y: Int, width: Int, height: Int)

core :: Sys :: glViewport

Set the viewport
fun gl_ALPHA: Int

core :: Sys :: gl_ALPHA

fun gl_ARRAY_BUFFER: GLArrayBuffer

core :: Sys :: gl_ARRAY_BUFFER

Array buffer target
fun gl_BACK: Int

core :: Sys :: gl_BACK

fun gl_BLEND: Int

core :: Sys :: gl_BLEND

fun gl_BOOL: Int

core :: Sys :: gl_BOOL

fun gl_BYTE: Int

core :: Sys :: gl_BYTE

fun gl_CCW: Int

core :: Sys :: gl_CCW

fun gl_COLOR_ATTACHMENT0: GLAttachment

core :: Sys :: gl_COLOR_ATTACHMENT0

First color attachment point
fun gl_CW: Int

core :: Sys :: gl_CW

fun gl_DECR: Int

core :: Sys :: gl_DECR

fun gl_DEPTH_ATTACHMENT: GLAttachment

core :: Sys :: gl_DEPTH_ATTACHMENT

Depth attachment point
fun gl_DONT_CARE: GLHintMode

core :: Sys :: gl_DONT_CARE

No preference
fun gl_DYNAMIC_DRAW: GLBufferUsage

core :: Sys :: gl_DYNAMIC_DRAW

Data will be modified repeatedly and used many times
fun gl_EQUAL: Int

core :: Sys :: gl_EQUAL

fun gl_EXTENSIONS: GLEnum

core :: Sys :: gl_EXTENSIONS

Space-separated list of supported extensions to GL
fun gl_FALSE: Int

core :: Sys :: gl_FALSE

fun gl_FASTEST: GLHintMode

core :: Sys :: gl_FASTEST

The most efficient option should be chosen
fun gl_FIXED: Int

core :: Sys :: gl_FIXED

fun gl_FLOAT: Int

core :: Sys :: gl_FLOAT

fun gl_FRAMEBUFFER: GLFramebufferTarget

core :: Sys :: gl_FRAMEBUFFER

Target both reading and writing on the framebuffer with glBindFramebuffer
fun gl_FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

Not all framebuffer attachment points are framebuffer attachment complete
fun gl_FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_INCOMPLETE_DIMENSIONS

Not all attached images have the same width and height
fun gl_FRAMEBUFFER_UNSUPPORTED: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_UNSUPPORTED

The combination of internal formats of the attached images violates an implementation-dependent set of restrictions
fun gl_FRONT: Int

core :: Sys :: gl_FRONT

fun gl_GENERATE_MIPMAP_HINT: GLHintTarget

core :: Sys :: gl_GENERATE_MIPMAP_HINT

Indicates the quality of filtering when generating mipmap images
fun gl_INCR: Int

core :: Sys :: gl_INCR

fun gl_INT: Int

core :: Sys :: gl_INT

fun gl_KEEP: Int

core :: Sys :: gl_KEEP

fun gl_LESS: Int

core :: Sys :: gl_LESS

fun gl_LINES: Int

core :: Sys :: gl_LINES

fun gl_NEVER: Int

core :: Sys :: gl_NEVER

fun gl_NICEST: GLHintMode

core :: Sys :: gl_NICEST

The most correct, or highest quality, option should be chosen
fun gl_NONE: Int

core :: Sys :: gl_NONE

fun gl_ONE: Int

core :: Sys :: gl_ONE

fun gl_PACK_ALIGNEMENT: GLPack

core :: Sys :: gl_PACK_ALIGNEMENT

Parameter to specify the alignment requirements for the start of each pixel row in memory
fun gl_RENDERBUFFER: GLRenderbufferTarget

core :: Sys :: gl_RENDERBUFFER

Target a renderbuffer with glBindRenderbuffer
fun gl_RENDERER: GLEnum

core :: Sys :: gl_RENDERER

Name of the renderer, typically specific to a particular configuration of the hardware platform
fun gl_RGB: Int

core :: Sys :: gl_RGB

fun gl_RGB565: GLRenderbufferFormat

core :: Sys :: gl_RGB565

5 red, 6 green, 5 blue bits format
fun gl_RGB5_A1: GLRenderbufferFormat

core :: Sys :: gl_RGB5_A1

5 red, 5 green, 5 blue, 1 alpha bits format
fun gl_RGBA: Int

core :: Sys :: gl_RGBA

fun gl_RGBA4: Int

core :: Sys :: gl_RGBA4

fun gl_RGBA4: GLRenderbufferFormat

core :: Sys :: gl_RGBA4

4 red, 4 green, 4 blue, 4 alpha bits format
fun gl_SHADING_LANGUAGE_VERSION: GLEnum

core :: Sys :: gl_SHADING_LANGUAGE_VERSION

Version or release number for the shading language of the form
fun gl_SHORT: Int

core :: Sys :: gl_SHORT

fun gl_STATIC_DRAW: GLBufferUsage

core :: Sys :: gl_STATIC_DRAW

Data will be modified once and used many times
fun gl_STREAM_DRAW: GLBufferUsage

core :: Sys :: gl_STREAM_DRAW

Data will be modified once and used a few times
fun gl_TEXTURE(offset: Int): GLTextureUnit

core :: Sys :: gl_TEXTURE

Texture unit at offset after gl_TEXTURE0
fun gl_TEXTURE_2D: GLTextureTarget

core :: Sys :: gl_TEXTURE_2D

Two-dimensional texture
fun gl_TRUE: Int

core :: Sys :: gl_TRUE

fun gl_UNPACK_ALIGNEMENT: GLPack

core :: Sys :: gl_UNPACK_ALIGNEMENT

Parameter to specify the alignment requirements for the start of each pixel row in memory
fun gl_VENDOR: GLEnum

core :: Sys :: gl_VENDOR

Company responsible for this GL implementation
fun gl_VERSION: GLEnum

core :: Sys :: gl_VERSION

Version or release number
fun gl_ZERO: Int

core :: Sys :: gl_ZERO

fun gt_coll: Int

core :: Sys :: gt_coll

Number of calls of HashCollection::node_at_idx that collided
protected fun gt_coll=(gt_coll: Int)

core :: Sys :: gt_coll=

Number of calls of HashCollection::node_at_idx that collided
fun gt_count: Int

core :: Sys :: gt_count

Number of calls of HashCollection::node_at_idx
protected fun gt_count=(gt_count: Int)

core :: Sys :: gt_count=

Number of calls of HashCollection::node_at_idx
fun gt_tot_cap: Int

core :: Sys :: gt_tot_cap

Total capacity of hash collections receiver HashCollection::node_at_idx
protected fun gt_tot_cap=(gt_tot_cap: Int)

core :: Sys :: gt_tot_cap=

Total capacity of hash collections receiver HashCollection::node_at_idx
fun gt_tot_coll: Int

core :: Sys :: gt_tot_coll

Total length of collisions on calls of HashCollection::node_at_idx that collided
protected fun gt_tot_coll=(gt_tot_coll: Int)

core :: Sys :: gt_tot_coll=

Total length of collisions on calls of HashCollection::node_at_idx that collided
fun gt_tot_length: Int

core :: Sys :: gt_tot_length

Total length of hash collections receiver of HashCollection::node_at_idx
protected fun gt_tot_length=(gt_tot_length: Int)

core :: Sys :: gt_tot_length=

Total length of hash collections receiver of HashCollection::node_at_idx
fun gtk_init

core :: Sys :: gtk_init

Initialize the GTK system
fun gtk_main

core :: Sys :: gtk_main

Hand over control to the GTK event loop
fun gtk_main_iteration: Bool

core :: Sys :: gtk_main_iteration

Run a single iteration of the main loop, block until an event is noticed
fun gtk_main_iteration_do(blocking: Bool): Bool

core :: Sys :: gtk_main_iteration_do

Run a single iteration of the main loop, only block until an event is noticed if blocking
fun gtk_main_quit

core :: Sys :: gtk_main_quit

Quit the GTK event loop and clean up the system
fun gtk_window_width_request: Int

core :: Sys :: gtk_window_width_request

Request width of the GTK window for an app.nit application
fun h_errno: HErrno

core :: Sys :: h_errno

Last error raised by gethostbyname
fun handshake_app_name: String

core :: Sys :: handshake_app_name

Unique name of the application to use in the handshake
fun handshake_app_version: String

core :: Sys :: handshake_app_version

Version of the communication protocol to use in the handshake
fun hello_world

core :: Sys :: hello_world

Print "Hello world!" to the log
fun host_re: Regex

core :: Sys :: host_re

protected fun host_re=(host_re: Regex)

core :: Sys :: host_re=

fun http_status_codes: HttpStatusCodes

core :: Sys :: http_status_codes

Get the default instance of HttpStatusCodes
fun id_int: IdFn[Int]

core :: Sys :: id_int

fun id_str: IdFn[String]

core :: Sys :: id_str

fun iface: String

core :: Sys :: iface

protected fun iface=(iface: String)

core :: Sys :: iface=

fun index_call: Counter[String]

core :: Sys :: index_call

Counts the number of call to index on a Text
protected fun index_call=(index_call: Counter[String])

core :: Sys :: index_call=

Counts the number of call to index on a Text
fun index_len: Counter[Int]

core :: Sys :: index_len

Distance between characters when looking for a character in a FlatString
protected fun index_len=(index_len: Counter[Int])

core :: Sys :: index_len=

Distance between characters when looking for a character in a FlatString
fun inf: Float

core :: Sys :: inf

Positive float infinite (IEEE 754)
fun info_level: Int

core :: Sys :: info_level

Info severity level
protected fun info_level=(info_level: Int)

core :: Sys :: info_level=

Info severity level
fun intent_action: Action

core :: Sys :: intent_action

Allows user to get values with enum-like syntax : intent_action.main
fun intent_category: Category

core :: Sys :: intent_category

Allows user to get values with enum-like syntax : intent_category.home
fun intent_flag: Flag

core :: Sys :: intent_flag

Allows user to get values with enum-like syntax : intent_flag.activity_brought_to_front
fun inv_n: Float

core :: Sys :: inv_n

protected fun inv_n=(inv_n: Float)

core :: Sys :: inv_n=

fun is_windows: Bool

core :: Sys :: is_windows

Is this program currently running in a Windows OS?
fun iso88591_codec: Codec

core :: Sys :: iso88591_codec

Returns the instance of a ISO8859-1 Codec
fun jni_env: JniEnv

core :: Sys :: jni_env

Current main JniEnv
fun jni_env=(jni_env: JniEnv)

core :: Sys :: jni_env=

Sets the current default JNI env (use with jvm=)
fun join_bytes(arr: Array[Bytes], sep: nullable BytePattern): Bytes

core :: Sys :: join_bytes

Joins an array of bytes arr separated by sep
fun jvm: JavaVM

core :: Sys :: jvm

Default Java Virtual Machine to use
fun jvm=(jvm: JavaVM)

core :: Sys :: jvm=

Sets the current default Java Virtual Machine (use with jni_env=)
fun keywords: Set[String]

core :: Sys :: keywords

Reserved keywords in the Nit language
protected fun keywords=(keywords: Set[String])

core :: Sys :: keywords=

Reserved keywords in the Nit language
fun last_byte_call: Int

core :: Sys :: last_byte_call

Calls to the last_byte property of a FlatString
protected fun last_byte_call=(last_byte_call: Int)

core :: Sys :: last_byte_call=

Calls to the last_byte property of a FlatString
fun last_mongoc_error: nullable BSONError

core :: Sys :: last_mongoc_error

Last error raised by monogdb::MongoClient.
protected fun last_mongoc_error=(last_mongoc_error: nullable BSONError)

core :: Sys :: last_mongoc_error=

Last error raised by monogdb::MongoClient.
fun last_mongoc_id: nullable BSONObjectId

core :: Sys :: last_mongoc_id

Last auto generated id if any.
fun last_mongoc_id=(last_mongoc_id: nullable BSONObjectId)

core :: Sys :: last_mongoc_id=

Last auto generated id if any.
fun length_cache_miss: Counter[String]

core :: Sys :: length_cache_miss

Counts the number of length calls that missed the cache
protected fun length_cache_miss=(length_cache_miss: Counter[String])

core :: Sys :: length_cache_miss=

Counts the number of length calls that missed the cache
fun length_calls: Counter[String]

core :: Sys :: length_calls

Counts the number of calls to property length
protected fun length_calls=(length_calls: Counter[String])

core :: Sys :: length_calls=

Counts the number of calls to property length
fun lfalse: LFalse

core :: Sys :: lfalse

The logical false variable.
fun line: String

core :: Sys :: line

The next line to process by the main program
protected fun line=(line: String)

core :: Sys :: line=

The next line to process by the main program
fun load_jclass(name: CString): JClass

core :: Sys :: load_jclass

Get a Java class by its name from the current jni_env
fun log_nitcorn_actions: Bool

core :: Sys :: log_nitcorn_actions

Should the actions be logged? This may log sensitive data.
fun ltrue: LTrue

core :: Sys :: ltrue

The logical true variable.
fun main

core :: Sys :: main

The main method of a program.
fun main_thread: MainThread

core :: Sys :: main_thread

Handle to the program's main thread
protected fun max_flips=(max_flips: Array[Int])

core :: Sys :: max_flips=

fun maxlen: Int

core :: Sys :: maxlen

Maxlen is the maximum length of a Leaf node
fun media_types: MediaTypes

core :: Sys :: media_types

MIME types list.
fun methods_in_object: Array[String]

core :: Sys :: methods_in_object

Top-level methods from the Object class
protected fun methods_in_object=(methods_in_object: Array[String])

core :: Sys :: methods_in_object=

Top-level methods from the Object class
fun methods_in_pointer: Array[String]

core :: Sys :: methods_in_pointer

Methods in the Pointer class
protected fun methods_in_pointer=(methods_in_pointer: Array[String])

core :: Sys :: methods_in_pointer=

Methods in the Pointer class
fun mix: Mix

core :: Sys :: mix

SDL2 mixer services
protected fun mix=(mix: Mix)

core :: Sys :: mix=

SDL2 mixer services
fun models: Set[ModelAsset]

core :: Sys :: models

All instantiated asset models
protected fun models=(models: Set[ModelAsset])

core :: Sys :: models=

All instantiated asset models
fun n: Int

core :: Sys :: n

fun n: Int

core :: Sys :: n

protected fun n=(n: Int)

core :: Sys :: n=

protected fun n=(n: Int)

core :: Sys :: n=

fun n_chunks: Int

core :: Sys :: n_chunks

protected fun n_chunks=(n_chunks: Int)

core :: Sys :: n_chunks=

fun n_tasks: Int

core :: Sys :: n_tasks

protected fun n_tasks=(n_tasks: Int)

core :: Sys :: n_tasks=

fun nan: Float

core :: Sys :: nan

Not a Number, representation of an undefined or unrepresentable float (IEEE 754).
fun nanosleep(sec: Int, nanosec: Int): Bool

core :: Sys :: nanosleep

Wait a specific number of second and nanoseconds
fun nb_actors: Int

core :: Sys :: nb_actors

numbers of actors to create the ring
protected fun nb_actors=(nb_actors: Int)

core :: Sys :: nb_actors=

protected fun nb_actors=(nb_actors: Int)

core :: Sys :: nb_actors=

numbers of actors to create the ring
fun nb_rounds: Int

core :: Sys :: nb_rounds

How many time do we iterate before deciding if the number
protected fun nb_rounds=(nb_rounds: Int)

core :: Sys :: nb_rounds=

How many time do we iterate before deciding if the number
protected fun nb_threads=(nb_threads: Int)

core :: Sys :: nb_threads=

fun new_int_arr(x: nullable Int): InitArrayFn[Int]

core :: Sys :: new_int_arr

fun nslog(text: NSString)

core :: Sys :: nslog

Print a custom string to the log
protected fun numbers=(numbers: Array[String])

core :: Sys :: numbers=

fun perfs: PerfMap

core :: Sys :: perfs

Main PerfMap available by default
protected fun perfs=(perfs: PerfMap)

core :: Sys :: perfs=

Main PerfMap available by default
fun perfs_print_period: Int

core :: Sys :: perfs_print_period

Number of actions executed before printing the perfs
fun pi: Float

core :: Sys :: pi

Approximate value of pi.
fun pid: Int

core :: Sys :: pid

The pid of the program
fun placeholder_model: LeafModel

core :: Sys :: placeholder_model

Blue cube of 1 unit on each side, acting as placeholder for models failing to load
protected fun placeholder_model=(placeholder_model: LeafModel)

core :: Sys :: placeholder_model=

Blue cube of 1 unit on each side, acting as placeholder for models failing to load
fun pld: Char

core :: Sys :: pld

Partial line forward (U+008B)
fun plu: Char

core :: Sys :: plu

Partial line backward (U+008C)
protected fun poll(streams: Sequence[FileStream]): nullable FileStream

core :: Sys :: poll

returns first available stream to read or write to
fun position_call: Counter[String]

core :: Sys :: position_call

Counter of the times bytepos is called on each type of receiver
protected fun position_call=(position_call: Counter[String])

core :: Sys :: position_call=

Counter of the times bytepos is called on each type of receiver
fun print(object: Object)

core :: Sys :: print

Print an object on the standard output (stdout) and add a newline.
fun print_colors(c1: Int, c2: Int)

core :: Sys :: print_colors

fun print_error(object: Object)

core :: Sys :: print_error

Print object on the error output (stderr or a log system)
fun print_lifecycle_events: Bool

core :: Sys :: print_lifecycle_events

Print Android lifecycle events to the log?
fun print_result(n: Int, res: Int, chk: Int)

core :: Sys :: print_result

fun print_stats

core :: Sys :: print_stats

Display statistics in standard output.
fun print_warning(object: Object)

core :: Sys :: print_warning

Print a warning
fun printn(objects: Object...)

core :: Sys :: printn

Print objects on the standard output (stdout).
fun program_args: Sequence[String]

core :: Sys :: program_args

The arguments of the program as given by the OS
fun program_name: String

core :: Sys :: program_name

The name of the program as given by the OS
fun prompt(prompt: Text, add_history: nullable Bool): nullable String

core :: Sys :: prompt

Display prompt in the console and wait for a response
fun prompt_add_history(line: String)

core :: Sys :: prompt_add_history

Add line to the shell history
fun re_closing_fence: Regex

core :: Sys :: re_closing_fence

Closing fence matching
protected fun re_closing_fence=(re_closing_fence: Regex)

core :: Sys :: re_closing_fence=

Closing fence matching
fun re_html_blocks: Array[Array[nullable Regex]]

core :: Sys :: re_html_blocks

HTML blocks patterns
protected fun re_html_blocks=(re_html_blocks: Array[Array[nullable Regex]])

core :: Sys :: re_html_blocks=

HTML blocks patterns
fun re_list_marker: Regex

core :: Sys :: re_list_marker

List marker matching
protected fun re_list_marker=(re_list_marker: Regex)

core :: Sys :: re_list_marker=

List marker matching
fun re_opening_fence: Regex

core :: Sys :: re_opening_fence

Opening fence matching
protected fun re_opening_fence=(re_opening_fence: Regex)

core :: Sys :: re_opening_fence=

Opening fence matching
fun re_thematic_break: Regex

core :: Sys :: re_thematic_break

Thematic break pattern
protected fun re_thematic_break=(re_thematic_break: Regex)

core :: Sys :: re_thematic_break=

Thematic break pattern
fun re_trailing_blank_lines: Regex

core :: Sys :: re_trailing_blank_lines

Blank lines matching
protected fun re_trailing_blank_lines=(re_trailing_blank_lines: Regex)

core :: Sys :: re_trailing_blank_lines=

Blank lines matching
fun readline(message: String, with_history: nullable Bool): nullable String

core :: Sys :: readline

Use the GNU Library readline function
fun red: Int

core :: Sys :: red

fun root_window: Window

core :: Sys :: root_window

Hook to create the first window shown to the user
fun run

core :: Sys :: run

The entry point for the execution of the whole program.
fun sdl: SDL

core :: Sys :: sdl

Access to the global methods of sdl2
protected fun sdl=(sdl: SDL)

core :: Sys :: sdl=

Access to the global methods of sdl2
fun sendmail_is_available: Bool

core :: Sys :: sendmail_is_available

Can we find the external program sendmail?
fun sessions: HashMap[String, Session]

core :: Sys :: sessions

Active sessions
protected fun sessions=(sessions: HashMap[String, Session])

core :: Sys :: sessions=

Active sessions
fun set_alarm(sec: Int)

core :: Sys :: set_alarm

Set alarm signal
fun set_emacs_mode

core :: Sys :: set_emacs_mode

Set emacs keybindings mode
fun set_vi_mode

core :: Sys :: set_vi_mode

Set emacs keybindings mode
fun show_hash_stats

core :: Sys :: show_hash_stats

Force the display of the current hash statistics
fun sigabrt: Int

core :: Sys :: sigabrt

This signal is sent to a process to tell it to abort, i. e. to terminate
fun sigalarm: Int

core :: Sys :: sigalarm

Alarm Clock signal
fun sigbus: Int

core :: Sys :: sigbus

This signal is sent to a process when it causes a bus error
fun sigchild: Int

core :: Sys :: sigchild

Sent to a process when a child process terminates or is interrupted
fun sigcont: Int

core :: Sys :: sigcont

Tell the operating system to continue (restart) a process previously paused by the SIGSTOP or SIGTSTP signal
fun sigfpe: Int

core :: Sys :: sigfpe

Issued if an illegal mathematical operation is attempted
fun sighup: Int

core :: Sys :: sighup

Hang up detected on controlling terminal or death of controlling process
fun sigill: Int

core :: Sys :: sigill

Issued if the user attempts to execute an illegal, malformed, unknown, or privileged instruction
fun sigint: Int

core :: Sys :: sigint

Issued if the user sends an interrupt signal
fun sigkill: Int

core :: Sys :: sigkill

If a process gets this signal it must quit immediately and will not perform any clean-up operations
fun sigpipe: Int

core :: Sys :: sigpipe

Sent to a process when it attempts to write to a pipe without a process connected to the other end
fun sigprof: Int

core :: Sys :: sigprof

Profiling timer expired
fun sigpwr: Int

core :: Sys :: sigpwr

Sent to a process when the system experiences a power failure
fun sigquit: Int

core :: Sys :: sigquit

Issued if the user sends a quit signal
fun sigsegv: Int

core :: Sys :: sigsegv

Sent to a process when it makes an invalid virtual memory reference, or segmentation fault
fun sigstop: Int

core :: Sys :: sigstop

Tell the operating system to stop a process
fun sigsys: Int

core :: Sys :: sigsys

Sent to a process when it passes a bad argument to a system call
fun sigterm: Int

core :: Sys :: sigterm

Software termination signal
fun sigtrap: Int

core :: Sys :: sigtrap

Issued when an exception occurs: a condition that a debugger has requested to be informed of
fun sigtstp: Int

core :: Sys :: sigtstp

Sent to a process by its terminal to request it to stop temporarily
fun sigurg: Int

core :: Sys :: sigurg

Sent to a process when a socket has urgent or out-of-band data available to read
fun sigusr1: Int

core :: Sys :: sigusr1

Sent to a process to indicate user-defined conditions
fun sigusr2: Int

core :: Sys :: sigusr2

Sent to a process to indicate user-defined conditions
fun sigvtalrm: Int

core :: Sys :: sigvtalrm

Virtual timer expired
fun sigwinch: Int

core :: Sys :: sigwinch

Sent to a process when its controlling terminal changes its window size
fun sigxcpu: Int

core :: Sys :: sigxcpu

Sent to a process when it has used the CPU for a duration that exceeds a user-settable value
fun sigxfsz: Int

core :: Sys :: sigxfsz

Sent to a process when it grows a file larger than the maximum allowed size
fun sounds: Array[PlayableAudio]

core :: Sys :: sounds

All instantiated sounds
protected fun sounds=(sounds: Array[PlayableAudio])

core :: Sys :: sounds=

All instantiated sounds
fun sqlite_open_error: Sqlite3Code

core :: Sys :: sqlite_open_error

Last error raised when calling Sqlite3::open
fun srand

core :: Sys :: srand

Reinitialize the pseudo-random generator used by the method rand and other.
fun srand_from(x: Int)

core :: Sys :: srand_from

Initialize the pseudo-random generator with the given seed.
fun st_coll: Int

core :: Sys :: st_coll

Number of calls of HashCollection::store that collided
protected fun st_coll=(st_coll: Int)

core :: Sys :: st_coll=

Number of calls of HashCollection::store that collided
fun st_count: Int

core :: Sys :: st_count

Number of calls of HashCollection::store
protected fun st_count=(st_count: Int)

core :: Sys :: st_count=

Number of calls of HashCollection::store
fun st_tot_cap: Int

core :: Sys :: st_tot_cap

Total capacity of hash collections receiver HashCollection::store
protected fun st_tot_cap=(st_tot_cap: Int)

core :: Sys :: st_tot_cap=

Total capacity of hash collections receiver HashCollection::store
fun st_tot_coll: Int

core :: Sys :: st_tot_coll

Total length of collisions on calls of HashCollection::store that collided
protected fun st_tot_coll=(st_tot_coll: Int)

core :: Sys :: st_tot_coll=

Total length of collisions on calls of HashCollection::store that collided
fun st_tot_length: Int

core :: Sys :: st_tot_length

Total length of hash collections receiver of HashCollection::store
protected fun st_tot_length=(st_tot_length: Int)

core :: Sys :: st_tot_length=

Total length of hash collections receiver of HashCollection::store
fun start_not_sticky: Int

core :: Sys :: start_not_sticky

The service may be stopped by the system and will not be restarted
fun start_redeliver_intent: Int

core :: Sys :: start_redeliver_intent

The service is explicitly started and stopped, it is restarted with the last intent if stopped by the system
fun start_sticky: Int

core :: Sys :: start_sticky

The service is explicitly started and stopped, it is restarted if stopped by the system
fun stderr: Writer

core :: Sys :: stderr

Standard output for errors
protected fun stderr=(stderr: Writer)

core :: Sys :: stderr=

Standard output for errors
fun stdin: PollableReader

core :: Sys :: stdin

Standard input
protected fun stdin=(stdin: PollableReader)

core :: Sys :: stdin=

Standard input
fun stdout: Writer

core :: Sys :: stdout

Standard output
protected fun stdout=(stdout: Writer)

core :: Sys :: stdout=

Standard output
fun str_byte_length: Counter[Int]

core :: Sys :: str_byte_length

Length (bytes) of the FlatString created by lib
protected fun str_byte_length=(str_byte_length: Counter[Int])

core :: Sys :: str_byte_length=

Length (bytes) of the FlatString created by lib
fun str_full_created: Int

core :: Sys :: str_full_created

Number of strings created with full length created
protected fun str_full_created=(str_full_created: Int)

core :: Sys :: str_full_created=

Number of strings created with full length created
fun suggest_garbage_collection

core :: Sys :: suggest_garbage_collection

The emscripten GC must be manually invoked, it will not act by itself
fun sum_fn: SumFn

core :: Sys :: sum_fn

fun system(command: Text): Int

core :: Sys :: system

Execute a shell command and return its error code
protected fun task_id=(task_id: AtomicInt)

core :: Sys :: task_id=

fun tcp_addr: String

core :: Sys :: tcp_addr

Config for test sockets
protected fun tcp_addr=(tcp_addr: String)

core :: Sys :: tcp_addr=

Config for test sockets
fun tcp_port: Int

core :: Sys :: tcp_port

protected fun tcp_port=(tcp_port: Int)

core :: Sys :: tcp_port=

fun test_cancel

core :: Sys :: test_cancel

Does not return if the running thread is to be cancelled
fun test_host: String

core :: Sys :: test_host

Use localhost for testing
protected fun test_host=(test_host: String)

core :: Sys :: test_host=

Use localhost for testing
fun test_port: Int

core :: Sys :: test_port

Return a new port for each instance
fun testing_id: Int

core :: Sys :: testing_id

Nitdoc testing ID
protected fun testing_id=(testing_id: Int)

core :: Sys :: testing_id=

fun textdomain(domain: String)

core :: Sys :: textdomain

Gettext textdomain, SEE gettext manual for further info
fun thread: Thread

core :: Sys :: thread

Returns the handle to the running Thread
fun triangulate(points: Array[Point[Float]]): Array[ConvexPolygon]

core :: Sys :: triangulate

Split a polygon into triangles
fun triangulate_recursive(points: Array[Point[Float]], results: Array[ConvexPolygon])

core :: Sys :: triangulate_recursive

Split a polygon into triangles using arrays in-place
fun turn_left(p1: Point[Float], p2: Point[Float], p3: Point[Float]): Bool

core :: Sys :: turn_left

Is the angle between [p1,p2] and [p2,p3] going left (counter clockwise) or right (clockwise) ?
fun uid: Int

core :: Sys :: uid

Current real user id of this process
fun uid=(uid: Int): Bool

core :: Sys :: uid=

Set the real current user id of this process
fun uniflatstr_allocations: Int

core :: Sys :: uniflatstr_allocations

Counts the number of allocations of UnicodeFlatString
protected fun uniflatstr_allocations=(uniflatstr_allocations: Int)

core :: Sys :: uniflatstr_allocations=

Counts the number of allocations of UnicodeFlatString
protected fun unix_socket_path=(unix_socket_path: String)

core :: Sys :: unix_socket_path=

fun unknown_level: Int

core :: Sys :: unknown_level

Unknown severity level
protected fun unknown_level=(unknown_level: Int)

core :: Sys :: unknown_level=

Unknown severity level
fun use_pthreads: Bool

core :: Sys :: use_pthreads

Use Pthreads locking and thread ID functions
fun use_windows_threads: Bool

core :: Sys :: use_windows_threads

Use Windows builtin locking and thread ID functions
fun utf8_codec: Codec

core :: Sys :: utf8_codec

Returns the instance of a UTF-8 Codec
fun warn_level: Int

core :: Sys :: warn_level

Warning severity level
protected fun warn_level=(warn_level: Int)

core :: Sys :: warn_level=

Warning severity level
fun work(n: Int, nb_colors: Int)

core :: Sys :: work

fun x_open_default_display: Pointer

core :: Sys :: x_open_default_display

Open the current display from the environment variables
fun x_open_display(name: String): Pointer

core :: Sys :: x_open_display

Open a specific display
fun xdg_basedir: XdgBasedir

core :: Sys :: xdg_basedir

Get an instance of XdgBasedir
fun xdg_basedir_spec: Float

core :: Sys :: xdg_basedir_spec

Version of XDG Base Directory specification implemented in this library.
fun yellow: Int

core :: Sys :: yellow

Redefined properties

redef type SELF: Sys

core $ Sys :: SELF

Type of this instance, automatically specialized in every class
redef fun bind_screen_framebuffer(fbo: Int)

gamnit :: gamnit_ios $ Sys :: bind_screen_framebuffer

Portable indirection to glBindFramebuffer(gl_FRAMEBUFFER, fbo)
redef fun bound_platform: String

linux :: linux $ Sys :: bound_platform

Platform bound at compilation (by importation or -m)
redef fun bound_platform: String

android :: platform $ Sys :: bound_platform

Platform bound at compilation (by importation or -m)
redef fun class_inheritance_metamodel: POSet[String]

json :: serialization_read $ Sys :: class_inheritance_metamodel

Class inheritance graph, implemented by the json package
redef fun create_default_jvm

android :: dalvik $ Sys :: create_default_jvm

We cannot create a JVM on Android
redef fun exit(i: Int)

array_debug :: array_debug $ Sys :: exit

Quit the program with a specific return code
redef fun exit(i: Int)

text_stat :: text_stat $ Sys :: exit

Quit the program with a specific return code
redef fun exit(i: Int)

hash_debug :: hash_debug $ Sys :: exit

Quit the program with a specific return code
redef fun force_console_colors: Bool

rubix :: rubix $ Sys :: force_console_colors

Force coloring terminal output, even if stdout is not a TTY?
redef fun force_garbage_collection

emscripten :: emscripten $ Sys :: force_garbage_collection

Initiate a garbage collection
redef init init

core :: environ $ Sys :: init

redef init init

core :: math $ Sys :: init

redef fun jni_env: JniEnv

android :: dalvik $ Sys :: jni_env

Current main JniEnv
redef fun jvm: JavaVM

android :: nit_activity $ Sys :: jvm

Default Java Virtual Machine to use
redef fun jvm: JavaVM

android :: native_app_glue $ Sys :: jvm

Default Java Virtual Machine to use
redef fun load_jclass(name: CString): JClass

android :: dalvik $ Sys :: load_jclass

Get a Java class by its name from the current jni_env
redef fun main

template :: tmpl_composer $ Sys :: main

The main method of a program.
redef fun main

gettext :: langannot $ Sys :: main

The main method of a program.
redef fun main

html :: html_page $ Sys :: main

The main method of a program.
redef fun main

libevent :: libevent_example $ Sys :: main

The main method of a program.
redef fun main

pthreads :: threaded_example $ Sys :: main

The main method of a program.
redef fun main

dot :: hello $ Sys :: main

The main method of a program.
redef fun main

dot :: clusters $ Sys :: main

The main method of a program.
redef fun main

xdg_basedir :: show_basedir $ Sys :: main

The main method of a program.
redef fun main

curl :: curl_http $ Sys :: main

The main method of a program.
redef fun main

dot :: undirected_clusters $ Sys :: main

The main method of a program.
redef fun main

libevent :: libevent_test $ Sys :: main

The main method of a program.
redef fun main

pthreads :: concurrent_array_and_barrier $ Sys :: main

The main method of a program.
redef fun main

socket :: socket_client $ Sys :: main

The main method of a program.
redef fun main

socket :: socket_server $ Sys :: main

The main method of a program.
redef fun main

socket :: socket_simple_server $ Sys :: main

The main method of a program.
redef fun main

cocoa :: hello_cocoa $ Sys :: main

The main method of a program.
redef fun main

cocoa :: cocoa_extern_types $ Sys :: main

The main method of a program.
redef fun main

cocoa :: cocoa_message_box $ Sys :: main

The main method of a program.
redef fun main

ai :: queens $ Sys :: main

The main method of a program.
redef fun main

privileges :: drop_privileges $ Sys :: main

The main method of a program.
redef fun main

pthreads :: jointask_example $ Sys :: main

The main method of a program.
redef fun main

pthreads :: threadpool_example $ Sys :: main

The main method of a program.
redef fun main

actors :: chameneosredux $ Sys :: main

The main method of a program.
redef fun main

actors :: fannkuchredux $ Sys :: main

The main method of a program.
redef fun main

actors :: mandelbrot $ Sys :: main

The main method of a program.
redef fun main

actors :: simple $ Sys :: main

The main method of a program.
redef fun main

actors :: thread_ring $ Sys :: main

The main method of a program.
redef fun main

bcm2835 :: input $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_mongodb $ Sys :: main

The main method of a program.
redef fun main

ai :: puzzle $ Sys :: main

The main method of a program.
redef fun main

ios :: app $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_angular $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: test_restful_annot $ Sys :: main

The main method of a program.
redef fun main

actors :: simple_simulation $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_html_error_handler $ Sys :: main

The main method of a program.
redef fun main

vsm :: example_vsm $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_templates $ Sys :: main

The main method of a program.
redef fun main

sdl2 :: minimal $ Sys :: main

The main method of a program.
redef fun main

markdown :: nitmd $ Sys :: main

The main method of a program.
redef fun main

serialization :: custom_serialization $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: restful_annot $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_advanced_logger $ Sys :: main

The main method of a program.
redef fun main

github :: loader $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_static_multiple $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_static_default $ Sys :: main

The main method of a program.
redef fun main

crapto :: repeating_key_xor_solve $ Sys :: main

The main method of a program.
redef fun main

glesv2 :: opengles2_hello_triangle $ Sys :: main

The main method of a program.
redef fun main

websocket :: websocket_server $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_static $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_session $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_router $ Sys :: main

The main method of a program.
redef fun main

dom :: checker $ Sys :: main

The main method of a program.
redef fun main

functional :: functional_gen $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_param_route $ Sys :: main

The main method of a program.
redef fun main

gamnit :: texture_atlas_parser $ Sys :: main

The main method of a program.
redef fun main

markdown2 :: nitmd $ Sys :: main

The main method of a program.
redef fun main

markdown2 :: commonmark_gen $ Sys :: main

The main method of a program.
redef fun main

curl :: curl_rest $ Sys :: main

The main method of a program.
redef fun main

mpi :: mpi_simple $ Sys :: main

The main method of a program.
redef fun main

msgpack :: msgpack_to_json $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_hello $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_simple_error_handler $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_glob_route $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_simple_logger $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: nitcorn_reverse_proxy $ Sys :: main

The main method of a program.
redef fun main

nlp :: nlp_index $ Sys :: main

The main method of a program.
redef fun main

nlp :: nlp_server $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: htcpcp_server $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: nitcorn_hello_world $ Sys :: main

The main method of a program.
redef fun main

android :: nit_activity $ Sys :: main

The main method of a program.
redef fun main

nitcorn :: simple_file_server $ Sys :: main

The main method of a program.
redef fun main

app :: app_base $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_post_handler $ Sys :: main

The main method of a program.
redef fun main

popcorn :: example_query_string $ Sys :: main

The main method of a program.
redef fun print(object: Object)

nitcorn :: log $ Sys :: print

Print an object on the standard output (stdout) and add a newline.
redef fun print(object: Object)

android :: log $ Sys :: print

Use Android logs to print
redef fun print(msg: Object)

ios :: ios $ Sys :: print

Print an object on the standard output (stdout) and add a newline.
redef fun print(object: Object)

pthreads :: pthreads $ Sys :: print

Print object and '\n' with the same system call
redef fun print(object: Object)

android :: http_request $ Sys :: print

Force linearization of print
redef fun print_error(object: Object)

nitcorn :: log $ Sys :: print_error

Print object on the error output (stderr or a log system)
redef fun print_error(msg: Object)

ios :: ios $ Sys :: print_error

Print object on the error output (stderr or a log system)
redef fun print_error(object: Object)

android :: log $ Sys :: print_error

Use Android logs to print errors
redef fun print_warning(object: Object)

android :: log $ Sys :: print_warning

Use Android logs to print warnings
redef fun prompt(prompt: Text, add_history: nullable Bool): nullable String

readline :: readline $ Sys :: prompt

Display prompt in the console and wait for a response
redef fun prompt_add_history(line: String)

readline :: readline $ Sys :: prompt_add_history

Add line to the shell history
redef fun root_window: Window

app :: ui_example $ Sys :: root_window

Hook to create the first window shown to the user
redef fun root_window: Window

app :: http_request_example $ Sys :: root_window

Hook to create the first window shown to the user
redef fun run

hash_debug :: hash_debug $ Sys :: run

The entry point for the execution of the whole program.
redef fun run

gettext :: gettext $ Sys :: run

The entry point for the execution of the whole program.
redef fun run

niti_runtime :: niti_runtime $ Sys :: run

The entry point for the execution of the whole program.
redef fun run

actors :: actors $ Sys :: run

The entry point for the execution of the whole program.
redef fun run

text_stat :: text_stat $ Sys :: run

The entry point for the execution of the whole program.
redef fun run

array_debug :: array_debug $ Sys :: run

The entry point for the execution of the whole program.
redef fun system(cmd: Text): Int

nitcorn :: test_restful_annot $ Sys :: system

Execute a shell command and return its error code
redef fun system(cmd: Text): Int

libevent :: libevent_test $ Sys :: system

Execute a shell command and return its error code

All properties

fun !=(other: nullable Object): Bool

core :: Object :: !=

Have self and other different values?
fun ==(other: nullable Object): Bool

core :: Object :: ==

Have self and other the same value?
type CLASS: Class[SELF]

core :: Object :: CLASS

The type of the class of self.
type SELF: Object

core :: Object :: SELF

Type of this instance, automatically specialized in every class
fun active_actors: SynchronizedCounter

core :: Sys :: active_actors

Number of active actors
protected fun active_actors=(active_actors: SynchronizedCounter)

core :: Sys :: active_actors=

Number of active actors
fun add_history(data: String)

core :: Sys :: add_history

Adds the data String to the history no matter what it contains
fun all_root_textures: TextureSet

core :: Sys :: all_root_textures

All declared root textures
protected fun all_root_textures=(all_root_textures: TextureSet)

core :: Sys :: all_root_textures=

All declared root textures
fun alpha_comparator: Comparator

core :: Sys :: alpha_comparator

Stateless comparator that naively use to_s to compare things.
fun android_r_layout_simple_list_item_1: Int

core :: Sys :: android_r_layout_simple_list_item_1

Java getter: android.R$layout.simple_list_item_1
fun android_r_layout_simple_list_item_2: Int

core :: Sys :: android_r_layout_simple_list_item_2

Java getter: android.R$layout.simple_list_item_2
fun android_r_layout_simple_list_item_activated_1: Int

core :: Sys :: android_r_layout_simple_list_item_activated_1

Java getter: android.R$layout.simple_list_item_activated_1
fun android_r_layout_simple_list_item_activated_2: Int

core :: Sys :: android_r_layout_simple_list_item_activated_2

Java getter: android.R$layout.simple_list_item_activated_2
fun android_r_layout_simple_list_item_checked: Int

core :: Sys :: android_r_layout_simple_list_item_checked

Java getter: android.R$layout.simple_list_item_checked
fun android_r_layout_simple_list_item_multiple_choice: Int

core :: Sys :: android_r_layout_simple_list_item_multiple_choice

Java getter: android.R$layout.simple_list_item_multiple_choice
fun android_r_layout_simple_list_item_single_choice: Int

core :: Sys :: android_r_layout_simple_list_item_single_choice

Java getter: android.R$layout.simple_list_item_single_choice
fun android_r_layout_simple_selectable_list_item: Int

core :: Sys :: android_r_layout_simple_selectable_list_item

Java getter: android.R$layout.simple_selectable_list_item
fun android_r_style_text_appearance_large: Int

core :: Sys :: android_r_style_text_appearance_large

Java getter: android.R$style.TextAppearance_Large
fun android_r_style_text_appearance_medium: Int

core :: Sys :: android_r_style_text_appearance_medium

Java getter: android.R$style.TextAppearance_Medium
fun android_r_style_text_appearance_small: Int

core :: Sys :: android_r_style_text_appearance_small

Java getter: android.R$style.TextAppearance_Small
fun android_view_key_event_keycode_back: Int

core :: Sys :: android_view_key_event_keycode_back

Java getter: android.view.KeyEvent.KEYCODE_BACK
fun android_widget_adapter_ignore_item_view_type: Int

core :: Sys :: android_widget_adapter_ignore_item_view_type

Java getter: android.widget.Adapter.IGNORE_ITEM_VIEW_TYPE
fun android_widget_adapter_no_selection: Int

core :: Sys :: android_widget_adapter_no_selection

Java getter: android.widget.Adapter.NO_SELECTION
fun app: App

core :: Sys :: app

The running App
fun args: Sequence[String]

core :: Sys :: args

The arguments of the program as given by the OS
fun arr_len: Counter[Int]

core :: Sys :: arr_len

Keeps the average length of an Array when calling to_s
protected fun arr_len=(arr_len: Counter[Int])

core :: Sys :: arr_len=

Keeps the average length of an Array when calling to_s
fun arr_s_len: Counter[Int]

core :: Sys :: arr_s_len

Tracks the average length of the Strings of an array when calling to_s
protected fun arr_s_len=(arr_s_len: Counter[Int])

core :: Sys :: arr_s_len=

Tracks the average length of the Strings of an array when calling to_s
fun asciiflatstr_allocations: Int

core :: Sys :: asciiflatstr_allocations

Counts the number of allocations of ASCIIFlatString
protected fun asciiflatstr_allocations=(asciiflatstr_allocations: Int)

core :: Sys :: asciiflatstr_allocations=

Counts the number of allocations of ASCIIFlatString
fun asset_textures_by_name: Map[String, TextureAsset]

core :: Sys :: asset_textures_by_name

Textures loaded from .mtl files for models
protected fun asset_textures_by_name=(asset_textures_by_name: Map[String, TextureAsset])

core :: Sys :: asset_textures_by_name=

Textures loaded from .mtl files for models
fun atan2(y: Float, x: Float): Float

core :: Sys :: atan2

Computes the arc tangent given y and x.
protected fun atomic=(atomic: AtomicInt)

core :: Sys :: atomic=

fun auto_hash_display: Bool

core :: Sys :: auto_hash_display

Activate the automatic call of show_hash_stats at the end of programs
fun auto_hash_display=(auto_hash_display: Bool)

core :: Sys :: auto_hash_display=

Activate the automatic call of show_hash_stats at the end of programs
fun avg_arr_len: Float

core :: Sys :: avg_arr_len

Compute the average array length.
fun avg_s_len: Float

core :: Sys :: avg_s_len

Compute the average string length.
fun bar(i: Int, s: String): Threadedbar

core :: Sys :: bar

Parameterized threaded method, same as foo, but with parameters
fun baz(i: Int, j: Int): Threadedbaz

core :: Sys :: baz

Parameterized threaded method with a return type
fun bev_event_connected: Int

core :: Sys :: bev_event_connected

connect operation finished.
fun bev_event_eof: Int

core :: Sys :: bev_event_eof

eof file reached
fun bev_event_error: Int

core :: Sys :: bev_event_error

unrecoverable error encountered
fun bev_event_reading: Int

core :: Sys :: bev_event_reading

error encountered while reading
fun bev_event_timeout: Int

core :: Sys :: bev_event_timeout

user-specified timeout reached
fun bev_event_writing: Int

core :: Sys :: bev_event_writing

error encountered while writing
fun bev_opt_close_on_free: Int

core :: Sys :: bev_opt_close_on_free

Close the underlying file descriptor/bufferevent/whatever when this bufferevent is freed.
fun bev_opt_defer_callbacks: Int

core :: Sys :: bev_opt_defer_callbacks

Run callbacks deferred in the event loop.
fun bev_opt_threadsafe: Int

core :: Sys :: bev_opt_threadsafe

If threading is enabled, protect the operations on this bufferevent with a lock.
fun bev_opt_unlock_callbacks: Int

core :: Sys :: bev_opt_unlock_callbacks

If set, callbacks are executed without locks being held on the bufferevent.
fun bind_screen_framebuffer(fbo: Int)

core :: Sys :: bind_screen_framebuffer

Portable indirection to glBindFramebuffer(gl_FRAMEBUFFER, fbo)
fun bindtextdomain(domain: String, dir: String)

core :: Sys :: bindtextdomain

Gettext bindtextdomain, SEE gettext manual for further info
fun blue: Int

core :: Sys :: blue

fun bound_platform: String

core :: Sys :: bound_platform

Platform bound at compilation (by importation or -m)
fun buffer_mode_full: Int

core :: Sys :: buffer_mode_full

Enumeration for buffer mode full (flushes when buffer is full)
fun buffer_mode_line: Int

core :: Sys :: buffer_mode_line

Enumeration for buffer mode line (flushes when a \n is encountered)
fun buffer_mode_none: Int

core :: Sys :: buffer_mode_none

Enumeration for buffer mode none (flushes ASAP when something is written)
fun byte_length_call: Counter[String]

core :: Sys :: byte_length_call

Counter of the times byte_length is called on FlatString
protected fun byte_length_call=(byte_length_call: Counter[String])

core :: Sys :: byte_length_call=

Counter of the times byte_length is called on FlatString
fun bytepos_call: Counter[String]

core :: Sys :: bytepos_call

Counter of the times bytepos is called on each type of receiver
protected fun bytepos_call=(bytepos_call: Counter[String])

core :: Sys :: bytepos_call=

Counter of the times bytepos is called on each type of receiver
fun check_error(loc: String)

core :: Sys :: check_error

Check for an error, then print and clear it
fun check_signals: Bool

core :: Sys :: check_signals

Check signals for safe operation
protected fun chk_sums=(chk_sums: Array[Int])

core :: Sys :: chk_sums=

fun chunk_sz: Int

core :: Sys :: chunk_sz

protected fun chunk_sz=(chunk_sz: Int)

core :: Sys :: chunk_sz=

fun cib: Array[Float]

core :: Sys :: cib

protected fun cib=(cib: Array[Float])

core :: Sys :: cib=

protected fun class_factory(name: String): CLASS

core :: Object :: class_factory

Implementation used by get_class to create the specific class.
abstract fun class_inheritance_metamodel: POSet[String]

core :: Sys :: class_inheritance_metamodel

Class inheritance graph, implemented by the json package
protected fun class_inheritance_metamodel=(class_inheritance_metamodel: POSet[String])

core :: Sys :: class_inheritance_metamodel=

fun class_name: String

core :: Object :: class_name

The class name of the object.
fun clear_hash_stats

core :: Sys :: clear_hash_stats

Reset the hash statistics to 0
fun clock_agent=(clock_agent: ClockAgent)

core :: Sys :: clock_agent=

fun colors: Array[String]

core :: Sys :: colors

protected fun colors=(colors: Array[String])

core :: Sys :: colors=

fun comm_world: Comm

core :: Sys :: comm_world

Shortcut to the world communicator (same as new Comm.world)
fun complements: Array[Array[Int]]

core :: Sys :: complements

Matrix for complementing colors
protected fun complements=(complements: Array[Array[Int]])

core :: Sys :: complements=

Matrix for complementing colors
fun concat_allocations: Int

core :: Sys :: concat_allocations

Counts the number of allocations of Concat
protected fun concat_allocations=(concat_allocations: Int)

core :: Sys :: concat_allocations=

Counts the number of allocations of Concat
fun concat_cache_miss: Int

core :: Sys :: concat_cache_miss

Count the number of times that an indexed access
protected fun concat_cache_miss=(concat_cache_miss: Int)

core :: Sys :: concat_cache_miss=

Count the number of times that an indexed access
fun convex_hull(points: Array[Point[Float]]): ConvexPolygon

core :: Sys :: convex_hull

Get the convex hull of the set of points
fun crb: Array[Float]

core :: Sys :: crb

protected fun crb=(crb: Array[Float])

core :: Sys :: crb=

protected fun create_default_jvm

core :: Sys :: create_default_jvm

Called by jvm and jni_env to instantiate a Java Virtual Machine.
fun data: Array[Array[Int]]

core :: Sys :: data

protected fun data=(data: Array[Array[Int]])

core :: Sys :: data=

fun debug_gamnit: Bool

core :: Sys :: debug_gamnit

Should Gamnit be more verbose?
fun debug_level: Int

core :: Sys :: debug_level

Debug severity level
protected fun debug_level=(debug_level: Int)

core :: Sys :: debug_level=

Debug severity level
fun default_comparator: DefaultComparator

core :: Sys :: default_comparator

Easy-to-use general stateless default comparator that uses <=> to compare things.
fun default_reverse_comparator: DefaultReverseComparator

core :: Sys :: default_reverse_comparator

Easy-to-use general stateless default reverse comparator.
fun discover_local_servers(timeout: nullable Float): Array[RemoteServerConfig]

core :: Sys :: discover_local_servers

Discover local servers responding on UDP discovery_port
fun discovery_port: Int

core :: Sys :: discovery_port

Server port listening for discovery requests
fun div(n: Int, d: Int): String

core :: Sys :: div

Helper function to display n/d and handle division by 0
fun egid: Int

core :: Sys :: egid

The effective group id of this process
fun egid=(gid: Int): Bool

core :: Sys :: egid=

Set the effective group id of this process
fun egl_default_display: Pointer

core :: Sys :: egl_default_display

Handle to the default display to use with EGL
fun en_count: Int

core :: Sys :: en_count

Number of calls of HashCollection::enlarge
protected fun en_count=(en_count: Int)

core :: Sys :: en_count=

Number of calls of HashCollection::enlarge
fun en_tot_cap: Int

core :: Sys :: en_tot_cap

Total capacity of hash collections receiver HashCollection::enlarge
protected fun en_tot_cap=(en_tot_cap: Int)

core :: Sys :: en_tot_cap=

Total capacity of hash collections receiver HashCollection::enlarge
fun en_tot_length: Int

core :: Sys :: en_tot_length

Total length of hash collections receiver of HashCollection::enlarge
protected fun en_tot_length=(en_tot_length: Int)

core :: Sys :: en_tot_length=

Total length of hash collections receiver of HashCollection::enlarge
fun enable_debug_mode

core :: Sys :: enable_debug_mode

Enable some relatively expensive debugging checks that would normally be turned off
fun english_freqs: HashMap[Char, Float]

core :: Sys :: english_freqs

English letter frequency map
protected fun english_freqs=(english_freqs: HashMap[Char, Float])

core :: Sys :: english_freqs=

English letter frequency map
fun errno: Int

core :: Sys :: errno

Number of the last error
fun error_level: Int

core :: Sys :: error_level

Error severity level
protected fun error_level=(error_level: Int)

core :: Sys :: error_level=

Error severity level
fun euid: Int

core :: Sys :: euid

The effective user id of this process
fun euid=(uid: Int): Bool

core :: Sys :: euid=

Set the effective user id of this process
fun ev_read: Int

core :: Sys :: ev_read

Read operation
fun ev_write: Int

core :: Sys :: ev_write

Write operation
fun evutil_socket_error: Int

core :: Sys :: evutil_socket_error

Global error code for the last socket operation on the calling thread
fun evutil_socket_error_to_string(error_code: Int): CString

core :: Sys :: evutil_socket_error_to_string

Convert an error code from evutil_socket_error to a string
intern fun exit(exit_value: Int)

core :: Sys :: exit

Quit the program with a specific return code
fun exit_thread(value: nullable Object)

core :: Sys :: exit_thread

Exit current thread and return value to caller of Thread::join
fun fact: Array[Int]

core :: Sys :: fact

protected fun fact=(fact: Array[Int])

core :: Sys :: fact=

fun fatal_level: Int

core :: Sys :: fatal_level

Fatal severity level
protected fun fatal_level=(fatal_level: Int)

core :: Sys :: fatal_level=

Fatal severity level
fun file_open(path: String): ForAbuser[FileReader]

core :: Sys :: file_open

Open and read a file through a for abuse.
fun first_byte_call: Int

core :: Sys :: first_byte_call

Calls to the first_byte property of a FlatString
protected fun first_byte_call=(first_byte_call: Int)

core :: Sys :: first_byte_call=

Calls to the first_byte property of a FlatString
fun flatbuf_allocations: Int

core :: Sys :: flatbuf_allocations

Counts the number of allocations of FlatBuffer
protected fun flatbuf_allocations=(flatbuf_allocations: Int)

core :: Sys :: flatbuf_allocations=

Counts the number of allocations of FlatBuffer
fun foo: Threadedfoo

core :: Sys :: foo

the is threaded annotation makes this method run on an other thread
fun force_console_colors: Bool

core :: Sys :: force_console_colors

Force coloring terminal output, even if stdout is not a TTY?
fun force_console_colors=(force_console_colors: Bool)

core :: Sys :: force_console_colors=

Force coloring terminal output, even if stdout is not a TTY?
intern fun force_garbage_collection

core :: Sys :: force_garbage_collection

Initiate a garbage collection
fun fun_to_s: Function[Object, String]

core :: Sys :: fun_to_s

Stateless singleton that reify to the to_s method.
fun gdk_threads_add_idle(task: Task): Int

core :: Sys :: gdk_threads_add_idle

Add a callback to execute whenever there are no higher priority events pending
fun gen_generics(nargs: Int): Array[String]

core :: Sys :: gen_generics

Generates of an array of formal type as strings.
fun generate_functypes(n: Int, writer: Writer)

core :: Sys :: generate_functypes

Writes all functional types
fun generate_token(length: nullable Int, force_rand: nullable Bool): String

core :: Sys :: generate_token

Generate a random token of length chars long
fun get_class: CLASS

core :: Object :: get_class

The meta-object representing the dynamic type of self.
fun get_github_oauth: String

core :: Sys :: get_github_oauth

Gets the Github token from git configuration
fun get_microtime: Int

core :: Sys :: get_microtime

The number of microseconds elapsed since January 1, 1970
fun get_millitime: Int

core :: Sys :: get_millitime

The number of milliseconds elapsed since January 1, 1970
fun get_time: Int

core :: Sys :: get_time

The number of seconds elapsed since January 1, 1970
fun getc: Char

core :: Sys :: getc

Read a character from the standard input (stdin).
fun getcwd: String

core :: Sys :: getcwd

Return the working (current) directory
fun gethostbyname(name: CString): NativeSocketHostent

core :: Sys :: gethostbyname

Get network host entry
fun gets: String

core :: Sys :: gets

Read a line from the standard input (stdin).
fun gid: Int

core :: Sys :: gid

Current real group id of this process
fun gid=(gid: Int): Bool

core :: Sys :: gid=

Set the current real group id of this process
fun gl: GLES

core :: Sys :: gl

Entry points to OpenGL ES 2.0 services
fun glActiveTexture(texture: GLTextureUnit)

core :: Sys :: glActiveTexture

Select server-side active texture unit
fun glAttachShader(program: GLProgram, shader: GLShader)

core :: Sys :: glAttachShader

Attach a shader to program
fun glBindBuffer(target: GLArrayBuffer, buffer: Int)

core :: Sys :: glBindBuffer

Bind the named buffer object
fun glBindFramebuffer(target: GLFramebufferTarget, framebuffer: Int)

core :: Sys :: glBindFramebuffer

Bind framebuffer to a framebuffer target
fun glBindRenderbuffer(target: GLRenderbufferTarget, renderbuffer: Int)

core :: Sys :: glBindRenderbuffer

Bind renderbuffer to a renderbuffer target
fun glBindTexture(target: GLTextureTarget, texture: Int)

core :: Sys :: glBindTexture

Bind the named texture to a target
fun glBlendFunc(src_factor: GLBlendFactor, dst_factor: GLBlendFactor)

core :: Sys :: glBlendFunc

Set the pixel arithmetic for the blending operations
fun glBufferData(target: GLArrayBuffer, size: Int, data: Pointer, usage: GLBufferUsage)

core :: Sys :: glBufferData

Create and initialize a buffer object's data store
fun glBufferSubData(target: GLArrayBuffer, offset: Int, size: Int, data: Pointer)

core :: Sys :: glBufferSubData

Update a subset of a buffer object's data store
fun glCheckFramebufferStatus(target: GLFramebufferTarget): GLFramebufferStatus

core :: Sys :: glCheckFramebufferStatus

Completeness status of a framebuffer object
fun glClear

core :: Sys :: glClear

fun glClear(buffer: GLBuffer)

core :: Sys :: glClear

Clear the buffer
fun glClearColor(red: Float, green: Float, blue: Float, alpha: Float)

core :: Sys :: glClearColor

Specify the clear values for the color buffer, default values are at 0.0
fun glClearDepthf(value: Float)

core :: Sys :: glClearDepthf

Specify the clear value for the depth buffer, default at 1.0
fun glClearStencil(value: Int)

core :: Sys :: glClearStencil

Specify the clear value for the stencil buffer, default at 0
fun glColorMask(red: Bool, green: Bool, blue: Bool, alpha: Bool)

core :: Sys :: glColorMask

Enable and disable writing of frame buffer color components
fun glCompileShader(shader: GLShader)

core :: Sys :: glCompileShader

Compile the shader object
fun glCopyTexImage2D(target: GLTextureTarget, level: Int, internalformat: GLPixelFormat, x: Int, y: Int, width: Int, height: Int, border: Int)

core :: Sys :: glCopyTexImage2D

Copy pixels into a 2D texture image
fun glCopyTexSubImage2D(target: GLTextureTarget, level: Int, xoffset: Int, yoffset: Int, x: Int, y: Int, width: Int, height: Int)

core :: Sys :: glCopyTexSubImage2D

Copy a two-dimensional texture subimage
fun glCreateProgram: GLProgram

core :: Sys :: glCreateProgram

Create a program object
fun glCreateShader(shader_type: GLShaderType): GLShader

core :: Sys :: glCreateShader

Create a shader object of the shader_type
fun glCullFace(mode: GLCullFaceMode)

core :: Sys :: glCullFace

Specify whether front- or back-facing polygons can be culled, default is back only
fun glDeleteBuffers(buffers: SequenceRead[Int])

core :: Sys :: glDeleteBuffers

Delete named buffer objects
fun glDeleteFramebuffers(framebuffers: SequenceRead[Int])

core :: Sys :: glDeleteFramebuffers

Delete named framebuffer objects
fun glDeleteProgram(program: GLProgram)

core :: Sys :: glDeleteProgram

Delete the program object
fun glDeleteRenderbuffers(renderbuffers: SequenceRead[Int])

core :: Sys :: glDeleteRenderbuffers

Delete named renderbuffer objects
fun glDeleteShader(shader: GLShader)

core :: Sys :: glDeleteShader

Delete the shader object
fun glDeleteTextures(textures: SequenceRead[Int])

core :: Sys :: glDeleteTextures

Delete named textures
fun glDepthFunc(func: GLDepthFunc)

core :: Sys :: glDepthFunc

Specify the value used for depth buffer comparisons
fun glDepthMask(value: Bool)

core :: Sys :: glDepthMask

Enable or disable writing into the depth buffer
fun glDepthRangef(near: Float, far: Float)

core :: Sys :: glDepthRangef

Specify mapping of depth values from normalized device coordinates to window coordinates
fun glDetachShader(program: GLProgram, shader: GLShader)

core :: Sys :: glDetachShader

Detach shader from program
fun glDisableVertexAttribArray(index: Int)

core :: Sys :: glDisableVertexAttribArray

Disable the generic vertex attribute array at index
fun glDrawArrays(mode: GLDrawMode, from: Int, count: Int)

core :: Sys :: glDrawArrays

Render primitives from array data
fun glDrawElements(mode: GLDrawMode, count: Int, typ: GLDataType, indices: Pointer)

core :: Sys :: glDrawElements

Render primitives from array data by their index listed in indices
fun glDrawElementsi(mode: GLDrawMode, count: Int, typ: GLDataType, offset: Int)

core :: Sys :: glDrawElementsi

Render primitives from array data, at offset in the element buffer
fun glEnable

core :: Sys :: glEnable

fun glEnableVertexAttribArray(index: Int)

core :: Sys :: glEnableVertexAttribArray

Enable the generic vertex attribute array at index
fun glFinish

core :: Sys :: glFinish

Block until all GL execution is complete
fun glFinish

core :: Sys :: glFinish

fun glFlush

core :: Sys :: glFlush

Force execution of GL commands in finite time
fun glFlush

core :: Sys :: glFlush

fun glFramebufferRenderbuffer(target: GLFramebufferTarget, attachment: GLAttachment, renderbuffertarget: GLRenderbufferTarget, renderbuffer: Int)

core :: Sys :: glFramebufferRenderbuffer

Attach a renderbuffer object to a framebuffer object
fun glFramebufferTexture2D(target: GLFramebufferTarget, attachment: GLAttachment, texture_target: GLTextureTarget, texture: Int, level: Int)

core :: Sys :: glFramebufferTexture2D

Attach a level of a texture object as a logical buffer to the currently bound framebuffer object
fun glFrontFace(mode: GLFrontFaceMode)

core :: Sys :: glFrontFace

Define front- and back-facing polygons, gc_CCW by default
fun glGenBuffers(n: Int): Array[Int]

core :: Sys :: glGenBuffers

Generate n buffer names
fun glGenFramebuffers(n: Int): Array[Int]

core :: Sys :: glGenFramebuffers

Generate n framebuffer object names
fun glGenRenderbuffers(n: Int): Array[Int]

core :: Sys :: glGenRenderbuffers

Generate n renderbuffer object names
fun glGenTextures(n: Int): Array[Int]

core :: Sys :: glGenTextures

Generate n texture names
fun glGenerateMipmap(target: GLTextureTarget)

core :: Sys :: glGenerateMipmap

Generate and fill set of mipmaps for the texture object target
fun glGetBooleanv(pname: GLGetParameterName, offset: Int): Bool

core :: Sys :: glGetBooleanv

Get the value of the parameter pname at offset
fun glGetError: GLError

core :: Sys :: glGetError

Error information
fun glGetFloatv(pname: GLGetParameterName, offset: Int): Float

core :: Sys :: glGetFloatv

Get the value of the parameter pname at offset
fun glGetIntegerv(pname: GLGetParameterName, offset: Int): Int

core :: Sys :: glGetIntegerv

Get the value of the parameter pname at offset
fun glGetProgramInfoLog(program: GLProgram): String

core :: Sys :: glGetProgramInfoLog

The information log for the program object
fun glGetProgramiv(program: GLProgram, pname: GLGetParameterName): Int

core :: Sys :: glGetProgramiv

Parameter value from a program object
fun glGetShaderInfoLog(shader: GLShader): String

core :: Sys :: glGetShaderInfoLog

The information log for the shader object
fun glGetShaderiv(shader: GLShader, pname: GLGetParameterName): Int

core :: Sys :: glGetShaderiv

Get a parameter value from a shader object
fun glGetString(name: GLEnum): String

core :: Sys :: glGetString

Return a string describing the current GL configuration
fun glHint(target: GLHintTarget, mode: GLHintMode)

core :: Sys :: glHint

Specify implementation specific hints
fun glHint

core :: Sys :: glHint

fun glIsBuffer(name: Int): Bool

core :: Sys :: glIsBuffer

Does name corresponds to a buffer object?
fun glIsFramebuffer(name: Int): Bool

core :: Sys :: glIsFramebuffer

Does name corresponds to a framebuffer object?
fun glIsProgram(name: GLProgram): Bool

core :: Sys :: glIsProgram

Does name corresponds to a program object?
fun glIsRenderbuffer(name: Int): Bool

core :: Sys :: glIsRenderbuffer

Does name corresponds to a renderbuffer object?
fun glIsShader(name: GLShader): Bool

core :: Sys :: glIsShader

Does name corresponds to a shader object?
fun glIsTexture(name: Int): Bool

core :: Sys :: glIsTexture

Does name corresponds to a texture?
fun glLineWidth(width: Float)

core :: Sys :: glLineWidth

Specify the width of rasterized lines
fun glLinkProgram(program: GLProgram)

core :: Sys :: glLinkProgram

Link the program object
fun glPixelStorei(parameter: GLPack, val: Int)

core :: Sys :: glPixelStorei

Set pixel storage modes
fun glPolygonOffset(factor: Float, units: Float)

core :: Sys :: glPolygonOffset

Set the scale and units used to calculate depth values
fun glReadPixels(x: Int, y: Int, width: Int, height: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glReadPixels

Copy a block of pixels from the framebuffer of fomat and typ at data
fun glRenderbufferStorage(target: GLRenderbufferTarget, format: GLRenderbufferFormat, width: Int, height: Int)

core :: Sys :: glRenderbufferStorage

Establish data storage, format and dimensions of the target renderbuffer object's image
fun glShaderSource(shader: GLShader, code: CString)

core :: Sys :: glShaderSource

Replace the source code in the shader object with code
fun glTexImage2D(target: GLTextureTarget, level: Int, internalformat: GLPixelFormat, width: Int, height: Int, border: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glTexImage2D

Specify a two-dimensional texture image
fun glTexParameteri(target: GLTextureTarget, pname: GLTexParameteriName, param: GLTexParameteri)

core :: Sys :: glTexParameteri

Set texture parameters
fun glTexSubImage2D(target: GLTextureTarget, level: Int, xoffset: Int, yoffset: Int, width: Int, height: Int, border: Int, format: GLPixelFormat, typ: GLDataType, data: Pointer)

core :: Sys :: glTexSubImage2D

Specify a two-dimensional texture subimage
fun glUniform1f(index: Int, x: Float)

core :: Sys :: glUniform1f

Specify the value of a uniform variable for the current program object
fun glUniform1i(index: Int, x: Int)

core :: Sys :: glUniform1i

Specify the value of a uniform variable for the current program object
fun glUniform2f(index: Int, x: Float, y: Float)

core :: Sys :: glUniform2f

Specify the value of a uniform variable for the current program object
fun glUniform2i(index: Int, x: Int, y: Int)

core :: Sys :: glUniform2i

Specify the value of a uniform variable for the current program object
fun glUniform3f(index: Int, x: Float, y: Float, z: Float)

core :: Sys :: glUniform3f

Specify the value of a uniform variable for the current program object
fun glUniform3i(index: Int, x: Int, y: Int, z: Int)

core :: Sys :: glUniform3i

Specify the value of a uniform variable for the current program object
fun glUniform4f(index: Int, x: Float, y: Float, z: Float, w: Float)

core :: Sys :: glUniform4f

Specify the value of a uniform variable for the current program object
fun glUniform4i(index: Int, x: Int, y: Int, z: Int, w: Int)

core :: Sys :: glUniform4i

Specify the value of a uniform variable for the current program object
fun glUseProgram(program: GLProgram)

core :: Sys :: glUseProgram

Install the program as part of current rendering state
fun glValidateProgram(program: GLProgram)

core :: Sys :: glValidateProgram

Validate the program object
fun glVertexAttrib1f(index: Int, x: Float)

core :: Sys :: glVertexAttrib1f

Specify the value of a generic vertex attribute
fun glVertexAttrib2f(index: Int, x: Float, y: Float)

core :: Sys :: glVertexAttrib2f

Specify the value of a generic vertex attribute
fun glVertexAttrib3f(index: Int, x: Float, y: Float, z: Float)

core :: Sys :: glVertexAttrib3f

Specify the value of a generic vertex attribute
fun glVertexAttrib4f(index: Int, x: Float, y: Float, z: Float, w: Float)

core :: Sys :: glVertexAttrib4f

Specify the value of a generic vertex attribute
fun glVertexAttribPointer(index: Int, size: Int, typ: GLDataType, normalized: Bool, stride: Int, array: NativeGLfloatArray)

core :: Sys :: glVertexAttribPointer

Define an array of generic vertex attribute data
fun glVertexAttribPointeri(index: Int, size: Int, typ: GLDataType, normalized: Bool, stride: Int, offset: Int)

core :: Sys :: glVertexAttribPointeri

Define an array of generic vertex attribute data, at offset in the array buffer
fun glViewport(x: Int, y: Int, width: Int, height: Int)

core :: Sys :: glViewport

Set the viewport
fun gl_ALPHA: Int

core :: Sys :: gl_ALPHA

fun gl_ARRAY_BUFFER: GLArrayBuffer

core :: Sys :: gl_ARRAY_BUFFER

Array buffer target
fun gl_BACK: Int

core :: Sys :: gl_BACK

fun gl_BLEND: Int

core :: Sys :: gl_BLEND

fun gl_BOOL: Int

core :: Sys :: gl_BOOL

fun gl_BYTE: Int

core :: Sys :: gl_BYTE

fun gl_CCW: Int

core :: Sys :: gl_CCW

fun gl_COLOR_ATTACHMENT0: GLAttachment

core :: Sys :: gl_COLOR_ATTACHMENT0

First color attachment point
fun gl_CW: Int

core :: Sys :: gl_CW

fun gl_DECR: Int

core :: Sys :: gl_DECR

fun gl_DEPTH_ATTACHMENT: GLAttachment

core :: Sys :: gl_DEPTH_ATTACHMENT

Depth attachment point
fun gl_DONT_CARE: GLHintMode

core :: Sys :: gl_DONT_CARE

No preference
fun gl_DYNAMIC_DRAW: GLBufferUsage

core :: Sys :: gl_DYNAMIC_DRAW

Data will be modified repeatedly and used many times
fun gl_EQUAL: Int

core :: Sys :: gl_EQUAL

fun gl_EXTENSIONS: GLEnum

core :: Sys :: gl_EXTENSIONS

Space-separated list of supported extensions to GL
fun gl_FALSE: Int

core :: Sys :: gl_FALSE

fun gl_FASTEST: GLHintMode

core :: Sys :: gl_FASTEST

The most efficient option should be chosen
fun gl_FIXED: Int

core :: Sys :: gl_FIXED

fun gl_FLOAT: Int

core :: Sys :: gl_FLOAT

fun gl_FRAMEBUFFER: GLFramebufferTarget

core :: Sys :: gl_FRAMEBUFFER

Target both reading and writing on the framebuffer with glBindFramebuffer
fun gl_FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

Not all framebuffer attachment points are framebuffer attachment complete
fun gl_FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_INCOMPLETE_DIMENSIONS

Not all attached images have the same width and height
fun gl_FRAMEBUFFER_UNSUPPORTED: GLFramebufferStatus

core :: Sys :: gl_FRAMEBUFFER_UNSUPPORTED

The combination of internal formats of the attached images violates an implementation-dependent set of restrictions
fun gl_FRONT: Int

core :: Sys :: gl_FRONT

fun gl_GENERATE_MIPMAP_HINT: GLHintTarget

core :: Sys :: gl_GENERATE_MIPMAP_HINT

Indicates the quality of filtering when generating mipmap images
fun gl_INCR: Int

core :: Sys :: gl_INCR

fun gl_INT: Int

core :: Sys :: gl_INT

fun gl_KEEP: Int

core :: Sys :: gl_KEEP

fun gl_LESS: Int

core :: Sys :: gl_LESS

fun gl_LINES: Int

core :: Sys :: gl_LINES

fun gl_NEVER: Int

core :: Sys :: gl_NEVER

fun gl_NICEST: GLHintMode

core :: Sys :: gl_NICEST

The most correct, or highest quality, option should be chosen
fun gl_NONE: Int

core :: Sys :: gl_NONE

fun gl_ONE: Int

core :: Sys :: gl_ONE

fun gl_PACK_ALIGNEMENT: GLPack

core :: Sys :: gl_PACK_ALIGNEMENT

Parameter to specify the alignment requirements for the start of each pixel row in memory
fun gl_RENDERBUFFER: GLRenderbufferTarget

core :: Sys :: gl_RENDERBUFFER

Target a renderbuffer with glBindRenderbuffer
fun gl_RENDERER: GLEnum

core :: Sys :: gl_RENDERER

Name of the renderer, typically specific to a particular configuration of the hardware platform
fun gl_RGB: Int

core :: Sys :: gl_RGB

fun gl_RGB565: GLRenderbufferFormat

core :: Sys :: gl_RGB565

5 red, 6 green, 5 blue bits format
fun gl_RGB5_A1: GLRenderbufferFormat

core :: Sys :: gl_RGB5_A1

5 red, 5 green, 5 blue, 1 alpha bits format
fun gl_RGBA: Int

core :: Sys :: gl_RGBA

fun gl_RGBA4: Int

core :: Sys :: gl_RGBA4

fun gl_RGBA4: GLRenderbufferFormat

core :: Sys :: gl_RGBA4

4 red, 4 green, 4 blue, 4 alpha bits format
fun gl_SHADING_LANGUAGE_VERSION: GLEnum

core :: Sys :: gl_SHADING_LANGUAGE_VERSION

Version or release number for the shading language of the form
fun gl_SHORT: Int

core :: Sys :: gl_SHORT

fun gl_STATIC_DRAW: GLBufferUsage

core :: Sys :: gl_STATIC_DRAW

Data will be modified once and used many times
fun gl_STREAM_DRAW: GLBufferUsage

core :: Sys :: gl_STREAM_DRAW

Data will be modified once and used a few times
fun gl_TEXTURE(offset: Int): GLTextureUnit

core :: Sys :: gl_TEXTURE

Texture unit at offset after gl_TEXTURE0
fun gl_TEXTURE_2D: GLTextureTarget

core :: Sys :: gl_TEXTURE_2D

Two-dimensional texture
fun gl_TRUE: Int

core :: Sys :: gl_TRUE

fun gl_UNPACK_ALIGNEMENT: GLPack

core :: Sys :: gl_UNPACK_ALIGNEMENT

Parameter to specify the alignment requirements for the start of each pixel row in memory
fun gl_VENDOR: GLEnum

core :: Sys :: gl_VENDOR

Company responsible for this GL implementation
fun gl_VERSION: GLEnum

core :: Sys :: gl_VERSION

Version or release number
fun gl_ZERO: Int

core :: Sys :: gl_ZERO

fun gt_coll: Int

core :: Sys :: gt_coll

Number of calls of HashCollection::node_at_idx that collided
protected fun gt_coll=(gt_coll: Int)

core :: Sys :: gt_coll=

Number of calls of HashCollection::node_at_idx that collided
fun gt_count: Int

core :: Sys :: gt_count

Number of calls of HashCollection::node_at_idx
protected fun gt_count=(gt_count: Int)

core :: Sys :: gt_count=

Number of calls of HashCollection::node_at_idx
fun gt_tot_cap: Int

core :: Sys :: gt_tot_cap

Total capacity of hash collections receiver HashCollection::node_at_idx
protected fun gt_tot_cap=(gt_tot_cap: Int)

core :: Sys :: gt_tot_cap=

Total capacity of hash collections receiver HashCollection::node_at_idx
fun gt_tot_coll: Int

core :: Sys :: gt_tot_coll

Total length of collisions on calls of HashCollection::node_at_idx that collided
protected fun gt_tot_coll=(gt_tot_coll: Int)

core :: Sys :: gt_tot_coll=

Total length of collisions on calls of HashCollection::node_at_idx that collided
fun gt_tot_length: Int

core :: Sys :: gt_tot_length

Total length of hash collections receiver of HashCollection::node_at_idx
protected fun gt_tot_length=(gt_tot_length: Int)

core :: Sys :: gt_tot_length=

Total length of hash collections receiver of HashCollection::node_at_idx
fun gtk_init

core :: Sys :: gtk_init

Initialize the GTK system
fun gtk_main

core :: Sys :: gtk_main

Hand over control to the GTK event loop
fun gtk_main_iteration: Bool

core :: Sys :: gtk_main_iteration

Run a single iteration of the main loop, block until an event is noticed
fun gtk_main_iteration_do(blocking: Bool): Bool

core :: Sys :: gtk_main_iteration_do

Run a single iteration of the main loop, only block until an event is noticed if blocking
fun gtk_main_quit

core :: Sys :: gtk_main_quit

Quit the GTK event loop and clean up the system
fun gtk_window_width_request: Int

core :: Sys :: gtk_window_width_request

Request width of the GTK window for an app.nit application
fun h_errno: HErrno

core :: Sys :: h_errno

Last error raised by gethostbyname
fun handshake_app_name: String

core :: Sys :: handshake_app_name

Unique name of the application to use in the handshake
fun handshake_app_version: String

core :: Sys :: handshake_app_version

Version of the communication protocol to use in the handshake
fun hash: Int

core :: Object :: hash

The hash code of the object.
fun hello_world

core :: Sys :: hello_world

Print "Hello world!" to the log
fun host_re: Regex

core :: Sys :: host_re

protected fun host_re=(host_re: Regex)

core :: Sys :: host_re=

fun http_status_codes: HttpStatusCodes

core :: Sys :: http_status_codes

Get the default instance of HttpStatusCodes
fun id_int: IdFn[Int]

core :: Sys :: id_int

fun id_str: IdFn[String]

core :: Sys :: id_str

fun iface: String

core :: Sys :: iface

protected fun iface=(iface: String)

core :: Sys :: iface=

fun index_call: Counter[String]

core :: Sys :: index_call

Counts the number of call to index on a Text
protected fun index_call=(index_call: Counter[String])

core :: Sys :: index_call=

Counts the number of call to index on a Text
fun index_len: Counter[Int]

core :: Sys :: index_len

Distance between characters when looking for a character in a FlatString
protected fun index_len=(index_len: Counter[Int])

core :: Sys :: index_len=

Distance between characters when looking for a character in a FlatString
fun inf: Float

core :: Sys :: inf

Positive float infinite (IEEE 754)
fun info_level: Int

core :: Sys :: info_level

Info severity level
protected fun info_level=(info_level: Int)

core :: Sys :: info_level=

Info severity level
init init

core :: Object :: init

fun inspect: String

core :: Object :: inspect

Developer readable representation of self.
protected fun inspect_head: String

core :: Object :: inspect_head

Return "CLASSNAME:#OBJECTID".
fun intent_action: Action

core :: Sys :: intent_action

Allows user to get values with enum-like syntax : intent_action.main
fun intent_category: Category

core :: Sys :: intent_category

Allows user to get values with enum-like syntax : intent_category.home
fun intent_flag: Flag

core :: Sys :: intent_flag

Allows user to get values with enum-like syntax : intent_flag.activity_brought_to_front
fun inv_n: Float

core :: Sys :: inv_n

protected fun inv_n=(inv_n: Float)

core :: Sys :: inv_n=

intern fun is_same_instance(other: nullable Object): Bool

core :: Object :: is_same_instance

Return true if self and other are the same instance (i.e. same identity).
fun is_same_serialized(other: nullable Object): Bool

core :: Object :: is_same_serialized

Is self the same as other in a serialization context?
intern fun is_same_type(other: Object): Bool

core :: Object :: is_same_type

Return true if self and other have the same dynamic type.
fun is_windows: Bool

core :: Sys :: is_windows

Is this program currently running in a Windows OS?
fun iso88591_codec: Codec

core :: Sys :: iso88591_codec

Returns the instance of a ISO8859-1 Codec
fun jni_env: JniEnv

core :: Sys :: jni_env

Current main JniEnv
fun jni_env=(jni_env: JniEnv)

core :: Sys :: jni_env=

Sets the current default JNI env (use with jvm=)
fun join_bytes(arr: Array[Bytes], sep: nullable BytePattern): Bytes

core :: Sys :: join_bytes

Joins an array of bytes arr separated by sep
fun jvm: JavaVM

core :: Sys :: jvm

Default Java Virtual Machine to use
fun jvm=(jvm: JavaVM)

core :: Sys :: jvm=

Sets the current default Java Virtual Machine (use with jni_env=)
fun keywords: Set[String]

core :: Sys :: keywords

Reserved keywords in the Nit language
protected fun keywords=(keywords: Set[String])

core :: Sys :: keywords=

Reserved keywords in the Nit language
fun last_byte_call: Int

core :: Sys :: last_byte_call

Calls to the last_byte property of a FlatString
protected fun last_byte_call=(last_byte_call: Int)

core :: Sys :: last_byte_call=

Calls to the last_byte property of a FlatString
fun last_mongoc_error: nullable BSONError

core :: Sys :: last_mongoc_error

Last error raised by monogdb::MongoClient.
protected fun last_mongoc_error=(last_mongoc_error: nullable BSONError)

core :: Sys :: last_mongoc_error=

Last error raised by monogdb::MongoClient.
fun last_mongoc_id: nullable BSONObjectId

core :: Sys :: last_mongoc_id

Last auto generated id if any.
fun last_mongoc_id=(last_mongoc_id: nullable BSONObjectId)

core :: Sys :: last_mongoc_id=

Last auto generated id if any.
fun length_cache_miss: Counter[String]

core :: Sys :: length_cache_miss

Counts the number of length calls that missed the cache
protected fun length_cache_miss=(length_cache_miss: Counter[String])

core :: Sys :: length_cache_miss=

Counts the number of length calls that missed the cache
fun length_calls: Counter[String]

core :: Sys :: length_calls

Counts the number of calls to property length
protected fun length_calls=(length_calls: Counter[String])

core :: Sys :: length_calls=

Counts the number of calls to property length
fun lfalse: LFalse

core :: Sys :: lfalse

The logical false variable.
fun line: String

core :: Sys :: line

The next line to process by the main program
protected fun line=(line: String)

core :: Sys :: line=

The next line to process by the main program
fun load_jclass(name: CString): JClass

core :: Sys :: load_jclass

Get a Java class by its name from the current jni_env
fun log_nitcorn_actions: Bool

core :: Sys :: log_nitcorn_actions

Should the actions be logged? This may log sensitive data.
fun ltrue: LTrue

core :: Sys :: ltrue

The logical true variable.
fun main

core :: Sys :: main

The main method of a program.
fun main_thread: MainThread

core :: Sys :: main_thread

Handle to the program's main thread
protected fun max_flips=(max_flips: Array[Int])

core :: Sys :: max_flips=

fun maxlen: Int

core :: Sys :: maxlen

Maxlen is the maximum length of a Leaf node
fun media_types: MediaTypes

core :: Sys :: media_types

MIME types list.
fun methods_in_object: Array[String]

core :: Sys :: methods_in_object

Top-level methods from the Object class
protected fun methods_in_object=(methods_in_object: Array[String])

core :: Sys :: methods_in_object=

Top-level methods from the Object class
fun methods_in_pointer: Array[String]

core :: Sys :: methods_in_pointer

Methods in the Pointer class
protected fun methods_in_pointer=(methods_in_pointer: Array[String])

core :: Sys :: methods_in_pointer=

Methods in the Pointer class
fun mix: Mix

core :: Sys :: mix

SDL2 mixer services
protected fun mix=(mix: Mix)

core :: Sys :: mix=

SDL2 mixer services
fun models: Set[ModelAsset]

core :: Sys :: models

All instantiated asset models
protected fun models=(models: Set[ModelAsset])

core :: Sys :: models=

All instantiated asset models
fun n: Int

core :: Sys :: n

fun n: Int

core :: Sys :: n

protected fun n=(n: Int)

core :: Sys :: n=

protected fun n=(n: Int)

core :: Sys :: n=

fun n_chunks: Int

core :: Sys :: n_chunks

protected fun n_chunks=(n_chunks: Int)

core :: Sys :: n_chunks=

fun n_tasks: Int

core :: Sys :: n_tasks

protected fun n_tasks=(n_tasks: Int)

core :: Sys :: n_tasks=

fun nan: Float

core :: Sys :: nan

Not a Number, representation of an undefined or unrepresentable float (IEEE 754).
fun nanosleep(sec: Int, nanosec: Int): Bool

core :: Sys :: nanosleep

Wait a specific number of second and nanoseconds
fun nb_actors: Int

core :: Sys :: nb_actors

numbers of actors to create the ring
protected fun nb_actors=(nb_actors: Int)

core :: Sys :: nb_actors=

protected fun nb_actors=(nb_actors: Int)

core :: Sys :: nb_actors=

numbers of actors to create the ring
fun nb_rounds: Int

core :: Sys :: nb_rounds

How many time do we iterate before deciding if the number
protected fun nb_rounds=(nb_rounds: Int)

core :: Sys :: nb_rounds=

How many time do we iterate before deciding if the number
protected fun nb_threads=(nb_threads: Int)

core :: Sys :: nb_threads=

fun new_int_arr(x: nullable Int): InitArrayFn[Int]

core :: Sys :: new_int_arr

fun nslog(text: NSString)

core :: Sys :: nslog

Print a custom string to the log
protected fun numbers=(numbers: Array[String])

core :: Sys :: numbers=

intern fun object_id: Int

core :: Object :: object_id

An internal hash code for the object based on its identity.
fun output

core :: Object :: output

Display self on stdout (debug only).
intern fun output_class_name

core :: Object :: output_class_name

Display class name on stdout (debug only).
fun perfs: PerfMap

core :: Sys :: perfs

Main PerfMap available by default
protected fun perfs=(perfs: PerfMap)

core :: Sys :: perfs=

Main PerfMap available by default
fun perfs_print_period: Int

core :: Sys :: perfs_print_period

Number of actions executed before printing the perfs
fun pi: Float

core :: Sys :: pi

Approximate value of pi.
fun pid: Int

core :: Sys :: pid

The pid of the program
fun placeholder_model: LeafModel

core :: Sys :: placeholder_model

Blue cube of 1 unit on each side, acting as placeholder for models failing to load
protected fun placeholder_model=(placeholder_model: LeafModel)

core :: Sys :: placeholder_model=

Blue cube of 1 unit on each side, acting as placeholder for models failing to load
fun pld: Char

core :: Sys :: pld

Partial line forward (U+008B)
fun plu: Char

core :: Sys :: plu

Partial line backward (U+008C)
protected fun poll(streams: Sequence[FileStream]): nullable FileStream

core :: Sys :: poll

returns first available stream to read or write to
fun position_call: Counter[String]

core :: Sys :: position_call

Counter of the times bytepos is called on each type of receiver
protected fun position_call=(position_call: Counter[String])

core :: Sys :: position_call=

Counter of the times bytepos is called on each type of receiver
fun print(object: Object)

core :: Sys :: print

Print an object on the standard output (stdout) and add a newline.
fun print_colors(c1: Int, c2: Int)

core :: Sys :: print_colors

fun print_error(object: Object)

core :: Sys :: print_error

Print object on the error output (stderr or a log system)
fun print_lifecycle_events: Bool

core :: Sys :: print_lifecycle_events

Print Android lifecycle events to the log?
fun print_result(n: Int, res: Int, chk: Int)

core :: Sys :: print_result

fun print_stats

core :: Sys :: print_stats

Display statistics in standard output.
fun print_warning(object: Object)

core :: Sys :: print_warning

Print a warning
fun printn(objects: Object...)

core :: Sys :: printn

Print objects on the standard output (stdout).
fun program_args: Sequence[String]

core :: Sys :: program_args

The arguments of the program as given by the OS
fun program_name: String

core :: Sys :: program_name

The name of the program as given by the OS
fun prompt(prompt: Text, add_history: nullable Bool): nullable String

core :: Sys :: prompt

Display prompt in the console and wait for a response
fun prompt_add_history(line: String)

core :: Sys :: prompt_add_history

Add line to the shell history
fun re_closing_fence: Regex

core :: Sys :: re_closing_fence

Closing fence matching
protected fun re_closing_fence=(re_closing_fence: Regex)

core :: Sys :: re_closing_fence=

Closing fence matching
fun re_html_blocks: Array[Array[nullable Regex]]

core :: Sys :: re_html_blocks

HTML blocks patterns
protected fun re_html_blocks=(re_html_blocks: Array[Array[nullable Regex]])

core :: Sys :: re_html_blocks=

HTML blocks patterns
fun re_list_marker: Regex

core :: Sys :: re_list_marker

List marker matching
protected fun re_list_marker=(re_list_marker: Regex)

core :: Sys :: re_list_marker=

List marker matching
fun re_opening_fence: Regex

core :: Sys :: re_opening_fence

Opening fence matching
protected fun re_opening_fence=(re_opening_fence: Regex)

core :: Sys :: re_opening_fence=

Opening fence matching
fun re_thematic_break: Regex

core :: Sys :: re_thematic_break

Thematic break pattern
protected fun re_thematic_break=(re_thematic_break: Regex)

core :: Sys :: re_thematic_break=

Thematic break pattern
fun re_trailing_blank_lines: Regex

core :: Sys :: re_trailing_blank_lines

Blank lines matching
protected fun re_trailing_blank_lines=(re_trailing_blank_lines: Regex)

core :: Sys :: re_trailing_blank_lines=

Blank lines matching
fun readline(message: String, with_history: nullable Bool): nullable String

core :: Sys :: readline

Use the GNU Library readline function
fun red: Int

core :: Sys :: red

fun root_window: Window

core :: Sys :: root_window

Hook to create the first window shown to the user
fun run

core :: Sys :: run

The entry point for the execution of the whole program.
fun sdl: SDL

core :: Sys :: sdl

Access to the global methods of sdl2
protected fun sdl=(sdl: SDL)

core :: Sys :: sdl=

Access to the global methods of sdl2
fun sendmail_is_available: Bool

core :: Sys :: sendmail_is_available

Can we find the external program sendmail?
fun serialization_hash: Int

core :: Object :: serialization_hash

Hash value use for serialization
fun sessions: HashMap[String, Session]

core :: Sys :: sessions

Active sessions
protected fun sessions=(sessions: HashMap[String, Session])

core :: Sys :: sessions=

Active sessions
fun set_alarm(sec: Int)

core :: Sys :: set_alarm

Set alarm signal
fun set_emacs_mode

core :: Sys :: set_emacs_mode

Set emacs keybindings mode
fun set_vi_mode

core :: Sys :: set_vi_mode

Set emacs keybindings mode
fun show_hash_stats

core :: Sys :: show_hash_stats

Force the display of the current hash statistics
fun sigabrt: Int

core :: Sys :: sigabrt

This signal is sent to a process to tell it to abort, i. e. to terminate
fun sigalarm: Int

core :: Sys :: sigalarm

Alarm Clock signal
fun sigbus: Int

core :: Sys :: sigbus

This signal is sent to a process when it causes a bus error
fun sigchild: Int

core :: Sys :: sigchild

Sent to a process when a child process terminates or is interrupted
fun sigcont: Int

core :: Sys :: sigcont

Tell the operating system to continue (restart) a process previously paused by the SIGSTOP or SIGTSTP signal
fun sigfpe: Int

core :: Sys :: sigfpe

Issued if an illegal mathematical operation is attempted
fun sighup: Int

core :: Sys :: sighup

Hang up detected on controlling terminal or death of controlling process
fun sigill: Int

core :: Sys :: sigill

Issued if the user attempts to execute an illegal, malformed, unknown, or privileged instruction
fun sigint: Int

core :: Sys :: sigint

Issued if the user sends an interrupt signal
fun sigkill: Int

core :: Sys :: sigkill

If a process gets this signal it must quit immediately and will not perform any clean-up operations
fun sigpipe: Int

core :: Sys :: sigpipe

Sent to a process when it attempts to write to a pipe without a process connected to the other end
fun sigprof: Int

core :: Sys :: sigprof

Profiling timer expired
fun sigpwr: Int

core :: Sys :: sigpwr

Sent to a process when the system experiences a power failure
fun sigquit: Int

core :: Sys :: sigquit

Issued if the user sends a quit signal
fun sigsegv: Int

core :: Sys :: sigsegv

Sent to a process when it makes an invalid virtual memory reference, or segmentation fault
fun sigstop: Int

core :: Sys :: sigstop

Tell the operating system to stop a process
fun sigsys: Int

core :: Sys :: sigsys

Sent to a process when it passes a bad argument to a system call
fun sigterm: Int

core :: Sys :: sigterm

Software termination signal
fun sigtrap: Int

core :: Sys :: sigtrap

Issued when an exception occurs: a condition that a debugger has requested to be informed of
fun sigtstp: Int

core :: Sys :: sigtstp

Sent to a process by its terminal to request it to stop temporarily
fun sigurg: Int

core :: Sys :: sigurg

Sent to a process when a socket has urgent or out-of-band data available to read
fun sigusr1: Int

core :: Sys :: sigusr1

Sent to a process to indicate user-defined conditions
fun sigusr2: Int

core :: Sys :: sigusr2

Sent to a process to indicate user-defined conditions
fun sigvtalrm: Int

core :: Sys :: sigvtalrm

Virtual timer expired
fun sigwinch: Int

core :: Sys :: sigwinch

Sent to a process when its controlling terminal changes its window size
fun sigxcpu: Int

core :: Sys :: sigxcpu

Sent to a process when it has used the CPU for a duration that exceeds a user-settable value
fun sigxfsz: Int

core :: Sys :: sigxfsz

Sent to a process when it grows a file larger than the maximum allowed size
fun sounds: Array[PlayableAudio]

core :: Sys :: sounds

All instantiated sounds
protected fun sounds=(sounds: Array[PlayableAudio])

core :: Sys :: sounds=

All instantiated sounds
fun sqlite_open_error: Sqlite3Code

core :: Sys :: sqlite_open_error

Last error raised when calling Sqlite3::open
fun srand

core :: Sys :: srand

Reinitialize the pseudo-random generator used by the method rand and other.
fun srand_from(x: Int)

core :: Sys :: srand_from

Initialize the pseudo-random generator with the given seed.
fun st_coll: Int

core :: Sys :: st_coll

Number of calls of HashCollection::store that collided
protected fun st_coll=(st_coll: Int)

core :: Sys :: st_coll=

Number of calls of HashCollection::store that collided
fun st_count: Int

core :: Sys :: st_count

Number of calls of HashCollection::store
protected fun st_count=(st_count: Int)

core :: Sys :: st_count=

Number of calls of HashCollection::store
fun st_tot_cap: Int

core :: Sys :: st_tot_cap

Total capacity of hash collections receiver HashCollection::store
protected fun st_tot_cap=(st_tot_cap: Int)

core :: Sys :: st_tot_cap=

Total capacity of hash collections receiver HashCollection::store
fun st_tot_coll: Int

core :: Sys :: st_tot_coll

Total length of collisions on calls of HashCollection::store that collided
protected fun st_tot_coll=(st_tot_coll: Int)

core :: Sys :: st_tot_coll=

Total length of collisions on calls of HashCollection::store that collided
fun st_tot_length: Int

core :: Sys :: st_tot_length

Total length of hash collections receiver of HashCollection::store
protected fun st_tot_length=(st_tot_length: Int)

core :: Sys :: st_tot_length=

Total length of hash collections receiver of HashCollection::store
fun start_not_sticky: Int

core :: Sys :: start_not_sticky

The service may be stopped by the system and will not be restarted
fun start_redeliver_intent: Int

core :: Sys :: start_redeliver_intent

The service is explicitly started and stopped, it is restarted with the last intent if stopped by the system
fun start_sticky: Int

core :: Sys :: start_sticky

The service is explicitly started and stopped, it is restarted if stopped by the system
fun stderr: Writer

core :: Sys :: stderr

Standard output for errors
protected fun stderr=(stderr: Writer)

core :: Sys :: stderr=

Standard output for errors
fun stdin: PollableReader

core :: Sys :: stdin

Standard input
protected fun stdin=(stdin: PollableReader)

core :: Sys :: stdin=

Standard input
fun stdout: Writer

core :: Sys :: stdout

Standard output
protected fun stdout=(stdout: Writer)

core :: Sys :: stdout=

Standard output
fun str_byte_length: Counter[Int]

core :: Sys :: str_byte_length

Length (bytes) of the FlatString created by lib
protected fun str_byte_length=(str_byte_length: Counter[Int])

core :: Sys :: str_byte_length=

Length (bytes) of the FlatString created by lib
fun str_full_created: Int

core :: Sys :: str_full_created

Number of strings created with full length created
protected fun str_full_created=(str_full_created: Int)

core :: Sys :: str_full_created=

Number of strings created with full length created
fun suggest_garbage_collection

core :: Sys :: suggest_garbage_collection

The emscripten GC must be manually invoked, it will not act by itself
fun sum_fn: SumFn

core :: Sys :: sum_fn

intern fun sys: Sys

core :: Object :: sys

Return the global sys object, the only instance of the Sys class.
fun system(command: Text): Int

core :: Sys :: system

Execute a shell command and return its error code
protected fun task_id=(task_id: AtomicInt)

core :: Sys :: task_id=

fun tcp_addr: String

core :: Sys :: tcp_addr

Config for test sockets
protected fun tcp_addr=(tcp_addr: String)

core :: Sys :: tcp_addr=

Config for test sockets
fun tcp_port: Int

core :: Sys :: tcp_port

protected fun tcp_port=(tcp_port: Int)

core :: Sys :: tcp_port=

fun test_cancel

core :: Sys :: test_cancel

Does not return if the running thread is to be cancelled
fun test_host: String

core :: Sys :: test_host

Use localhost for testing
protected fun test_host=(test_host: String)

core :: Sys :: test_host=

Use localhost for testing
fun test_port: Int

core :: Sys :: test_port

Return a new port for each instance
fun testing_id: Int

core :: Sys :: testing_id

Nitdoc testing ID
protected fun testing_id=(testing_id: Int)

core :: Sys :: testing_id=

fun textdomain(domain: String)

core :: Sys :: textdomain

Gettext textdomain, SEE gettext manual for further info
fun thread: Thread

core :: Sys :: thread

Returns the handle to the running Thread
abstract fun to_jvalue(env: JniEnv): JValue

core :: Object :: to_jvalue

fun to_s: String

core :: Object :: to_s

User readable representation of self.
fun triangulate(points: Array[Point[Float]]): Array[ConvexPolygon]

core :: Sys :: triangulate

Split a polygon into triangles
fun triangulate_recursive(points: Array[Point[Float]], results: Array[ConvexPolygon])

core :: Sys :: triangulate_recursive

Split a polygon into triangles using arrays in-place
fun turn_left(p1: Point[Float], p2: Point[Float], p3: Point[Float]): Bool

core :: Sys :: turn_left

Is the angle between [p1,p2] and [p2,p3] going left (counter clockwise) or right (clockwise) ?
fun uid: Int

core :: Sys :: uid

Current real user id of this process
fun uid=(uid: Int): Bool

core :: Sys :: uid=

Set the real current user id of this process
fun uniflatstr_allocations: Int

core :: Sys :: uniflatstr_allocations

Counts the number of allocations of UnicodeFlatString
protected fun uniflatstr_allocations=(uniflatstr_allocations: Int)

core :: Sys :: uniflatstr_allocations=

Counts the number of allocations of UnicodeFlatString
protected fun unix_socket_path=(unix_socket_path: String)

core :: Sys :: unix_socket_path=

fun unknown_level: Int

core :: Sys :: unknown_level

Unknown severity level
protected fun unknown_level=(unknown_level: Int)

core :: Sys :: unknown_level=

Unknown severity level
fun use_pthreads: Bool

core :: Sys :: use_pthreads

Use Pthreads locking and thread ID functions
fun use_windows_threads: Bool

core :: Sys :: use_windows_threads

Use Windows builtin locking and thread ID functions
fun utf8_codec: Codec

core :: Sys :: utf8_codec

Returns the instance of a UTF-8 Codec
fun warn_level: Int

core :: Sys :: warn_level

Warning severity level
protected fun warn_level=(warn_level: Int)

core :: Sys :: warn_level=

Warning severity level
fun work(n: Int, nb_colors: Int)

core :: Sys :: work

fun x_open_default_display: Pointer

core :: Sys :: x_open_default_display

Open the current display from the environment variables
fun x_open_display(name: String): Pointer

core :: Sys :: x_open_display

Open a specific display
fun xdg_basedir: XdgBasedir

core :: Sys :: xdg_basedir

Get an instance of XdgBasedir
fun xdg_basedir_spec: Float

core :: Sys :: xdg_basedir_spec

Version of XDG Base Directory specification implemented in this library.
fun yellow: Int

core :: Sys :: yellow

package_diagram core::Sys Sys core::Object Object core::Sys->core::Object

Parents

interface Object

core :: Object

The root of the class hierarchy.